cancel
Showing results for 
Search instead for 
Did you mean: 

FM0+, FM3 & FM4 MCU

jodu_4620836
New Contributor

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

0 Likes
1 Solution
Roy_Liu
Moderator
Moderator

Sorry seems so much experience on this topic in this community, you may have a try o migrate the project to PDL 2.1.0, and/or refer to the other examples for how to handle interrupt.

Roy Liu

View solution in original post

0 Likes
1 Reply
Roy_Liu
Moderator
Moderator

Sorry seems so much experience on this topic in this community, you may have a try o migrate the project to PDL 2.1.0, and/or refer to the other examples for how to handle interrupt.

Roy Liu

View solution in original post

0 Likes
Top labels