MediaTek-Labs / mt3620_m4_software

mt3620_m4_driver
Other
32 stars 29 forks source link

How to use I2S interface? #16

Closed matsujirushi closed 4 years ago

matsujirushi commented 4 years ago

I changed MHAL_I2S_TYPE_INTERNAL_LOOPBACK_MODE to MHAL_I2S_TYPE_EXTERNAL_MODE at MT3620_RTApp_FreeRTOS_I2S.

image

But no signals without MCLK. (TX, FS and SCLK).

image

LawranceLiu commented 4 years ago

You mean there is signal on MCLK, but no signal on TX/FS/SCLK, right? SCLK/FS should be generated by I2S Master, and TX would be generated by MT3620 according to the SCLK signal.

matsujirushi commented 4 years ago

Hi Lawrance-san, Thanks for your information. Sorry. I was wrong. I thought MT3620 supported I2S master.

"Two I2S interfaces supporting slave and TDM slave modes" MT3620 Datasheet MT3620 M4 API Reference Manual