Hi, NXP team
I'm trying to run the RTD example "I2s_Sai_example_S32K344", but I'm encountering a timeout issue with the I2S_SAI_RECEIVER. Could you give me some advice?
HW: S32K3X4EVB-Q257
SW: S32DS 3.4 and RTD AUTOSAR 4.4 2.0.0 D2203
Pins connect:
SAI0_DATA0 - SAI1_DATA0 | P3.9 - P3.23 |
SAI0_BCLK - SAI1_BCLK | P3.11 - P3.25 |
SAI0_SYNC - SAI1_SYNC | P3.13 - P3.29 |
Thanks, you.
Hello @Leoken,
I just tested the example on S32K3X4EVB-Q257 (SCH REV A, layout REV X1), with RTD 2.0.0 D2203 and it works.
while ((status = Sai_Ip_GetReceivingStatus(SAI_RECEIVER_VS_0_INSTANCE, NULL_PTR)) == SAI_IP_STATUS_BUSY)
{
}
It leaves the while loop when status == SAI_IP_STATUS_COMPLETED.
Which revision of the board do you have?
Can you double-check the connection?
Can you measure the bus with an oscilloscope?
Regards,
Daniel
Thank you for your reply.
I only have the S32K3X4EVB-Q257(SCH-53189 REV A), and double-check the connection is correct.
I use a handheld oscilloscope to measure the SAI0 signal. The SAI0_DATA0 doesn't send data from Transmitter (SAI0). Is this cause of the timeout? Can i fix it or not?
Hi @Leoken,
I don't have the SCH-53189 REV A version.
I tested it successfully on SCH-47827 REV A version.
There are some differences (like P3.21) but not the SAI signal from the example.
Anyway, can you test the PTB2 at J358.11 or at the GPIO Pin Matrix?
Thank you,
BR, Daniel