6 years ago
Modifications to SPS for bidirectional data flow
Posted byhughesk0 points 3 repliesHello,
What are the recommended modifications to the SPS code to make it a bidirectional serial port, if both sides of the link are DA14580 chips?
It seems that it should be as simple as an extra scheduling call in arch_main.c.
Thanks!
6 years ago
Hello dhshin, it is over UART.... wihtin the design the UART driver that handles what gets pushed into / out of the buffers. Section 5.1.3 and 5.1.4 of the user manual give a good description. Please let me knowo if that answer your question. BR JE_Dialog
6 years ago
你好Hughdesk,只要你有一个d as a MASTER, the other as a SLAVE, the serieal port service profile will support bi-directional flow. There are two projects in the download : one is a device (SLAVE), one is a host (MASTER) . You can use this on on PC with a COM port for each device, and a terminal for each device.
BR JE_Dialog