Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

Accessing AT24C32 Memory

AT24C32 memory 32K SQW

  • Please log in to reply
4 replies to this topic

#1 tridy

tridy

    Advanced Member

  • Members
  • PipPipPip
  • 68 posts
  • LocationStockholm, Sweden

Posted 13 July 2015 - 09:30 AM

Hello.

 

The clock module that I have has also a 32K memory that should be possible to access.

 

Since 4 pins are already used for the clock and power, then probably 32K and SQW pins should be connected as  to Netduino for the memory access. Could someone help me with the wiring please?

 

Attached File  32K.png   472.02KB   1 downloads

 

Thanks!



#2 Nevyn

Nevyn

    Advanced Member

  • Members
  • PipPipPip
  • 1072 posts
  • LocationNorth Yorkshire, UK

Posted 13 July 2015 - 03:08 PM

Do you have a link to the data sheet for the module?

 

Regards,

Mark


To be or not to be = 0xFF

 

Blogging about Netduino, .NET, STM8S and STM32 and generally waffling on about life

Follow @nevynuk on Twitter


#3 tridy

tridy

    Advanced Member

  • Members
  • PipPipPip
  • 68 posts
  • LocationStockholm, Sweden

Posted 13 July 2015 - 05:24 PM

device: http://www.ebay.com/...=STRK:MEBIDX:IT

 

"Memory chips: AT24C32 (storage capacity 32K)"

 

here is a datasheet

http://cdn2.boxtec.c...rse/AT24C32.pdf

 

I have found a similar device and it has a description of the wiring for Arduino:

http://www.sainsmart...vr-arm-pic.html

 

Attached File  wiring.png   405.2KB   0 downloads

 

since all but 32K and SQW connectors are occupied and for another device matching SQ connector is not used but DS is used for connecting to a Digital, it is probably a good shot to try a 32K connected to a Digital Netduino input. What do you think?

 

 

 

 

 

 



#4 Nevyn

Nevyn

    Advanced Member

  • Members
  • PipPipPip
  • 1072 posts
  • LocationNorth Yorkshire, UK

Posted 13 July 2015 - 05:51 PM

I'm wondering if the two devices are just connected to the same I2C bus.

 

From the clock chip data sheet  it looks like the clock chip is set up with address 0x68 (0b1101000) and the memory chip is going to be in the range 0x50-0x57.

 

I would try firstly reading from the clock chip periodically to see if the seconds count increments at a regular frequency.

 

Once that is complete I'd try cycling through the memory chip range (0x50-0x57) and write to an address and then read the data back.

 

I'd do all this with the four pins connected that you have identified and also do this at low speed first.

 

Regards,

Mark


To be or not to be = 0xFF

 

Blogging about Netduino, .NET, STM8S and STM32 and generally waffling on about life

Follow @nevynuk on Twitter


#5 alesbedac

alesbedac

    Advanced Member

  • Members
  • PipPipPip
  • 63 posts

Posted 18 July 2015 - 04:38 PM

Hi Mr. Nevyn,

i am now working with same shield. 
The Eeprom is really on 0x50 (A0-A2 are also with GND connectd).

 

But i am able to read data only, writing is not working. The WP (write protect pin) is to GND connected.

Have you any idea about sollution ?

Thanks for answer

 




 







Also tagged with one or more of these keywords: AT24C32, memory, 32K, SQW

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.