Hello,
We are still working on SPI communication via this development board S32K144EVB-Q100.
We were able to settle some issues.
The ICs we are working with are MCZ33996 and MC33CD1030.
We have now made sure that SPI communication is working on the MC33CD1030.
However, we still do not get the feedback we expect from FreeMaster.
Attached is the MATLAB file we are working with.
We look forward to your feedback.
Hello @ilker ,
I see in your model that you use SPI in Slave mode. Are you sure that you don't need to use the SPI instance in Master mode? If the SPI is properly configured, please give us more detail about your hardware setup.
Best regards,
Adrian
Hi, the connection diagram of the MCZ33996 IC is as above.
The pins of the S32K144EVB-Q100 board are as above.
We encounter similar problems when we choose the SPI mode as master.
Hello @ilker,
Can you please have a look at this thread here? We had a customer at some point using the same chip. of course, this was on another platform (MPC) but the idea should be the same in terms of settings/configurations. At least it is a starting point.
Hope this helps,
Marius
Hello @ilker ,
I don't have this MCZ33996 ic to give you more detail, but ...
To communicate with MCZ33996 ic, the SPI instance must be configured as Master and I recommend using the next pins for SPI instance 1: SIN-PTD1, SOUT-PTD2,CS-PTD3,SCLK-PTB14. The recommendation to use those pins instead of pins that you initially used is due to an ic (SBC chip) placed on S32K144EVB, that is connected on the same SPI pins.
The SPI must be configured to transmit 24 bit ( because MCZ33996 ic demands 24 bit for every SPI transfer). Please see the below pictures.
And the MCZ33996 ic needs a PWM signal that has to come from somewhere (maybe you should add a PWM block).
Another very important thing when you connect two different boards is to use the same voltage level (3.3V or 5V) if you connect them thru a communication interface.
Best regards,
Adrian