Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
I'm pretty new in using the PSOC. Now I'm using CY8C3866AXI to control TLC5922 through SPI. This needs to change the data width of the spi from 8 to 7 or vice versa time to time . but SPIM_DATA_WIDTH is generated automatically in SPIM.h. So,how can change it ? thank you!
Reading the data sheet, I don't see the need for 7 bit transfer. The TLC5922 wants to get either 16 bits (2 bytes) or 112 bits (14 bytes). The first amounts to 1 bit per LED, the second one to 7 bit per LED. But for both you can use a SPI master configured to 8-bit-words.