SPI Or UART On STM32H7S78-DK
I have an STM32H7S78-DK and I have used TouchGFX to create a GUI just fine. I am currently trying to use the fanout or the Arduino headers to communicate through SPI or UART to another board. The first thing I tried was using the SPI through the fanout board as it's soldered for the SPI4 by default with the fanout board. I used the female headers on the fanout board that corresponded with MOSI, MISO, etc for the SPI. I configured SPI4 in STMCubeMX and generated the code in STMCubeIDE. I just tried to send an array with Hello in the array in the form of hex values. However, I saw nothing coming out of the pins when I hooked it up to a logic analyzer. I then thought maybe I was using the wrong header and soldered some male pins next to the female pins which said CN12 which corresponded to what it said in the fanout boards documentation. I thought maybe the microbus female headers were not the right ones to use. Generated all the code and tried again and nothing. Then I though I'd try to use UART7 with the Arduino pins, but I still get nothing. Am I doing something wrong? I'd ideally like to use the STMOD+ connector with SPI. I can't figure out why it's not working. I used a STM32L476RG as a spi slave for a sanity check and I can send data actually to that board from a raspberry pi over SPI. So I am thinking with the STM32H7S78-DK it is just something I'm not enabling correctly, but it should be pretty straight forward if you are using STMCubeMX. So maybe it's a jumper or something. Any help would be greatly appreciated to get me on the right track. Thanks.
