PreviousNext
UserPeripheral-SPImaster
Help > Custom DPA Handler > Examples > UserPeripheral-SPImaster

This example shows how to connect the SPI slave device to the DCTR [N] so the [N] behaves as SPI master. IQRF OS SPI support implements only the SPI slave side. SPI slave device is controlled using custom command passed to the custom DPA peripheral. See the source code for full details.

 

Self-study tip: Connect ordinary another DCTR [N] with DPA SPI peripheral being enabled thus playing the role of SPI slave. Try to communicate bi-directionally between the two Nodes.