I2C SPI USB CAN eSPI Cable Testing View All Quick Start Guides User Manuals Software Downloads Knowledge Base Videos Case Studies App Notes White Papers Sales Support About Us
Products Blog Sales Support Contact Search
Why Does the Aardvark Adapter Toggle Slave Select Before Data Transmission in My SPI Master Setup?
I'm using the Aardvark I2C/SPI Host Adapter as an SPI Master and when I do a write, the Slave Select line is toggled before the data is sent. This causes an incorrect transmission from my slave device. What's wrong with my setup?

When idle, the Aardvark I2C/SPI Host Adapter is not connected to the SPI bus and the SPI lines are left in a high impedance state. Just before an SPI write occurs, the Aardvark adapter will attach to the bus and drive the lines as appropriate. If there are no other devices on the SPI bus to actively drive the lines, the voltage on the slave select line can flutter. It is therefore required that the Slave Select line have a pullup resistor to prevent this fluttering. It is also advisable to have a pullup resistor on MOSI and SCK.

For more information, please refer to the Pin Driving subsection of the SPI Signaling Characteristics section of the Aardvark adapter user manual.