XVF 3800 SPI interface communication debugging problems

If you have a simple question and just want an answer.
huchangbai
Newbie
Posts: 1
Joined: Mon Jun 23, 2025 2:04 am

XVF 3800 SPI interface communication debugging problems

Post by huchangbai »

In the demo main program main. c(/modules/io/test/lib_spi/spi_slave_rx_tx/src) of the board,
The variables defined in the text include:
port_t setup_strobe_port = XS1_PORT_1E;
port_t setup_data_port = XS1_PORT_16B;
port_t setup_resp_port = XS1_PORT_1F;
What do they represent and what role do they play in communication(setup_strobe_port、setup_data_port、setup_resp_port)?
You do not have the required permissions to view the files attached to this post.
User avatar
Ross
Verified
XCore Legend
Posts: 1197
Joined: Thu Dec 10, 2009 9:20 pm
Location: Bristol, UK

Post by Ross »

The file you reference is a test. These ports are just used for testing.
Technical Director @ XMOS. Opinions expressed are my own