All About Circuits Forum  

Go Back   All About Circuits Forum > Software, Microcomputing, and Communications Forums > Embedded Systems and Microcontrollers


Embedded Systems and Microcontrollers Discussion forum for projects and working with embedded systems and microcontrollers (FPGAs, PICs, AVRs). Get help with hardware issues and embedded programming.

Reply   Post New Thread
Thread Tools Display Modes
Old 03-29-2011, 06:29 AM
jibanforum jibanforum is offline
New Member
Join Date: Mar 2011
Posts: 1
Default i2c rtc code

hello i want to interface rtc using i2c am using pcf8523 chip i need the code in asm how to control the resistors accessing the register plz help me out.
Reply With Quote
Old 03-29-2011, 03:12 PM
beenthere's Avatar
beenthere beenthere is offline
Senior Member
Join Date: Apr 2004
Location: Missouri, USA (GMT -6)
Posts: 15,815
Blog Entries: 10

I doubt is anyone has that code for you, but you might explain in more detail what you are trying to do.

The RTC chip has a data sheet that describes it operation? Do you have it and do you understand it?

how to control the resistors accessing the register
This makes no sense. If your microprocessor has an I2C interface, it also has a data sheet that describes how to pass data through it.

Assembler code is different for every microprocessor and application.
First comes the hardware, then the software.
Reply With Quote
The Following User Says Thank You to beenthere For This Useful Post:
jibanforum (03-30-2011)
Old 04-04-2011, 07:37 AM
HallMark's Avatar
HallMark HallMark is offline
Join Date: Apr 2011
Location: {GMT +5.30} ~India~
Posts: 91

If you are aware of C language and going to write code in C then you may be get some reference code for the I2C.
Reply With Quote
Reply   Post New Thread

, ,

Related Site Pages
Section Title
Worksheet Shift registers
Worksheet Memory devices
Worksheet Digital display circuits
Textbook Microprocessor programming : Principles Of Digital Computing
Textbook Microprocessors : Principles Of Digital Computing
Video Lecture Hardware: IO, RTC, PS - Microprocessors
Video Lecture Representative System (Part 2) - Computer Hardware - Microprocessors
Video Lecture Microprocessor bus Networks - Microprocessors
Textbook Parallel-in, parallel-out, universal shift register : Shift Registers
Textbook Serial-in, parallel-out shift register : Shift Registers

Similar Threads
Thread Thread Starter Forum Replies Last Post
source code for rtc using i2c protocol santu Embedded Systems and Microcontrollers 2 03-14-2011 10:51 PM
Generate Morse Code by Mplab. Need Help! morgan Homework Help 1 07-25-2010 12:08 AM
HEX code TO assembly code pic16f84a servo motor code longcrystal Embedded Systems and Microcontrollers 4 04-10-2010 06:15 PM
I2C code help RoboticFan87 Programmer's Corner 3 11-19-2009 04:40 PM
PIC18F452, I2C and SEEPROM Bejitto Embedded Systems and Microcontrollers 2 11-08-2009 11:38 PM

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 02:35 PM.

User-posted content, unless source quoted, is licensed under a Creative Commons Public Domain License.
Powered by vBulletin
Copyright ©2000 - 2014, vBulletin Solutions, Inc.