What does "CHLEN" and "DATLEN" actually mean in the context of I2S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-08 12:32 PM
Hi guys I am having troubles in understanding the "CHLEN" & "DATLEN" from PG. 2251 from the
The reason I am asking because I am doing DSP, and I noticed when I change DATLEN from 16BIT -> 24BIT my DSP works perfectly, but when its on the 16BIT setting the wave looks messed up.
I also know it has to do with some sort of DMA as testing changing around MSIZE & PSIZE the wave form changes
I tried also probing it DATLEN doesnt do anything but I noticed CHLEN changes the SCLK
If anyone can explain to me this would be amazing
Solved! Go to Solution.
- Labels:
-
I2S
-
STM32H7 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-13 06:11 AM
CHLEN is the number of time slots for bits and determines the frame length. DATLEN is a number of actual data bits, which will be inserted in these time slots. RM0433 figure 624 explains it very clearly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-13 06:11 AM
CHLEN is the number of time slots for bits and determines the frame length. DATLEN is a number of actual data bits, which will be inserted in these time slots. RM0433 figure 624 explains it very clearly.