Hi,
I am currently prototyping a project utilising the TPIC8101.
However, I cannot seem to place the IC into "advanced SPI mode".
This is confirmed by all commands being echoed back the same as they are sent (to be expected in "default SPI mode")
I send the following commands:
#, Request, Response, Description
1, 0b.0111.0001, 0b.0111.0001, // set to "advanced SPI mode"
2, 0b.0100.1100, 0b.0100.1100, // set oscillator to 16 MHz
3, 0b.1110.0000, 0b.1110.0000, // set first channel.
Is there example code on how to get this to work? I am interfacing with another two different SPI ICs on the same circuit, and have no problems with those chips, either sending commands or receiving data.
Some further information:
* /TEST is not connected.
* OUT is not connected.
* INT/HOLD is left low (testing only).
* /CS is placed low before each SPI command, and placed high after each SPI 8-bit command.
* SPI is set to Fosc/64 (where Fosc=16 MHz)
* SPI data from uC is sent on rising edge of SCK, and clock idle state is low. ("SPI mode 0,0")