PIC18F26K40 I2C LCD not working
Posted: Mon Aug 06, 2018 11:38 am
Hi,
I have tryed to add i2c lcd with i2c address 63 to the board with pic18f26k40. After adding component and adding LCD Start macto program cant starting, 1 sec status led not working.
If i replace controller to PIC18F2620 in same board with same hardware and some program (only edit target) program works fine and lcd initialized.
If I delete LCDStart macro from 26K40 flowchart, program will start.
I think, it will be any bug in component or target code.
Just have installed last FC7 updates at 18.07.2018, but problem not solved.
I need to use 26k40, because need two UARTs for RTX and GPS.
PS. SSD1306 I2C OLED display have the same problem! After Initialize command program will crash. Seems as common i2c trouble in 26k40 chip component
Please help.
Thank you!
I have tryed to add i2c lcd with i2c address 63 to the board with pic18f26k40. After adding component and adding LCD Start macto program cant starting, 1 sec status led not working.
If i replace controller to PIC18F2620 in same board with same hardware and some program (only edit target) program works fine and lcd initialized.
If I delete LCDStart macro from 26K40 flowchart, program will start.
I think, it will be any bug in component or target code.
Just have installed last FC7 updates at 18.07.2018, but problem not solved.
I need to use 26k40, because need two UARTs for RTX and GPS.
PS. SSD1306 I2C OLED display have the same problem! After Initialize command program will crash. Seems as common i2c trouble in 26k40 chip component
Please help.
Thank you!