Hi
I'm trying to connect a I2S microphone to KL46Z256 via SAI and am new to SAI and I2S.
I'm using MCUXpresso 11.3 with SDK 2.4.1 ( I think these are the newest at this time)
I start with a empty project and add I2S to it. get an warning saying that I need to update my SAI driver from 2.1.14 to 2.1.17 as in the following image.
The errors at lines 146-148 in the code supports this statement, I guess the newer driver has more definitions in the sai_config_t struct.
I have tried numerous things to update the driver without luck. I have looked for solutions on this forums also without luck. Some similar problems has been solved by some supplied patches that obviously are not a part of an update for the SDK and are specific to other problems. I am out of ideas of what to try and would be happy for any help or comment.
How are drivers updated, specify the SAI driver?
(I'm not even sure that I am on the right track to my goal)
From one post I understood that going to ConfigTools|Data Manager should solve a similar issue. I have tried this with no luck. If this is the way, I guess I need more concrete steps to perform the update. Selecting outdated boards and update/download still leave me with my same old driver version 2.1.14
Best regards,
Baldur
Solved! Go to Solution.
Hi,
In the Peripherals too that you are using, the there is possible to add also older version of the configuration (UI) component that generates code from the older version of the driver.
You need to remove the older version of the configuration component instance using the context menu 'Remove'.
Then, when you click on the I2S0 peripheral in the Peripherals view the component addition dialog is shown (filtering suitable components for the I2S peripheral).
You need to uncheck the "Show only latest component versions":
Unfortunately, we don't show the lower SDK version number (2.1.14) as normally these versions should be compatible. However, these components represent different versions 2.1.4 and 2.1.7. Try selecting the first one.
In the components view tooltip, you can see the exact version reference:
Please let us know if it helps.
best regards
Petr Hradsky
Config Tools Team
Hi,
In the Peripherals too that you are using, the there is possible to add also older version of the configuration (UI) component that generates code from the older version of the driver.
You need to remove the older version of the configuration component instance using the context menu 'Remove'.
Then, when you click on the I2S0 peripheral in the Peripherals view the component addition dialog is shown (filtering suitable components for the I2S peripheral).
You need to uncheck the "Show only latest component versions":
Unfortunately, we don't show the lower SDK version number (2.1.14) as normally these versions should be compatible. However, these components represent different versions 2.1.4 and 2.1.7. Try selecting the first one.
In the components view tooltip, you can see the exact version reference:
Please let us know if it helps.
best regards
Petr Hradsky
Config Tools Team
Hi Petr
Thank you so much for a quick and accurate reply, this fixed my problem so now I can continue (after over a week stop)
Baldur