2022-05-24 01: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?