Hi
Am trying to create a SPI Communication between SBC Evolution Board KITFS6523CAEEVM and AURIX Controller TC387. In loopback it's working fine. But when trying with SBC board am facing issue. Am trying to read SPI register using read command (0x1400). As per sheet am expecting response as 0x0FD2. But when am sending 10 read command am getting around two times correct response (Not always) and rest are incorrect. Response are fluctuating. Tried by reading other register also but facing same issue, response are not constant
Pls help me on this
Thanks
Shailendra
Hi Shailendra,
Do you have a logic analyzer or an oscilloscope to see what is going on the bus and double check the proper format/timing?
Note that the FS65 uses the ‘Mode 1′ SPI protocol, which means that the base value of the SCLK signal is zero (CPOL = 0), data are sampled on a falling edge and changed on a rising edge (CPHA = 1).
Best regards,
Tomas