Serial EEPROM 24C32

Moderator: Benj

Post Reply
Lord Grezington
Flowcode V4 User
Posts: 288
Joined: Wed Nov 02, 2011 11:15 pm
Has thanked: 29 times
Been thanked: 30 times
Contact:

Serial EEPROM 24C32

Post 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

stefan.erni
Valued Contributor
Valued Contributor
Posts: 654
Joined: Fri Aug 19, 2016 2:09 pm
Location: switzerland
Has thanked: 182 times
Been thanked: 179 times
Contact:

Re: Serial EEPROM 24C32

Post 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
DSP-PIC.PNG
(146.23 KiB) Downloaded 17 times

Lord Grezington
Flowcode V4 User
Posts: 288
Joined: Wed Nov 02, 2011 11:15 pm
Has thanked: 29 times
Been thanked: 30 times
Contact:

Re: Serial EEPROM 24C32

Post 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

Post Reply