Hi,I am using an STM32H753 connected to a raspberry PI via SPI. The STM32 is connected as slave. With CubeMX I configured the STM32 to be an SPI Slave with both DMAs configured as circular. I am having a struct with live data (refreshed every 10ms) a...
I set up Timer1 Ch4 and Timer2 Ch4 to toggle their Pins (PE14 and PE11) on Capture Compare. I use this as a step signal for stepper drivers with high microstepping (256x). I recognized that when I activate the interrupts to count the number of pulse...
Posted on July 03, 2014 at 10:34
Hi,
I am trying to let my STM32F429 Disco Board sample in triple mode interleaved. I mainly copied the code from ST, with small changes, and it also works. But the word-array I want the DMA to transfer th...
Hi, no, I am sending and receiving 84 Bytes, then CS goes high and I disable SPI to flush buffers. When CS goes low I am enabling SPI, shortly after the transfer begins (a few µs). At the transfercomplete interrupt I am also disabling SPI. I still ha...
Hi, I read the part, that is why I am disabling and enabling the SPI. I am using the HAL_macro __HAL_SPI_ENABLE(&hspi1), but it is the same as setting and resetting the SPE bit. During the transfer I am transferring 84 Byte, the temperature I am refe...
Some additional information.I tried to following to make sure it is a problem I am having with the microcontroller and not the raspberry.I heated the element a bit, so that it cools down to have a decreasing temperature. The values I get have a noise...
Hi,if I am watching the TXBuffer, there actually is the correct value inside and it changes with time. The first value I got was another than I could see in the buffer (it was the old one from the last time I used SPI)I also use the CS pin as an inte...