Skip to content
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

sync word issue #4

Open
yuechuan-maszen opened this issue Jan 17, 2024 · 0 comments
Open

sync word issue #4

yuechuan-maszen opened this issue Jan 17, 2024 · 0 comments

Comments

@yuechuan-maszen
Copy link

Hi there,
the sync word in the datasheet is described as "Set to 0x3444 for Public Network, Set to 0x1424 for Private Network". But in this driver implementation, it is setting 0x3X4X for Public Network, and setting 0x1X2X for Private Network, provided X is what already exist in the register address. For example, if I have 0x56 at LoRa Sync Word MSB and 0x78 at LoRa Sync Word LSB, and I pass 0x12 for sync_word to llcc68_set_lora_sync_word(), I will get 0x1628.
Although the reset value for LoRa Sync Word MSB is 0x14 and for LoRa Sync Word LSB it's 0x24; which means if I reset the device, then call llcc68_set_lora_sync_word(), I will always get the correct value. But it's still strange that the implementation is done this way.

Could you explain why llcc68_set_lora_sync_word() is implemented this way? Thanks a lot.

Best Regards,
Yuechuan Yang

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant