Hi,
I’m using Flowcode v10.1.2.40 with a PIC18F87K22 target.
When I use the I2C RTC component (e.g., DS3231/3232) on I2C channel 1, everything compiles and works fine.
However, when I switch the component to I2C channel 2, I get compilation errors related to undefined registers (e.g., SSP2PIRPbits). I’ve confirmed that the same error doesn’t occur on channel 1.
It seems the RTC component may not fully support MSSP2. Is there a fix, update, or workaround for using RTC on I2C channel 2?
Thanks!
— Jack
RTC Component Fails on I2C Channel 2 (PIC18F87K22, Flowcode v10.1.2.40)
-
ddllc
- Posts: 5
- http://meble-kuchenne.info.pl
- Joined: Wed Apr 07, 2021 12:22 am
- Location: Southern California
- Has thanked: 1 time
- Contact:
-
BenR
- Matrix Staff
- Posts: 2305
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 637 times
- Been thanked: 847 times
Re: RTC Component Fails on I2C Channel 2 (PIC18F87K22, Flowcode v10.1.2.40)
Hi Jack,
Thanks for letting us know. Please can you attach your project containing the problem and I'll investigate for you. I'll also look into the I2C on channel 2 for this device and make sure the I2C peripheral is compiling as it should.
Thanks for letting us know. Please can you attach your project containing the problem and I'll investigate for you. I'll also look into the I2C on channel 2 for this device and make sure the I2C peripheral is compiling as it should.
-
ddllc
- Posts: 5
- Joined: Wed Apr 07, 2021 12:22 am
- Location: Southern California
- Has thanked: 1 time
- Contact:
Re: RTC Component Fails on I2C Channel 2 (PIC18F87K22, Flowcode v10.1.2.40)
Thank you very much. See attached. Jack
- Attachments
-
- BLH_G3_5.fcfx
- (10.48 KiB) Downloaded 223 times
- (view online)