2022-12-31 01:03 PM
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.
And this is what I see with identical firmware on the working board after MX_SUBGHZ_Init():
All 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
2024-10-14 10:51 PM
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?
2024-10-15 01:04 AM
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.