Hi E,hi,
What is the Clock frequency on the non working module/program.?
E
All program use 8MHz, the last uses an 8MHz Crystal. No PLL.
C.
Hi E,hi,
What is the Clock frequency on the non working module/program.?
E
Hi J,Gosub print is missing from the last program.
It explains why the temperature and pressure are not shown on the LCD.
It is commented out.Hi J,
I presume you mean the latest program in #308! I see it just above GOTO MAIN.
I've found other issues with the last program, so I'll have to check it all again.
C
Hi J,It is commented out.
''Gosub print 'TESTESTEST#####################################
''Gosub get_data 'TESTEST###########################
Goto main
Hi J,Clearly the program in #308 is different from the program you are working on.
I don't see any #325 program, only a screenshot from some secret programHi J,
The screen shot from #325, is what I see if I click on it. This is strange isn't it.
I've been changing the #325 program slightly many times since then to get it to work.
I'm now going to try a very early much shorter 5110 program on a different TEST PCB.
C
Hi E,Hi C,
Just in case you don't have the 551o datasheet.
Check page #20.
E
Hi E,hi C,
You don't add those parameters to the program code, it is posted just to show the internal timing as a reference only for the LCD.
E
Hi J,Is the #333 working in the new PCB?
Hi J,I think I have found the error.
You have defined SPI_CS = PORTD.4 which is CS for LCD.
Everytime, when in the program there is SPICSON, LCD is selected even when BMP280 is selected by its own CS.
You can remove all SPICSON SPICSOFF and set/clear the actual chip selects by using the PORTD bits.