Skip to main content
Visitor II
December 11, 2018
Question

LIS2DW12 sensor with SPI DMA is not working

  • December 11, 2018
  • 1 reply
  • 1342 views

HI All,

I'm using LIS2DW12 sensor with STM32 controller. sensor is interfaced with SPI protocol. I'm using DMA to read sensor output. SPI is configured and tested with 8MHZ and 16Mhz clock frequency.

For 16Mhz clock I'm able to read data from the sensor. !!!!!!!!!!!!! ( Sensor supports max 10Mhz clock frequency but i'm able to see data output with 16Mhz)

but with 8Mhz DMA read data is not proper...????

Please help me to understand this issue and share inputs to solve this issue.

Thanks,

Basavangouda.

    This topic has been closed for replies.

    1 reply

    ST Employee
    December 12, 2018

    Do you use SPI Mode 3?

    If yes, can you capture the signals on SPI bus with oscilloscope or logic analyzer?

    December 12, 2018

    I'm using SPI 4 wire mode.