SPIA_GetWordData
Yes
NoData
Received
?
Send dummy
character
Read LSB
Data
Received
?
No
Yes
Read MSB
Return MSB:LSB
Send dummy
character
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
Return
FLASH_ENTRY_POINT
Read LOSPCP value
Change LOSPCP
Change SPIBRRRead SPIBRR value
Read and discard 7
reserved words
address
Read EntryPoint
Call CopyData
EntryPoint
Return
pullups on those pins
Bootloader Features
www.ti.com
206
SPRUI07–March 2020
Submit Documentation Feedback
Copyright © 2020, Texas Instruments Incorporated
Boot ROM
Figure 2-31. Data Transfer From EEPROM Flow
Figure 2-32. Overview of SPIA_GetWordData Function