Serial Peripheral Interface (SPI)
SPI-A Status Register
SPISTS @ 0x007042
7
6
4-0
SPI INT FLAG (read only)
•
Set to 1 when transfer completed
•
Interrupt requested if SPI INT ENA
bit set (SPICTL.0)
•
Cleared by reading SPIBRXUF
RECEIVER OVERRUN (read/clear only)
•
Set to 1 if next reception completes before SPIRXBUF read
•
Interrupt requested if OVERRUN INT ENA bit set (SPICTL.4)
•
Cleared by writing a 1
reserved
reserved
15-8
TX BUF FULL (read only)
•
Set to 1 when char written
to SPITXBUF
•
Cleared when char in SPIDAT
5
SPI-A FIFO Transmit Register
SPIFFTX @ 0x00704A
0
TXFFIL2
SPIFFEN
TXFFST0
TXFFST3
TXFFIEN
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
TXFFIL0
TXFFIL1
TXFFIL4 TXFFIL3
TXFFST1
TXFFINT
CLR
TXFFST2
TXFFINT
TXFFST4
TXFIFO
RESET
reserved
TX FIFO Status
(read-only)
00000
TX FIFO empty
00001
TX FIFO has 1 word
00010
TX FIFO has 2 words
00011
TX FIFO has 3 words
10000
TX FIFO has 16 words
...
...
...
TX FIFO Interrupt Level
Interrupt when TXFFST4-0
and TXFFIL4-0 match
SPI FIFO
Enhancements
0 = disable
1 = enable
TX FIFO Reset
0 = reset (pointer to 0)
1 = enable operation
TX FIFO
Interrupt
(on match)
Enable
0 = disable
1 = enable
TX FIFO
Interrupt
Flag
(read-only)
0 = not occurred
1 = occurred
TX FIFO
Interrupt
Flag
Clear
0 = no effect
1 = clear
C28x - Communications
11 - 9
Содержание 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 ...