SPI_Boot
Yes
No
(0x08AA)
?
Valid
KeyValue
Enable the SPI-A clock
Set the LSPCLK to 4
Enable SPISIMOA,
SPISOMI and SPICLKA
pin functionality and enable
Set up SPI-A for
8-bit character,
Use internal SPI clock,
master mode
Use slowest baud rate (0x7F)
Relinquish SPI-A from reset
(GPIO19)
Set chip enable high
Enable EEPROM
Send read command and
start at EEPROM address
0x0000
Read KeyValue
Jump to Flash
Read LOSPCP value
Change LOSPCP
Change SPIBRR
Read SPIBRR value
Read and discard 7
reserved words
address
Read EntryPoint
Call CopyData
EntryPoint
Return
pullups on those pins
Figure 2-21. Data Transfer From EEPROM Flow
SPIA_GetWordData
Yes
No
Data
Received
?
Send dummy
character
Read LSB
Data
Received
?
No
Yes
Read MSB
Return MSB:LSB
Send dummy
character
Figure 2-22. Overview of SPIA_GetWordData Function
Boot ROM
SPRUH18I – JANUARY 2011 – REVISED JUNE 2022
TMS320x2806x Microcontrollers
229
Copyright © 2022 Texas Instruments Incorporated
Содержание TMS320 2806 Series
Страница 2: ......