Any success to use I2C module with 18FxxK42 on MikroC pro?
Posted: 04 Oct 2021 05:03
Hi,
I'm struggling to make work I2C module (different from other PIC18) on the 18F26K42.
MikroC Pro is using special routine for this PIC and so far, cannot make it work.
Init is done and code block on the first I2C1_Wr operation. On the scope, SDA/SCL jump high and stayed there. No start ever send.
Display SSD1380 is connected to normal RC3 and RC4.
Tried many things, mapping with PPS, open drain, etc...
Anyone succeed to use this integrated module with MikroC pro ?
Thanks,
Laurent
I'm struggling to make work I2C module (different from other PIC18) on the 18F26K42.
MikroC Pro is using special routine for this PIC and so far, cannot make it work.
Init is done and code block on the first I2C1_Wr operation. On the scope, SDA/SCL jump high and stayed there. No start ever send.
Display SSD1380 is connected to normal RC3 and RC4.
Tried many things, mapping with PPS, open drain, etc...
Anyone succeed to use this integrated module with MikroC pro ?
Thanks,
Laurent