c). 参考上面的相关文档或者之前的文章将SPI slave测试驱动的M4 firmware “ecspi_interrupt_slave.elf” 通过iMX7 uboot进行加载运行,本文通过tftp进行加载测试
------------------------------------------
Colibri iMX7 # tftp ${loadaddr} ecspi_interrupt_slave.elf
Using FEC0 device
TFTP from server 10.20.1.116; our IP address is 10.20.1.10
Filename 'ecspi_interrupt_slave.elf'.
Load address: 0x80800000
Loading: ################################################## 38.3 KiB
4.2 MiB/s
done
Bytes transferred = 39262 (995e hex)
Colibri iMX7 # bootaux ${loadaddr}
## Starting auxiliary core at 0x1FFF80D1 ...
------------------------------------------
d). SPI master和slave 数据传输测试
./ 首先上面的M4 firmware加载运行成功后,M4 调试串口打印信息如下:
------------------------------------------
-------------- ECSPI slave driver example --------------
This example application demonstrates usage of SPI driver in slave mode.
It responses to remote processor in SPI master mode.
SLAVE: Ready to transfer data with Master.
------------------------------------------
c). 参考上面的相关文档或者之前的文章将SPI slave测试驱动的M4 firmware “ecspi_interrupt_slave.elf” 通过iMX7 uboot进行加载运行,本文通过tftp进行加载测试
------------------------------------------
Colibri iMX7 # tftp ${loadaddr} ecspi_interrupt_slave.elf
Using FEC0 device
TFTP from server 10.20.1.116; our IP address is 10.20.1.10
Filename 'ecspi_interrupt_slave.elf'.
Load address: 0x80800000
Loading: ################################################## 38.3 KiB
4.2 MiB/s
done
Bytes transferred = 39262 (995e hex)
Colibri iMX7 # bootaux ${loadaddr}
## Starting auxiliary core at 0x1FFF80D1 ...
------------------------------------------
d). SPI master和slave 数据传输测试
./ 首先上面的M4 firmware加载运行成功后,M4 调试串口打印信息如下:
------------------------------------------
-------------- ECSPI slave driver example --------------
This example application demonstrates usage of SPI driver in slave mode.
It responses to remote processor in SPI master mode.
SLAVE: Ready to transfer data with Master.
------------------------------------------