-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OOK data looks weired #7
Comments
Hi! Thanks for bringing this up. It does look strange.. Could I verify that the settings you used to capture those signals are as follows: SDRSharp, under the Recording pane
|
Thanks for the details - I've tried to replicate your transmission and the results are below: The first bit near At 868.25 MHz, the OOK pattern in your data appears to align with mine, indicating that the data and baud rate are also accurate. This indicates that your hardware is most likely perfectly healthy 😄 I believe the issue might be that the signal is too strong to your receiver as the amplitude on your recording (as displayed in Audacity) appears to be clipping the boundary. Maybe reducing the gain on your RTL-SDR or moving the devices further apart from each other will be of help. Unfortunately I am not sure about the serial port visibility issue, as CCManager uses the OS's port listing. |
Hi, Thanks a lot! Your gain hint solved the first issue! Now I can reproduce my actuall problem with mixed/wrong values. I send this for instance:
First of all I'm not sure if the only different pattern really is 0xFF (=11111111) as it looks to me like 0xCC (=11001100). (see red comment in my screenshot) Second, as one 0xAA (=10101010) equals four times on and off in rotation I expected after 0xFF 164 (= 41 * 4) on and 164 off in rotation. But after 0xFF (or 0xCC) I count 83 on and 83 off in rotation. Furthermore I count 32 at the beginning and another 3 before 0xFF (or 0xCC). Do you have a clue what's happening here? Compared to all this if I send a shorter sentence ilke this one:
|
Hey, Just an update: I've managed to replicate and confirm the issue but I haven't found a solution yet 🤔 |
Do you get the same wrong data or something different? I was not able to open your project and do some debugging on this as visual studio prompts an error for missing .NET 4.0 components which I can't find for download and should actually be already included in visual studio/win10. However I'm not very familiar with visual studio (with cc1101 even less), but in general i believe I understand your code more or less. So in your RF class you've the following function which I understood transfers the data to the CC1101 TXFIFO register. Does this already contain the mixed data or is it scrambled later within CC1101?
BTW: Are you transferring the non-inverted data? |
The wrong data is different: I've followed your configuration as in your screenshot and this is the result The inverted data It seems that either the CC1101 is unexpectedly messing up the data or the CC1101's registers are misconfigured. Either way it is quite a serious bug that has gone unnoticed for a long time (almost 4 years!). I plan to try different data sizes and registers to attempt to identify the issue at a later date as I am unfortunately occupied now. A (very hacky) workaround would probably be to further limit the transmission size. Thanks for trying to debug the issue too! If you are using VS, maybe selecting "Windows Forms" (different from UWP) development in the installer might add the missing dependencies. |
Would it make sense to post in TI board/forum? |
At this point of time I still have not found out enough about the issue, such as the transmission sizes that start triggering the bug. It might still be worth a shot - if you decide to do so, I believe the data in "View/Edit Registers" (which indicate the state of registers when transmitting) may assist in the diagnosis. Really appreciate how much time you have already spent looking through and improving CCManager ^_^ |
Hello,
First of all thanks a lot for what you've already done so far! However I have two issues which I hope you can help me at least with the current (second) one. I was able to run CCManager as expected. But I had some weired randomizations of myTX data. For example I sent
0xCC, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA
but in my received data the 0xCC, was clearly almost at the end of the transmission.
However right now I'm stuck with another issue. After I tried tranmitting some data via command line to see if the bits are there also mixed, all my transmission are now looking very weired. I tried already to reboot, reinstall firmware, connect, disconnet devices, but nothing solved the issue. The attached image show how
0xFF, 0x00, 0xFF, 0x00, 0xFF
looks like in my transmission recording. What could cause this? (Same on GUI and Command Line)
Here a closer look:
The text was updated successfully, but these errors were encountered: