cancel
Showing results for 
Search instead for 
Did you mean: 

Having issues enabling the SubGhzSPI on STM32WLE5JC

Kurt28
Associate

I have five identical development boards that I am attempting to bring up. One of the boards works without issues. The other four all fail during MX_LoRaWAN_Init(), After digging a little deeper I found that the SubGhzSPI peripheral is never getting enabled.

For non-working boards:

After calling MX_SUBGHZ_Init() all of SPI3/SubGhzSPI registers show 0x0 and I unable to change the values by writing to them.

0693W00000Y7A7qQAF.pngAnd this is what I see with identical firmware on the working board after MX_SUBGHZ_Init():

0693W00000Y7A7vQAF.pngAll of the other peripherals seem to be working correctly (I2C, ADC, SPI) but I cannot configure or enabled the SubGhzSPI (SPI3). I noticed the SubGhz SPI is the only peripheral on APB3. Is there any way to reset, reconfigure or test APB3?

Note: I am using the Seeed Wio-E5 STM32WLE5JC

11 REPLIES 11

Hello when I am trying to change the bit in stm32 programmer. the bit is resetting to 0. Any way i can set it or am i missing something?

 

Did you see all the comments about needing to power-cycle after writing certain option bytes?

Until this happens, you will just read back the old (shadow) value.