NHD-1.69-160128G (SEPS525) SPI Problem
I have a problem with the SPI interface and my SAM4E16E µC.
what did i try:
1) test the arduino example code with an arduino:
2) remove unused code and create an AtmelStudio project.
display works. (attachment: main_soft_spi.png / soft_spi.png)
the picture shows the first init command (regarding signal course SCL/SDI).
3) change the three low-level functions
void OLED_Command_160128RGB(unsigned char c)
spi_write_packet(SPI_MASTER_BASE, &c, 1);
SPI clock: 1MHz
SPI Mode 3
it looks similar, but the display stay dark.
do you have an idea, what i can try or change?
RS Pin should be HIGH in the OLED_Data_160128RGB() function, not LOW. ;)0
Thank you for the update, glad to hear the problem was solved.0
Please sign in to leave a comment.