i2s library

Please do not post requests
Post Reply
Posts: 1449
Joined: Mon Apr 27, 2015 12:12 pm

i2s library

Post by victor_pv » Sun Feb 12, 2017 11:55 pm

I am writing an i2s library for the high and XL density MCUs (xCT6 to xGT6).

Those MCUs have 3 SPI ports. Ports 2 and 3 can work on i2s mode.

I am posting here the first working version so anyone willing to, can test and help debug it.
At the moment I have tested with with a logic analyzer and seems to work fine.

I have some pt8211 DACs but still need to wire them to an amplifier and speaker, and I am going to call it a day for now.

There is 1 sketch included, that's the one I have used for testing.
If anyone can test and provide feedback, would be helpful.

Ideally should be tested together with other i2s modes, and with other peripherals at the same time, such as a display, sdcard, serial.

Thanks to Madias and Grumpyoldpizza for pointing me in the right direction, and I have borrowed heavily from Grumpyoldpizza (Thomas Roel) from his L4 implementation.

EDIT: I changed the attached file since I noticed I had edited some function name wrong on that. Should work now.
(7.85 KiB) Downloaded 57 times

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest