Page 1 of 1
Serial EEPROM 24C32
Posted: Thu Jun 11, 2020 12:21 pm
by Lord Grezington
Hi All
I am using the dsPIC33EP32MC204 with a external EEPROM 24C32.
The 24C32 works perfectaly when I use software mode, but I get no I2C when I use hardware mode channel 2 (SDA on B5 and SCL on B6).
Can anyone help with a fix?
Thanks
Re: Serial EEPROM 24C32
Posted: Thu Jun 11, 2020 1:35 pm
by stefan.erni
Hi Lord Grezington
I guess this PIC has only 1channel which you can connect to either B4 B5 or B8 B9. If you have a few more I2C components on board, check which PIN they are connected to. Maybe you can switch these others to software, to try out whether the EEprom runs with I2C.
regards
Stefan
Re: Serial EEPROM 24C32
Posted: Thu Jun 11, 2020 4:56 pm
by Lord Grezington
Hi Stefan
I am fairly sure the dsPIC33EP32MC204 device does have two hardware I2C channels. I only need one channel (channel 2) using B5 & B6. I can not change these pins as the design is on a PCB.
The 24C32 works perfectly when I use software B5 and B6, but as soon as I switch to the hardware option there is no signals on either pin.
Thanks