NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.
DA8xx SPI Slave Boot (Host is master, DSP is slave)
Contents
Introduction[edit]
This page describes the SPI Slave boot. SPI Slave boot can realize the boot from Host uC via SPI.
We have example source code for slave boot sequence and you can try it if you have DA7xxEVM Controller Card
This document make aisbin.h for example program but you can also make binary file for your uC. AISgen tool can generate both of them.
Procedure of SPI Slave Boot using DA7xxEVM Controller Card[edit]
Package[edit]
- Extract pa_bdk_da8xx_yymmdd.zip
- bdk\em_sb folder is example code of DA7xx Controller Card. You can use this source code as a reference of uC for slave boot
Generate aisbin.h[edit]
- Generate
sbl.bin
from pa.out using AISgen tool. [AISgen tool is available at [1] ]
Build[edit]
- Copy aisbin.h to bdk\em_sb
- Open em_sb.pjt and build it.
- Reset both DA8xx and DA7xxEVM Controller Card, load out file on DA7xxEVM Controller Card and run it.
Appendix A: H/W Set up[edit]
1. Remove ENC1 from DA8xx UI card. 2. Connect DA7xxEVM Controller Card and DA8xx UI as below.
P5-1 -> TP55 P5-2 -> TP56 P5-3 -> TP60 P5-4 -> TP58 P5-6 -> GND P5-7 -> TP57
3. Pull up below 2 pins
P5-12 -> 3.3V (DA7xx CC) TP65 -> 3.3V (DA8xx TP59, to pass SPI0 signal to UI card)
Appendix B: Boot/update time[edit]
- To Do: Add sample data of boot/flash update time on EVM