I2S 24Bit

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

I2S 24Bit

1,460 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Natanael on Tue Apr 15 14:08:09 MST 2014
Hi,

Does anybody know, if it is possible to run a 24-Bit Audio DAC (I2S) with the LPC1769 (offers only 8-, 16- 32-Bit I2S Mode) ?

Thank you ! Natanael.
0 Kudos
1 Reply

1,118 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Tsuneo on Thu Apr 17 14:17:17 MST 2014
You may send 24bits data (MSB first) with 8bits padding over 32bits word

The I2S spec allows this format.

Quote:

https://www.sparkfun.com/datasheets/BreakoutBoards/I2SBUS.pdf

3.1 Serial Data
Serial data is transmitted in two’s complement with the MSB first. The MSB is transmitted first because the transmitter and receiver may have different word lengths. It isn’t necessary for the transmitter to know how many bits the receiver can handle, nor does the receiver need to know how many bits are being transmitted.

When the system word length is greater than the transmitter word length, the word is truncated (least significant data bits are set to '0') for data transmission. If the receiver is sent more bits than its word length, the bits after the LSB are ignored.



Also, most of 24bit I2S DACs accept this format.
For example, look at "Figure 4: Mode 3 Timing" (Mode 3: 24bit I2S compatible) on AK4399 data sheet.
http://www.akm.com/akm/en/file/datasheet/AK4399EQ.pdf

Tsuneo
0 Kudos