dma with spi callback not reached
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-02-25 9:11 AM
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-02-25 9:38 AM
HAL_SPI_TransmitReceive_DMA() returns before the first SPI clock cycle finishes.
What do you mean by "everything seems fine"? Is the receive buffer updated? Can you observe transmitted data on the wire with an oscilloscope?
Which MCU is that, what is the system clock frequency and the SPI clock? Is it master or slave?
Have you verified the SPI and GPIO registers against the reference manual?
