cancel
Showing results for 
Search instead for 
Did you mean: 

RF communication not working on STM32WL55CCU6 based custom board

lucasord
Associate

I'm designing a custom board that's based on the STM32WL55CCU6 microcontroler. It's very simple and is required to transmit data continuously in vectors of 12 uint8_t elements, using the LoRa protocol configured to the standard values: 915MHz, CR 4/5 and 500kHz bandwidth. Prior to that I had tested some code in a pair of NUCLEO WL boards, which worked just as expected, so I based my circuit on the NUCLEO, simplified to remove unused features. A capture of the schematic is provided below.

The code used was based on an example by ST's package STM32Cube_FW_WL_V1.3.1, specifically the SubGHzPhy Ping Pong for STM32WL55JC. After making sure that the basic parts of the circuit were working right (stable supply, uart, etc.), I used the code below, adapted from the one I tested with the NUCLEOs, but after many attempts I still couldn't get it to work. The interrupts are never triggered, transmission and reception of data won't work even with the other device close to the board. What are the most likely causes? Are there any issues with the circuit or code adaptations other than pinout and basic logic? I would thank any advices.

 

1 REPLY 1
Filippo_Malleo
ST Employee

Hi lucasord,

 

in your main.c you implemented radioInit() but this function is never called. Can you double-check that?

BR,
Filippo