hi,
I'm using MPC5777c 516ds and and devboard revc. Im tring to communicate over SPI. MCU is in master mode. when I run the code, I can see the signal on MOSI pin but SCK pin does not exist anyone. I know that the problem is my software becuse example code of s32ds runs correctly. please help me to find error. ım siply try to send a frame continuously, when a tranfer completed a flag set, then message send to PUSHR register.
there is a few pictures from logic analyzer and my code.
Hi,
for output pins you set ODE, WPS, WPE bits. It is intended to use open drain output with pull ups? But it could be.
However for SCK and PCS0 you also need to set OBE bit.
OBE bit for SOUT is controlled by peripheral, so that's why you see a signal.
BR, Petr