Data Transfer From Eeprom Flow; Overview Of Spia_Getworddata Function - Texas Instruments Concerto F28M35 Series Technical Reference Manual

Table of Contents

Advertisement

C-Boot ROM Description
SPI_Boot
Enable the SPI-A clock
Set the LSPCLK to 4
Enable SPISIMOA,
SPISOMI and SPICLKA
pin functionality and enable
pullups on those pins
Set up SPI-A for
8-bit character,
Use internal SPI clock,
master mode
Use slowest baud rate (0x7F)
Relinquish SPI-A from reset
Set chip enable high
(GPIO19)
Enable EEPROM
Send read command and
start at EEPROM address
0x0000
Read KeyValue
SPIA_GetWordData
606
ROM Code and Peripheral Booting
Figure 6-22. Data Transfer From EEPROM Flow
Valid
KeyValue
(0x08AA)
?
Read LOSPCP value
Read SPIBRR value
Read and discard 7
reserved words
Read EntryPoint
address
Figure 6-23. Overview of SPIA_GetWordData Function
Send dummy
character
Copyright © 2012–2019, Texas Instruments Incorporated
No
Jump to Flash
Yes
Change LOSPCP
Change SPIBRR
Call CopyData
Data
No
Received
?
Yes
Read LSB
Send dummy
character
Return MSB:LSB
SPRUH22I – April 2012 – Revised November 2019
www.ti.com
Return
EntryPoint
Data
No
Received
?
Yes
Read MSB
Submit Documentation Feedback

Advertisement

Table of Contents
loading

Table of Contents