24C16 component - Resolved

Moderator: Benj

Post Reply
DCW
Posts: 64
Joined: Mon Sep 28, 2015 8:19 pm
Has thanked: 14 times
Been thanked: 10 times
Contact:

24C16 component - Resolved

Post by DCW »

Hello folks... I have attached a flowchart - I used for 24C32.. which eventually I got working on 24C32..
Having done this.. datasheets shows me, that 24C16 should work just as well... with no hardware changes..
So I changed to 24C16... component... and unfortunately the program has stopped working...
The 24C32 is 4096 x 8... the 24C16 is just 2048 x 8... so there is thus only half the space - fine... my program only uses part of this... in either case...
I also noted that when you add the 24C16 component to the 2D dashboard... it displays as a 32K EEPROM...

So please guys can someone check all this - and fix it up...

Thanks very much...
Kindest Regards

GOD BLESS

DCW...
Attachments
EEPROM 24C16 writer program-PIC16F1936-for 8 port alarm-FC-8.2.fcfx
(120.27 KiB) Downloaded 186 times

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
Contact:

Re: 24C16 component - NOT FUNCTIONING??

Post by LeighM »

Hi,
Just to check…
Are you using 24C16 Flowcode component with a 24C16 device,
and 24C32 Flowcode component with a 24C32 device?
24C32 and 24C16 work differently.

DCW
Posts: 64
Joined: Mon Sep 28, 2015 8:19 pm
Has thanked: 14 times
Been thanked: 10 times
Contact:

Re: 24C16 component - NOT FUNCTIONING??

Post by DCW »

Hello Leigh... REALLY... I did not know that....
The datasheets I have from ST... show that they are like "really" identical... (excepting for the size..)???
So I expected that the 24C16 component.. should just work on the 24C32... BUT only address a max of 16K... odd...???

Leigh - I ALWAYS WANT TO LEARN ANYTHING NEW..??? PLEASE..??

Can you show me what I must look for in the datasheets - so that I can read... where the exact differences are...

I know that there is a real difference in the W... styled chips.. but I ain't got any of those chips....!!

So I expected the two to work...??? the same...???

BUT as I say - PLEASE can you show me where they are different.... THEN I WILL HAVE LEARNED SOMETHING NEW - for the day...

Thanks Leigh....!!!
Kindest Regards...

I will go look again...!!!

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
Contact:

Re: 24C16 component - NOT FUNCTIONING??

Post by LeighM »

The I2C protocol is different, for example to write data into a location...
24C16 has 3 bytes: device address + page address, location address, data
24C32 has 4 bytes: device address, location address high byte, location address low byte, data

DCW
Posts: 64
Joined: Mon Sep 28, 2015 8:19 pm
Has thanked: 14 times
Been thanked: 10 times
Contact:

Re: 24C16 component - NOT FUNCTIONING??

Post by DCW »

Hello Leigh... YES OF COURSE... Sir... That is absolutely correct.....!!

I thank you very much for pointing this out to me...??? Silly me... I just overlooked that completely....!!

So ... now - are you folks... gonna construct further sized components... for like 24C64 ... and say 24C256...??? in the future... or do we construct our own... components for those... size devices...!!!..

Thanks again Leigh..!!!

Kindest Regards...!!!

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
Contact:

Re: 24C16 component - NOT FUNCTIONING??

Post by LeighM »

Due to the (up to) 16 bit address range of the 24C32 component, it should work with those larger devices too.

Post Reply