cancel
Showing results for 
Search instead for 
Did you mean: 

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

CDe S.1
Associate II
 
2 REPLIES 2
Giuseppe DI-GIORE
ST Employee

Hello,

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

Regards,

Giuseppe

CDe S.1
Associate II

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.