cancel
Showing results for 
Search instead for 
Did you mean: 

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

SSaya.1
Associate II

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

1 ACCEPTED SOLUTION

Accepted Solutions
Louis AUDOLY
ST Employee

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

View solution in original post

4 REPLIES 4

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
Up vote any posts that you find helpful, it shows what's working..

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
ST Employee

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

Thank you!