SUPER_spi_slave2

所属分类:其他
开发工具:C/C++
文件大小:6KB
下载次数:5
上传日期:2018-08-13 17:38:41
上 传 者TWick
说明:  ESP32 source code for SPI project to send and receive.

文件列表:
spi_slave2\receiver2 (0, 2018-08-13)
spi_slave2\receiver2\main2 (0, 2018-08-13)
spi_slave2\receiver2\main2\app_main2.c (4656, 2018-08-13)
spi_slave2\receiver2\main2\component2.mk (650, 2018-08-13)
spi_slave2\receiver2\Makefile2 (559, 2018-08-13)
spi_slave2\sender2 (0, 2018-08-13)
spi_slave2\sender2\main2 (0, 2018-08-13)
spi_slave2\sender2\main2\app_main2.c (5899, 2018-08-13)
spi_slave2\sender2\main2\component2.mk (315, 2018-08-13)
spi_slave2\sender2\Makefile2 (197, 2018-08-13)

YES BYAOKSdjklj dkj***] as ]as] dasp[;dk '## SPI slave example These two projects illustrate the SPI Slave driver. They're supposed to be flashed into two separate ESP32s connected to eachother using the SPI pins defined in app_main.c. Once connected and flashed, they will use the spi master and spi slave driver to communicate with eachother. The example also includes a handshaking line to allow the master to only poll the slave when it is actually ready to parse a transaction. Please run wires between the following GPIOs between the slave and master to make the example function: ========= ====== ======= Signal Slave Master ========= ====== ======= Handshake GPIO2 GPIO2 MOSI GPIO12 GPIO12 MISO GPIO13 GPIO13 SCLK GPIO15 GPIO15 CS GPIO14 GPIO14 ========= ====== ======= Be aware that the example by default uses lines normally reserved for JTAG. If this is an issue, either because of hardwired JTAG hardware or because of the need to do JTAG debugging, feel free to change the GPIO settings by editing defines in the top of main.c in the master/slave source code.

近期下载者

相关文件


收藏者