We are in a situation where we need to use 32 bit wide frame sync (as this is the format that the codec expects), but the audio data itself is in 16 bits/frame format. I assumed that this configuration would be possible to manage in the SAI, by configuring the Frame Sync width to 32 bits, and the data word widths to 16 bits. The MCUXpresso Config Tool however marks this as an invalid setting.
Could someone tell us if this configuration is possible to achieve with iMXRT1010 SAI, and if so, with what configuration settings? I'd also like to know what should be the correct First Bit Shifted value, in order to shift the 16-bit data to the highest 16 bits of the frame.
Thanks in advance.
Solved! Go to Solution.
In the meantime we have managed to make it work as we need it:
I hope this will help fellow developers until the drivers/configurator is updated to support this mode.
Hi benedek_kupper,
Thanks for your interest in the NXP MIMXRT product, I would like to provide service for you.
You mentioned: the MCUXpresso Config Tool however marks this as an invalid setting.
Please give me a screenshot of the invalid settings from your side.
Please also let me know your detail RT chip part number, and the MCUXpresso Config tool version, I will check it at first, then analyze more details.
Waiting for your update information!
Best Regards,
Kerry
-------------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------
Hi benedek_kupper,
So sorry for my later reply, because of our Chinese National day from 10.1 to 10.8, today we are back to work, and I check it on my side, please configure it like me, do you still have issues?
Wish it helps you!
If you still have questions about it, please kindly let me know!
Best Regards,
Kerry
-------------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------
Your configuration is for transferring 32 bit samples, but I have 16 bit samples, so I cannot use this configuration. (It would result in two samples being merged into one.)
Hi benedek_kupper,
If use your configuration, I find it has the issue like the following:
Frame sync width must be less than or equal to the first data word width in the frame.
In the RM, TCSR[TE] register:
It also has the first word sync width limit.
So,I think your this type configuration is not supported by the RT1010.
Wish it helps you!
If you still have questions about it, please kindly let me know!
Best Regards,
Kerry
-------------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------
In the meantime we have managed to make it work as we need it:
I hope this will help fellow developers until the drivers/configurator is updated to support this mode.