Skip to main content
CDe S.1
Associate
December 31, 2021
Question

Does anyone know how to configure the DSPI interface (CPHA bit) in spc57s line MCUS

..

    This topic has been closed for replies.

    2 replies

    Giuseppe DI-GIORE
    ST Employee
    January 4, 2022

    Hello,

    please have a look at SPC5Studio (link) examples: DSPI driver manages CPHA bit.

    Regards,

    Giuseppe

    CDe S.1
    CDe S.1Author
    Associate
    January 5, 2022

    I used the example codes. The issue I have is this.

    https://community.st.com/s/question/0D53W00001IA6BDSA1/hispi-miso-data-seems-corrupted

    Initialy i thought it was a configuration error. But the data seems to be corrupted. No issue when i used it with arduino without any libraries. Same thing happens with the ISM330DLC gyroscope.