Serial Peripheral Interface (SPI)
SPI-A Baud Rate Register
SPIBRR @ 0x007044
15-7
6-0
reserved
SPI BIT RATE
SPICLK signal =
LSPCLK
( 1)
LSPCLK
4
,
SPIBRR = 3 to 127
,
SPIBRR = 0, 1, or 2
Need to set this only when in master mode!
Baud Rate Determination: The Master specifies the communication baud rate using its baud rate
register (SPIBRR.6-0):
•
For SPIBRR = 3 to 127:
SPI Baud Rate =
)
1
(
+
SPIBRR
CLKOUT
bits/sec
•
For SPIBRR = 0, 1, or 2:
SPI Baud Rate =
4
CLKOUT
bits/sec
From the above equations, one can compute
Maximum data rate = 37.5 Mbps @ 150 MHz
Character Length Determination: The Master and Slave must be configured for the same
transmission character length. This is done with bits 0, 1, 2 and 3 of the configuration control
register (SPICCR.3-0). These four bits produce a binary number, from which the character length
is computed as 1 (e.g. SPICCR.3-0 = 0
010
gives a character length of 3).
11 - 8
C28x - Communications
Содержание C28 Series
Страница 64: ...Summary 3 16 C28x Peripheral Registers Header Files ...
Страница 78: ...Interrupt Sources 4 14 C28x Reset and Interrupts ...
Страница 218: ...Lab 9 DSP BIOS 9 22 C28x Using DSP BIOS ...
Страница 244: ...Lab 10 Programming the Flash 10 26 C28x System Design ...
Страница 273: ...Appendix A eZdsp F2812 C28x Appendix A eZdsp F2812 A 1 ...
Страница 275: ...Appendix eZdsp F2812 eZdsp F2812 Connector Header and Pin Diagram C28x Appendix A eZdsp F2812 A 3 ...
Страница 276: ...Appendix P2 Expansion Interface A 4 C28x Appendix A eZdsp F2812 ...
Страница 277: ...Appendix P4 P8 P7 I O Interface C28x Appendix A eZdsp F2812 A 5 ...
Страница 278: ...Appendix A 6 C28x Appendix A eZdsp F2812 ...
Страница 279: ...Appendix P5 P9 Analog Interface C28x Appendix A eZdsp F2812 A 7 ...
Страница 281: ...Appendix JP7 JP8 JP11 JP12 Boot Mode Select JP9 PLL Disable DS1 DS2 LEDs C28x Appendix A eZdsp F2812 A 9 ...
Страница 282: ...Appendix A 10 C28x Appendix A eZdsp F2812 TP1 TP2 Test Points ...