ADSP-BF50x Blackfin Processor Hardware Reference
24-77
System Reset and Booting
BFROM_SPIBOOT
Entry address:
0xEF00 000A
Arguments:
• SPI address in
R0
•
dFlags
in
R1
•
dBlockCount
in
R2
•
pCallHook
passed over the stack in [FP+0x14]
• updated block count returned in
R0
C prototype:
s32 bfrom_SpiBoot (
s32 dSpiAddress,
s32 dFlags,
s32 dBlockCount,
ADI_BOOT_HOOK_FUNC* pCallHook);
This SPI master boot routine processes boot streams residing in SPI mem-
ories, using the SPI0 controller. The fourth argument
pCallHook
is passed
over the stack. It provides a hook to call a callback routine after the
ADI_BOOT_DATA
structure is filled with default values. For example, the
pCallHook
routine may overwrite the default value of the
uwSsel
value in
the
ADI_BOOT_DATA
structure. The coding follows the rules of
uwHWAIT
(see
“Boot Host Wait (HWAIT) Feedback Strobe” on page 24-19
). A value of
0x060D represents GPIO
PF13
(
SPI0_SSEL1
).
Additional bits in the
dFlags
word are relevant. The user should always set
the
BFLAG_PERIPHERAL
flag but never the
BFLAG_SLAVE
bit. The
BFLAG_NOAUTO
flag instructs the system to skip the SPI device detection
Содержание EZ-KIT Lite ADSP-BF506F
Страница 50: ...Contents l ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 92: ...Development Tools 1 30 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 110: ...Interface Overview 3 12 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 132: ...Unique Information for the ADSP BF50x Processor 4 22 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 236: ...Internal Flash Memory Control Registers 6 92 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 342: ...Unique Information for the ADSP BF50x Processor 7 106 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 484: ...Unique Information for the ADSP BF50x Processor 10 60 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 493: ...ADSP BF50x Blackfin Processor Hardware Reference 11 9 Core Timer Unique Information for the ADSP BF50x Processor None ...
Страница 494: ...Unique Information for the ADSP BF50x Processor 11 10 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 506: ...Unique Information for the ADSP BF50x Processor 12 12 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 544: ...Unique Information for the ADSP BF50x Processor 13 38 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 650: ...Programming Examples 15 56 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 712: ...Unique Information for the ADSP BF50x Processor 16 62 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 804: ...Programming Examples 17 92 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 972: ...Unique Information for the ADSP BF50x Processor 20 38 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 1194: ...Programming Examples 24 90 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 1256: ...ACM Registers A 50 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 1264: ...Boundary Scan Architecture B 8 ADSP BF50x Blackfin Processor Hardware Reference ...