Difference between revisions of "Pi I2S Clock Divide Register"

From SpecNext official Wiki
Jump to: navigation, search
(fixing default value Hz result... (my math, argh))
m
Line 8: Line 8:
  
 
clock divider = 538461 / SampleRateHz - 1
 
clock divider = 538461 / SampleRateHz - 1
 +
 
i.e. SampleRateHz = 538461 / (clock divider + 1)
 
i.e. SampleRateHz = 538461 / (clock divider + 1)
  
 
The default value corresponds to ~44871Hz sample rate.
 
The default value corresponds to ~44871Hz sample rate.

Revision as of 16:30, 12 November 2019

Number $A3
Readable Yes
Writable Yes
Short Description Pi I2S clock divide in master mode.

bits 7:0 = Clock divide sets sample rate when in master mode (soft reset = decimal 11)

clock divider = 538461 / SampleRateHz - 1

i.e. SampleRateHz = 538461 / (clock divider + 1)

The default value corresponds to ~44871Hz sample rate.