UM0935
Running the IBU UI tool
Doc ID 17398 Rev 3
21/53
The SPI register address length can range from 0 to 4 bytes. Depending on the address
length given, the register address should be provided in hex format. For instance, if the
register address is 3 bytes, its value should be in the form 0x123.
Then, provide values, to read and write from the slave device, to the tool. Data to be written
should be provided in the hex format. After every read or write operation, the tool provides
the status (e.g. status: communication complete/bus free) so that the status of the SPI
communication taking place between the IBU UI board and the SPI slave daughter board
can be checked. Please note that the number of bytes to be written should be non-zero and
in decimal format. The status messages are of the following types depending on the
communication that has taken place:
●
Communication complete/bus free
●
SPI timeout
●
Other reasons: this occurs when the user tries to perform read/write operations with a
data length equal to zero.
Also, there is a communication status LED available on the board. It lights up whenever
there is any type of communication error of type 2) or 3) above. The LED status is updated
after each read or write operation.
Depending on the CPHA and CPOL values, the transfer sequence for one byte of SPI is
shown in
.
Therefore this interface allows any SPI interface based slave device to be connected and
tested.
3.3
Using the UART(SCI) interface of the 10-pin header
To use the UART1 interface, it must be selected by sending the command from the DLL, as
mentioned in the DLL help file. After this, the board is ready to be used in UART1 mode. The
section below explains how the tool and its features behave once selection has been made
using the DLLs and it also explains how the hardware setup is to be done.
below
shows the interpretation of the 10-pin headers when it is configured in UART mode.
Figure 15.
J1 interpretation for UART (SCI) interface
Содержание STEVAL-PCC009V2
Страница 4: ...Contents UM0935 4 53 Doc ID 17398 Rev 3 Appendix D Tables and figures 50 Revision history 52...
Страница 42: ...UM0935 Schematics and BOM list Doc ID 17398 Rev 3 42 53 Figure 32 10 pin com interface V...
Страница 43: ...Schematics and BOM list UM0935 43 53 Doc ID 17398 Rev 3 Figure 33 30 pin com interface V...