Quantcast
Channel: Processors
Viewing all articles
Browse latest Browse all 148978

Forum Post: McASP configuration in dts file

$
0
0

Hi All,

I want to know how to configure below info for McASP0 and McASP1 in dts file. I'm particularly interested about

serializer configuration and tdm slots for 16bit and 32 bit operation. I went through

Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt but there is no info regarding configuration of serializer and tdm slots for 32 bit and 16 bit operations.

McASP0

----------

I2S bus slave (running at 48kHz sample rate)

data is MSB first, 24 bits

two 32-bit slots

active-low frame sync (frame begins on falling edge of frame sync)

active-low bit-clock (data is changed on falling edge of bit-clock, and clocked in on rising edge of bit-clock)

2-channel usage maps 1st channel to 1st slot and 2nd channel to 2nd slot

1-channel usage maps 1st channel to 1st slot, and 2nd channel carries no information (must be zeroes)

supports 2 Tx channels on serializer AXR2 and AXR3

supports 1 Rx channel on serializer AXR0

 

McASP1

----------

I2S bus master,

bitclock is 512kHz

frame sync is 16kHz

data is MSB first, 16 bits

two 16-bit slots

active-high frame sync (frame begins on rising edge of frame sync)

active-high bit-clock (data is changed on rising edge of bit-clock, and clocked in on falling edge of bit-clock)

2-channel usage maps 1st channel to 1st slot and 2nd channel to 2nd slot

1-channel usage maps 1st channel to 1st slot, and 2nd channel carries no information (must be zeroes)

supports 1 Tx channel on serializer AXR0

supports 1 Rx channel on serializer AXR2

Regards,

Gangadhar


Viewing all articles
Browse latest Browse all 148978

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>