TWR-AUDIO-SGTL + TWR-K60D100M

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

TWR-AUDIO-SGTL + TWR-K60D100M

759 Views
hamimonsarrat-c
Contributor II

Hi everyone,

I have been trying to get the I2S demo from Freescale_MQX_4_0\mqx\examples\i2s_demo working on the TWR-K60D100M + TWR-AUDIO-SGTL.

Although everything is apparently working fine (I2C, I2S), all I get from the audio output is a noise like junk while I should be getting a nice sine tone, from

the _ksai_sine_wave source.

I feed the source using

    ioctl(audio_device_file_ptr, IO_IOCTL_I2S_TX_DUMMY_ON, 0);

    while(1)

    {

   

        written_bytes = write(

            audio_device_file_ptr,

            0,

            400);

    }

Has anybody achieved to get the demo working on the TWR-K60D100M? (any bug fixed?)

3 Replies

574 Views
hamimonsarrat-c
Contributor II

I am adding that my TWR-AUDIO-SGTL board is SCH REV D2 and board REV F.

0 Kudos
Reply

574 Views
DavidS
NXP Employee
NXP Employee

Hi Hami,

I have tested this with MQX4.1 and the play works fine.  Cannot seem to record though. This is the sai_dma_demo.

When I tested with MQX4.0.2 that didn't support DMA the playback had pops to it.  The MQX4.1 with DMA sounds good.

I would recommend upgrading your MQX.

Regards.

David

574 Views
hamimonsarrat-c
Contributor II

This sounds like good news.

I'll try it.

Thanks!