SSD2828有 mipi 协议的读操作

SPI_2825_WrCmd(0xc1);
SPI_WriteData(0x04);
SPI_WriteData(0x00);

SPI_2825_WrCmd(0xb7);
SPI_WriteData(0x90);// 82 50=TX_CLK 70=PCLK
SPI_WriteData(0x02);// 03 //Configuration Register

SPI_2825_WrCmd(0xbc);
SPI_WriteData(0x01);
SPI_WriteData(0x00);

SPI_2825_WrCmd(0xbf);
SPI_WriteData(0xda); ////dah 屏的ID 指令
Delay_ms(500);

SPI_2825_WrReg(0xd4, 0x00FA); ///spi read SSD2828

SPI_READ();


http://blog.csdn.net/g_salamander/article/details/9163455

你可能感兴趣的:(SSD2828有 mipi 协议的读操作)