Skip to main content
SG.4
Associate III
July 12, 2021
Solved

Lora RN2903a with STM32F745 .. when transmitted system commands the uart receive is shown below .set the baud to 57600 bps and DMA in circular for half word .

  • July 12, 2021
  • 4 replies
  • 1861 views

There is something missing upon receiving junk .How do we keep the count of how much response will be received in advance ? should any flags be set to check whether the response received is correct and clear upon not receiving proper response , bit confused . please help

Thanks in advance.

This topic has been closed for replies.
Best answer by Walid ZRELLI

Hello @Community member​ ,

The chain of characters looks like an ASCIIZ string. You can ignore all the rest after the 0 character (\0).

Just using the UART won't let you know in advance the data size to be expected (OSI layer 1 protocol). The protocol over the UART (OSI layer 2 protocol, like HDLC for example) should provide the data size if necessary. Please check the LoRaWAN module's documentation for more information about the subject.

Otherwise, I recommend you to use the flow control. Take a look at this reference : https://en.wikipedia.org/wiki/Flow_control_(data)#Hardware_flow_control

To use it, you need to configure your module and enable the CTS and RTS pins.

As well, we provide some LoRaWAN applications under our WL Firmware Package.

These applications are provided under ( Path : STM32Cube_FW_WL_V1.0.0\Projects\NUCLEO-WL55JC\Applications\LoRaWAN )

I hope this help you.

BeST Regards,

Walid

4 replies

SG.4
SG.4Author
Associate III
July 12, 2021

Hi @Walid ZRELLI​ ,

Could you please check up with other LORAWAN and Lora testing with the stm32f745 that I ve put.?

If you know any could you please help ?

What could be the issue?

thanks in advance.

Walid ZRELLI
Walid ZRELLIBest answer
Visitor II
July 12, 2021

Hello @Community member​ ,

The chain of characters looks like an ASCIIZ string. You can ignore all the rest after the 0 character (\0).

Just using the UART won't let you know in advance the data size to be expected (OSI layer 1 protocol). The protocol over the UART (OSI layer 2 protocol, like HDLC for example) should provide the data size if necessary. Please check the LoRaWAN module's documentation for more information about the subject.

Otherwise, I recommend you to use the flow control. Take a look at this reference : https://en.wikipedia.org/wiki/Flow_control_(data)#Hardware_flow_control

To use it, you need to configure your module and enable the CTS and RTS pins.

As well, we provide some LoRaWAN applications under our WL Firmware Package.

These applications are provided under ( Path : STM32Cube_FW_WL_V1.0.0\Projects\NUCLEO-WL55JC\Applications\LoRaWAN )

I hope this help you.

BeST Regards,

Walid

SG.4
SG.4Author
Associate III
July 12, 2021

Hi @Walid ZRELLI​ ,

Well thank you for your help so much.

Thanks alot.

Good day..!! :)

Kind Regards

--

Shweta

Walid ZRELLI
Visitor II
July 12, 2021

You are welcome any time :smiling_face_with_smiling_eyes: