Skip to main content
Graduate
March 28, 2025
Question

SPI2 not working on STM32F746BG

  • March 28, 2025
  • 1 reply
  • 322 views

I am experiencing an issue with SPI communication on the STM32F746BG microcontroller:

  • Current Setup:
    • SPI2 connected to ADC
    • SPI6 connected to Ethernet
  • Current Behavior:
    • When testing SPI2 (ADC) alone: Works properly
    • When testing SPI6 (Ethernet) alone: Works properly
    • When using both SPI2 and SPI6 together: SPI2 stops responding
    • When replacing SPI2 with SPI4: Both SPI4 and SPI6 work together properly

Question: Why does SPI2 stop responding when used simultaneously with SPI6, while SPI4 works fine in the same configuration?"

    This topic has been closed for replies.

    1 reply

    Super User
    March 28, 2025

    Probably a bug in the code. Perhaps interrupts are overloading the system, or DMA is out of bandwidth, or some other issue.