User manual
23
Figure 10. Configuration Read Command
5.2.9.9 Configuration Read Response
A read response will be sent back to the requesting address after a Read command is executed. The
Read packet command as shown in Figure 5 sets, up the address to read data from (Address
LSB/MSB) and how many 8-bit values to read (Count), and the return address bytes path. After the
Read command is executed a Read Response command will be issued and contains the data byte
pairs read from the specified address. A read response packet is shown below.
Figure 11. Configuration Read Response Command
NOTE: Please see UT200SpW4RTR Datasheet for more information
5.2.9.10 Router Configuration Example
Assume the user would like to write a value into the Configure Port Enable Register
residing at location 0x0102. Assume the user wants to configure the router such that only
the HOST port of the router can be used to send configuration packets. Configuring only
one configuration port on a router will prevent configuration packets being corrupted when
multiple ports are set up as configuration ports. If more than one port is set up as a
configuration port and more than one configuration command is sent within the router, the
configuration packets will be corrupted. The following example will show how to
configure the UT200SpW4RTR Router such that the System or HOST port is enabled and
SpaceWire ports 1 to 4 are disabled for configuration of the router.
SpaceWire Port 1
SpaceWire Port 2
SpaceWire Port 3
SpaceWire Port 4
HOST Port
Figure 12. 4-Port Router configuration for the following configuration example
Assume the user wants to write to the Configure Port Enable register in the Router. The user is
communication with the router via the HOST port or port 5. The first step is to use the write
configuration protocol to write the following packet into port 5 (HOST Port) of the router.