Link ports allow the processor to connect to other processors or peripheral link ports using a simple communication protocol for high-speed parallel data transfer. This peripheral allows a variety of I/O peripheral interconnection schemes to I/O peripheral devices as well as co-processing and multiprocessing schemes.This document describes how to do a data transaction test via link ports on SC5xx EZ-Board.
Connect the LINK PORT 0 and LINK PORT 1 with the matched cable in the target board.
The following configuration should be done on top of the SC589-ezkit/SC584-ezkit/SC573-ezkit default configuration.
You should also enable the linkport-test program to assist with testing. Add the linkport-test program in the filesystem images, it's enabled in adsp-sc5xx-full image by default.
vim build/conf/local.conf IMAGE_INSTALL_append = "linkport-test"
Enable Linkport driver
Device Drivers ---> Character devices ---> <*> ADI LINKPORT driver
Note: For SC589-ezkit/SC584-ezkit/SC573-ezkit:
[*] Networking support ---> <N> CAN bus subsystem support ---- Device Drivers ---> <N> Memory Technology Device (MTD) support ---- [N] SPI support ---- [N] Network device support ----
Then run bitbake linux-adi -C compile to generate kernel image zImage and dtb file.
Note: nfsboot can't work without the network support
linkport_test will send data to linkport1, and receive data from linkport0, then verify the data.
# linkport_test linkport test passed