- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The alignment, number of channels (always two), channel length and word length are stored some how in the I2S configuration registers. Refer to the PSoC 6 TRM I2S chapter to understand how to access and parse the information. Refer to the I2S_TX_CTL and I2S_RX_CTL registers.
The bit rate is a bit trickier. You would need to know the clock frequency the I2S blocks is sourced, then use the clock divider info from I2S_CLOCK_CTL register to find out the bitrate.
The Frame rate is equal bit rate / 2 / Channel Length
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The alignment, number of channels (always two), channel length and word length are stored some how in the I2S configuration registers. Refer to the PSoC 6 TRM I2S chapter to understand how to access and parse the information. Refer to the I2S_TX_CTL and I2S_RX_CTL registers.
The bit rate is a bit trickier. You would need to know the clock frequency the I2S blocks is sourced, then use the clock divider info from I2S_CLOCK_CTL register to find out the bitrate.
The Frame rate is equal bit rate / 2 / Channel Length