Skip to main content
Visitor II
January 20, 2025
Question

LSM6DSV16B voltage spikes on SPI data out

  • January 20, 2025
  • 1 reply
  • 485 views

Screenshot 2025-01-13 092026.png

I am trying to read the data of the accelerometer and gyroscope of the LSM6DSV16B with an FPGA. I build a 4 wire SPI-Interface. I am able to write data to the chip and the chip is capable to give data out. But sometimes the output of the chip gets driven for a fraction of the clock cycle. This creates the spikes which you can see in the picture. Nothing other than the chip is driving the dataline. The FPGA is configured as an input and just reads the high or low state at the rising edge of the clock. As you can see in the screenshot sometimes I get a voltage spike an the data out line, sometimes the pin gets driven normally from falling edge to falling edge. Is this behavior normal or expected? Or is something wrong with the chip. I used the STEVAL-MKI241KA development board. The issue arises one the square board aswell as the earphone board.

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    January 20, 2025

    Hi @flx ,

    Could you verify the name in the boards you have in hand? In main board is written STEVAL$MKI241AB or STEVAL$MKI241AA?

    The problem seems due to higher crosstalk between SPI and TDM lines.

    flxAuthor
    Visitor II
    January 24, 2025

    Hi,

    i have STEVAL$MKIGI06AB written on the Board