stm32f072rbt6 discovery board spi issue
Hello everyone,
I am working with the STM32F072RBT6 Discovery board, where the board is configured as an SPI slave while another device acts as the master. I am utilizing DMA to receive and transmit data through two SPI interfaces (SPI1 and SPI2).
Currently, I have successfully implemented data reception and transmission, but I am experiencing a continuous shift in the transmitted and received data. My goal is to achieve simultaneous data reception and transmission using DMA. The communication is initiated by the master when the CS (Chip Select) pin transitions from high to low.
My questions are:
- Is it possible to receive and transmit data simultaneously using DMA in SPI on the STM32F072RBT6?
- What strategies or configurations should I consider to prevent the shifting of data in the transmission and reception process?
Any insights or solutions would be greatly appreciated!
Thank you!
