1 Reply Latest reply on Jan 22, 2020 10:43 PM by YuxianL_01

    I2S example FM4-176L-S6E2GM

    jodu_4620836

      Hello,

       

      I've bought a FM4-176L-S6E2GM board and successfully run the board example projects.

      Now I would like to modify the s6e2gm_I2S_hp in order to continually stream a a buffer using interrupts instead.

      I got some code from the i2s_irq_play_wave_via_wm8731 project in the PDL example  folder.

       

      First I had to change &I2cCh to MFS1_I2C1 to successfully Initialize WM8731 via I2C.

       

      The interrupt callback however is called only once so after the first fifo buffer is transmitted nothing more happens.

       

      Can someone point to the error ? The code is attached

       

      Thanks

       

      john