This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Low Speed Serial Interface mode support in SPI

Hi All,

We are interfacing Nordic nRF52832 with our Display using SPI interface. As per display, Data / Command bit needs to be set at the beginning of transfer. Using this bit, Display differentiates Data and Command.

Below is the Technical note from Display datasheet: "The write mode of the interface means the micro controller writes commands and data to the LCD driver. 3-pins serial data packet contains a control bit D/CX and a transmission byte and in 4-pins serial case, data packet contains just transmission byte and control bit D/CX is transferred by the D/CX pin. If D/CX is “low”, the transmission byte is interpreted as a command byte. If D/CX is “high”, the transmission byte is stored in the display data RAM (Memory write command), or command register as parameter"

Please Let me know How nRF52 can be used to support this.

Thanks.

Parents
  • I have the same question. Using 4-bit SPI mode on the Display Controller side & I find no (efficient) way to control DCX from nRF52832 in concert with the SPI. Best option I have at this moment is to "manually" set DCX either HI or LO before the SPI transfer and to enact 2 transfers: 1st for the Command, 2nd for the Data. Is there not a more efficient way?

Reply
  • I have the same question. Using 4-bit SPI mode on the Display Controller side & I find no (efficient) way to control DCX from nRF52832 in concert with the SPI. Best option I have at this moment is to "manually" set DCX either HI or LO before the SPI transfer and to enact 2 transfers: 1st for the Command, 2nd for the Data. Is there not a more efficient way?

Children
No Data
Related