I2S endianness clarification, do we need to convert byte order? #9278
-
The |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
No byte order conversion is needed. For the Here is an example for sample data received from an I2S microphone using the
|
Beta Was this translation helpful? Give feedback.
No byte order conversion is needed. For the
read(buf)
method,buf
will contain samples in little endian format. For thewrite(buf)
method, sample data inbuf
must be arranged in little endian format.Here is an example for sample data received from an I2S microphone using the
read(buf)
method.