Hi, I am a newbie with S32K148.
I am trying to interface ST microelectronics Audio Amplifier EVK(FDA903D) with S32K148 but unfortunately I am not able to read I2C registers. In the data sheet of Audio Amplifier I came across that if 12S clock would not be present, then I2C registers cannot be accessible.
I am using SAI0 API’s for interfacing Audio Amplifier.
I request please help me to configure SAI0 in transmit mode for FDA903D audio amplifier.
If anyone can provide some reference code to interface audio amplifier, it would be a great help.
Thanks in Advance
Appreciate your response. Now i am able to interface SAI with FDA903D (Audio Amp)
I am using SAI with interrupts but now i want to change to DMA. Following changes i made: 1) Initialize DMA 2) Selection of DMA channel from DMA component 3) Selection of DMA from SAI component as mentioned in snapshot:
Anything else i need to configure?
We don't have any demo that would work with the FDA903D Audio Amplifier, and both the SAI module and the amplifier support many formats.
I would recommend you to start with the sai_transfer_s32k148 SDK example, scope the bus and modify it as per the FDA903D datasheet.
But the I2S clock stays active between transfers.
To get better understanding of the SAI module, please refer to
AN12202 Using Synchronous Audio Interface (SAI) on S32K148.