Skip to main content
SSaya.1
Associate III
Aug 17, 2022 4:16 AM UTC
Solved

Query regarding the lora bandwidth enumeration in radio_driver.h library .

I looked into the radio_driver.h library, Radiolorabandwidths enum there is enumeration of lora bandwidths but the value assigned seems to be random with respect to RM0453 document on Bandwidth on lora. Is the library is correct or need modification?0693W00000QNrBbQAL.png0693W00000QNrBRQA1.png

This topic has been closed for replies.
Louis AUDOLY
Louis AUDOLYBest answer
ST Employee
Aug 26, 2022 1:06 PM UTC

Hello,

You have to use the index of the bandwidth as it is describe in the code. There is a mistake in the Reference Manual regarding this information.

Thank you for pointing this out.

Best regards

Louis

4 replies

Tesla DeLorean
Guru
Aug 17, 2022 4:56 AM UTC

Check how it is actually used, there's no requirement that these enumeration get written to the register. ​

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
SSaya.1
SSaya.1Author
Associate III
Aug 17, 2022 7:01 AM UTC

for example: in library 500KHz = 6 which is provided by the stm32cubewl but in document 500KHz = 9 , so i was confused which one is right value to use

Louis AUDOLY
Louis AUDOLYBest answer
ST Employee
Aug 26, 2022 1:06 PM UTC

Hello,

You have to use the index of the bandwidth as it is describe in the code. There is a mistake in the Reference Manual regarding this information.

Thank you for pointing this out.

Best regards

Louis

SSaya.1
SSaya.1Author
Associate III
Aug 26, 2022 6:18 PM UTC

Thank you!