SCMDSPI(4) | Device Drivers Manual | SCMDSPI(4) |
scmdspi
— SPI
frontend to the Sparkfun Serial Controlled Motor Driver
scmd* at spi? slave 0
scmd* at spi? slave 1
The scmdspi
driver provides the SPI
frontend attachment for the Sparkfun SCMD device.
The following sysctl(3) variables are inherited from scmd(4) :
hw.scmd0.debug
SCMD_DEBUG
, this
node will appear and can be used to set the debugging level.iic(4), spi(4), scmdi2c(4), scmdspi(4), scmdctl(1), sysctl(8)
The scmdspi
driver first appeared in
NetBSD 10.0.
The scmdspi
driver was written by
Brad Spencer
<brad@anduin.eldar.org>.
When used in SPI mode, the SCMD device uses an odd method of doing reads that can become stuck. See the command spi_read_one in the scmdctl(1) utility to try and unstick the device when this happens.
December 1, 2021 | NetBSD 10.99 |