This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

用两个CC3200 Launchpad做SPI DMA的测试

Other Parts Discussed in Thread: CC3200, CC1310

请参考 https://github.com/yhpan0613/SimpleLink-CC3200/tree/mainstream_br/example/spi_udma_demo

main.c里面有个宏MASTER_MODE, 设置它为1的时候代表CC3200是spi master, 它为0的时候代表作为spi slave。

可用两个CC3200 Launchpad插在一起测试,请注意是用的4线的SPI。

这里面的代码加入了DMA的功能,可以做一些高速的SPI应用。