Part Number: AFE031
Other Parts Discussed in Thread: C2000WARE
In the AFE031 datasheet (SBOS531D), page 35, it states....
A host SPI frame consists of a R/W bit, a 6-bit register address, and eight data bits.
This lead me to believe the frame is 15 bits (where 6 bits are address).
But in C2000ware example
C:\ti\c2000\C2000Ware_1_00_03_00\device_support\f2837xd\examples\cpu1\boostxl_afe031_f28379d_pwmmode\cpu0\afe031_config.c
in function void HAL_afe031_regWrite(UINT16 addr, UINT16 data),
it appears the frame is 16 bits (1 RW bit, 7 address bits, 8 data bits).
Is the datasheet wrong or did I read it incorrectly?
Am I correct to think the SPI bits shift-out should be
RW | Addr6 | Addr5 | Addr4 | Addr3 | Addr2 | Addr1 | Addr0 | Data7 | Data6 | Data5 | Data4 | Data3 | Data2 | Data1 | Data0
Thanks for your help.