AnsweredAssumed Answered

STM32F107 SPI3 Failure at Random Times

Question asked by Matt Koshman on Mar 27, 2018
Latest reply on Mar 27, 2018 by waclawek.jan

I have the following microcontroller:

MIKROE-1103 MikroElektronika | Development Boards, Kits, Programmers | DigiKey 

 

That interfaces with this radio module:

3072 Adafruit Industries LLC | RF/IF and RFID | DigiKey 

 

I am using this micro with SPI3 with the following configuration:

 

The micro communicates to the device normally for a while but after some time the peripheral just dies. You can see it trying to transmit, as the CS is raised and lowered, but there is no MISO, MOSI, and CLK working:

The above image is collected after the SPI failure. Channel 6 is the CS, 7 is CLK, and 4 & 5 are MOSI & MISO.

 

The peripheral settings remain the same, the clocks remain the same, but the SPI simply stops working. With this module we don't have the option to use SPI 1 or 2. I don't know what to check anymore. We have tried disabling and re-enabling the clocks and then the SPI manually but this still does not fix the issue. It works every time we rest but only for a bit.

 

We are using Cube V4.25 and Keil V5.23. 

Outcomes