Page 1 of 1

PIC24FJ1024GB610 I2C Channel3 problem

Posted: Mon Jan 01, 2024 7:34 pm
by Sasi
Hello,

Happy New Year to everyone!

I tried the SHT-31 sensor on the Clicker2 panel.
The MCU type is PIC24FJ1024GB610.
If I select Channel 3 in the "Grove Component SHT31" Component Properties window, I get the attached error message from the compiler.

Regards,
Sasi
PIC24FJ1024GB610 I2C_test.fcfx
(16.05 KiB) Downloaded 84 times

Re: PIC24FJ1024GB610 I2C Channel3 problem

Posted: Tue Jan 02, 2024 9:26 am
by Steve-Matrix
It looks like there is an issue using Channel 3 for the I2C for this chip. If you change this to Channel 1 or 2 (or use software mode) then it should be ok.

Re: PIC24FJ1024GB610 I2C Channel3 problem

Posted: Tue Jan 02, 2024 11:06 am
by Sasi
That's right.
There is only a problem with channel 3.
But I don't think it's a chip bug because I get an error message from the compiler about references to undeclared variables.