Skip to main content
SSaya.1
Associate III
August 17, 2022
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
August 26, 2022

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
August 17, 2022

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
August 17, 2022

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
August 26, 2022

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
August 26, 2022

Thank you!