STM32L45 CubeIDE: SPI DMA not transmitting/receiving data, while the regular SPI is working perfect.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-05-24 1:00 PM
I am trying to read IMU sensor data using SPI. I have generated the code and I could verify that I am able to read SPI data while using the function HAL_SPI_TransmitReceive. Later, when I tried using the HAL_SPI_TransmitReceive_DMA function with the same Rx and Tx buffers, I am unable to see any signals on the SCK, MISO, MOSI lines. I have configured the DMA for TX and RX with high priority, Normal Mode, Data width as byte. Can you please give me hints on what to check for?
Labels:
- Labels:
-
DMA
-
SPI
-
STM32CubeIDE
-
STM32L4 series
This discussion is locked. Please start a new topic to ask your question.
0 REPLIES 0
