I have reviewed the datasheet and am a bit confused as to how the address is selected and triggered in the scheme of the SPI COM. I am attempting to use a National Instruments USB-8451 (CLK-2Meg) device which uses basic SPI architecture. Device outputs signal, I can observe message framework change with byte adjustment, I believe that I am missing something here. From what I gathered,16 bytes are pulsed between CS low - high (1)(2)(3)(4)(5)(6)(7)(8)(9)(10)(11)(12)(13)(14)(15)(16).
Its my understanding that the IC works in MSB and CMD is byte (1). The datasheet suggest that CMD should be 1 (High) when write function is desired,
Does this mean that byte(1) should be (255/0xFF/1111 1111)?
is there more to this.
when address is selected such as control (address 00h) does this mean byte (2)-(6) are zeros
(255/0xFF/1111 1111)(0000 0000)(0000 0000)(0000 0000)(0000 0000)(0000 0000)(Par)(D8)(D7)(D6)(D5)(D4)(D3)(D2)(D1)?
Where is the actual control command placed? example. Such as LED1&2 ON (datasheet states bit 0 & bit 1 of address 00h, what byte is this placed in?
(255/0xFF/1111 1111)(0000 0000)(0000 0000)(0000 0000)(0000 0000)(0000 0000)(Par)(D8)(D7)(D6)(D5)(D4)(D3)(255/0xFF/1111 1111)(255/0xFF/1111 1111)
Thank you
Respectfully,
New Guy.