Strange behaviour of SAI ports

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Strange behaviour of SAI ports

640 Views
giuseppescarpi
Contributor III

Hello everybody!

We are experiencing a strange behaviour with SAI2 and SAI3 on our board.

We use all three SAI ports. All of them are set as master, and generate MCK, BCK and FCK towards external peripherals.

All the SAI take the clock from PLL4.

Circa one reboot every 100, SAI2 and SAI3 stop working. We no longer see FCK and BCK. Moreover, MCK is still present on SAI2 but not on SAI3.

Analysing the register map with the debugger (I examined SAI, IOMUX and CCM), I noted that the "good" and "bad" conditions exhibit no difference in relevant settings.

I suspect that we can be in a condition similar to errata ERR050144, but we don't use the TMR masking. Moreover, all the error flags are zero when the error happens.

I also tried to reset the SAI by toggling the TE and RE bits, with no success.

The fact that SAI1 keeps working let me think that PLL4 is OK.

Has anyone experienced a similar condition? Any suggestion about what we can try?

Thanks

Giuseppe

Labels (1)
0 Kudos
1 Reply

518 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi Giuseppe,

First of all, sorry for the later reply.

Do you develop the SAI application based on MCUXpresso SDK driver?

If you mentioned issue could be regerated with i.MXRT evaluation board?

If yes, could you provide related software project?

Then we could check it on site.

Thanks for the help!


Have a great day,
Mike

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos