I2S example FM4-176L-S6E2GM

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
jodu_4620836
Level 1
Level 1
First reply posted First question asked First like given

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
Moderator
5 comments on KBA First comment on KBA 10 questions asked

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
Moderator
5 comments on KBA First comment on KBA 10 questions asked

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
0 Likes