I' trying to connect DM368 to CMOS directly.
CMOS configuration is used by SPI communication.
Now, I use below code.
- struct spi_ioc_transfer tr ;
- ret = ioctl(fd, SPI_IOC_MESSAGE(1), &tr);
<CMOS SPI protocol>
/cs (H)--(L)___________________________--(H)
sdi : chipID(8bit) + Addr(8bit)+Data(8bit)
<But, I send /cs for 8bit 3times, not /cs for 24bit once>
/cs ---________---________---________---
sdi : chipID(8bit), Addr(8bit), Data(8bit)
Can you guide me how to lengthen /cs (from 8bit to 24bit)?
I'll wait for your reply.