2013-07-08 06:09 PM
Accoding to the IC datasheet, the number of bytes during a spi transfer can be 1 to 3 bytes, with a single chip select at the start..
however, the sample code (for set/get parameters) calls easySPIN_Write_Byte for EVERY byte... this would toggle chip select for every byte, rather than at the start and finish of a multibyte transfer. Am I missing something obvious?2013-07-30 09:20 AM
This seems to be a slight misunderstanding. An arguments of device commands can actually vary in length from 1 to 3 bytes, but physically they are still transfered via SPI as separated bytes. Instead, transfering more than one byte over SPI with CS signal down is used in a daisy-chain configuration..