
GRMON3-UM
June 2019, Version 3.1.0
193
www.cobham.com/gaisler
88. spi - syntax
NAME
spi - Commands for the SPI controller
SYNOPSIS
spi
subcommand
?
args...
?
spi
index
subcommand
?
args...
?
DESCRIPTION
This command provides functions to control the SPICTRL core. If more than one core exists in the system, then
the index of the core to control should be specified after the spi command (before the subcommand). The '
info
sys
' command lists the device indexes.
spi aslvsel
value
Set automatic slave select register
spi disable
spi enable
Enable/Disable core
spi rx
Read receive register
spi selftest
Test core in loop mode
spi set ?
field ...
?
Sets specified field(s) in Mode register.
Available fields: cpol, cpha, div16, len
value
, amen, loop, ms, pm
value
, tw, asel, fact, od, tac, rev,
aseldel
value
, tto, igsel, cite
spi slvsel
value
Set slave select register
spi status
Displays core status information
spi tx
data
Writes data to transmit register. GRMON automatically aligns the data
spi unset ?
field ...
?
Sets specified field(s) in Mode register.
Available fields: cpol, cpha, div16, amen, loop, ms, tw, asel, fact, od, tac, rev, tto, igsel, cite
Commands for automated transfers:
spi am cfg ?
option ...
?
Set AM configuration register.
Available fields: seq, strict, ovtb, ovdb
spi am per
value
Set AM period register to
value
.
spi am act
spi am deact
Start/stop automated transfers.
spi am extact
Enable external activation of AM transfers
spi am poll
count
Poll for
count
transfers
SPI Flash commands:
spi flash
Prints a list of available commands
Содержание GRMON3
Страница 56: ...GRMON3 UM June 2019 Version 3 1 0 56 www cobham com gaisler...
Страница 114: ...GRMON3 UM June 2019 Version 3 1 0 114 www cobham com gaisler...
Страница 123: ...GRMON3 UM June 2019 Version 3 1 0 123 www cobham com gaisler dcache...
Страница 156: ...GRMON3 UM June 2019 Version 3 1 0 156 www cobham com gaisler SEE ALSO Section 6 13 On chip logic analyzer driver...
Страница 208: ...GRMON3 UM June 2019 Version 3 1 0 208 www cobham com gaisler SEE ALSO Section 3 5 Tcl integration...