SRU Programming
21-4
ADSP-214xx SHARC Processor Hardware Reference
SRU Programming
The TWI signals are available through the SRU2, and are routed as
described in
.
Clocking
The fundamental timing clock of the TWI module is peripheral clock
(
PCLK
). Serial clock frequencies can vary from 400 kHz to less than 20
kHz. The resolution of the generated clock is 1/10 MHz or 100 ns.
CLKDIV
=
TWI_CLOCK
period ÷ 10 MHz time reference
For example, for an
TWI_CLOCK
of 400 kHz (period = 1/400 kHz = 2500
ns) and an internal time reference of 10 MHz (period = 100 ns):
CLKDIV
= 2500 ns ÷ 100 ns = 25
For an
TWI_CLOCK
with a 30% duty cycle, then
CLKLOW
= 17 and
CLKHI
= 8.
Note that
CLKLOW
and
CLKHI
add up to
CLKDIV
.
Table 21-3. TWI DPI/SRU2 Signal Connections
Internal Node
DPI Group
SRU2 Register
Inputs
TWI_CLK_I
TWI_DATA_I
Group A
SRU2_INPUT0
Outputs
TWI_CLK_PBEN_O
TWI_DATA_PBEN_O
Group C
www.BDTIC.com/ADI
Содержание SHARC ADSP-214 Series
Страница 60: ...Contents lx ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 72: ...Notation Conventions lxxii ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 130: ...Programming Model 2 52 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 264: ...Programming Models 3 134 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 290: ...Programming Model 4 26 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 296: ...Programming Model 5 6 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 396: ...Effect Latency 7 28 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 520: ...Programming Model 10 62 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 616: ...Debug Features 14 22 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 656: ...Programming Model 15 40 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 714: ...Programming Model 19 10 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 1132: ...Register Listing A 306 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 1192: ...Index I 34 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...