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))
(core 3.1.5 changes/refresh)
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
 
|Readable=Yes
 
|Readable=Yes
 
|Writable=Yes
 
|Writable=Yes
|ShortDesc=Pi I2S clock divide in master mode.
+
|ShortDesc=<del>Pi I2S clock divide in master mode.</del>
 
}}
 
}}
bits 7:0 = Clock divide sets sample rate when in master mode (soft reset = decimal 11)
+
The I2S master-mode was '''REMOVED''' in core3.1.5 as well as this register.
 +
 
 +
-----------------------
 +
 
 +
<del>bits 7:0 = Clock divide sets sample rate when in master mode (soft reset = decimal 11)</del>
  
 
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.

Latest revision as of 08:29, 27 April 2020

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

The I2S master-mode was REMOVED in core3.1.5 as well as this register.


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.