Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Thread Tools Display Modes
Old 5th January 2008, 06:07 PM   (permalink)
New Member
RobertS is on a distinguished road
Default Master and Slave LCD sim?

I have a commercial circuit which uses a mask ROM mcu which receives and transmits data via the I2C bus. It receives data to display via a slave MCU and the master then transmits to the LCD driver controller to display dot matrix graphics.

The master MCU needs to be viewed as a "black box" since it is not possible code to view/disassemble (unless I am mistaken).

What I want to do is add my own slave MCU to the bus to display data when the master is not actively display text and graphics.

I hope to use Proteus ISIS to simulate communication between master mcu and LCD, and slave mcu and LCD via the I2c bus to help me learn and develop my idea. I would be using AVR Studio 4 to develop code using GNU GCC (WinAVR).

Is anyone aware of a project that I can simulate to help me on my way?
Thanks for your help.
RobertS is offline   Reply With Quote
Old 5th January 2008, 06:28 PM   (permalink)
Experienced Member
 
Papabravo is a glorious beacon of lightPapabravo is a glorious beacon of lightPapabravo is a glorious beacon of lightPapabravo is a glorious beacon of light
Default

Is the content of the I2C messages documented? If not I'd be in favor of going directly to the display.
Papabravo is offline   Reply With Quote
Old 5th January 2008, 06:44 PM   (permalink)
New Member
RobertS is on a distinguished road
Default

It's not documented, although there is the option to sniff and log all traffic and reverse engineer the protocol.

Your suggestion about going direct to the display driver would probably be less painful an exercise.

One question I have about this is how would the slave knows when when it is free to transmit or to wait? Is there a busy pin or similar the slave can poll?

When using the PG12864F LCD for example, is there a way to call up a data sheet for this device from Proteus ISIS to learn of pinout and programming?

EDIT: Ctrl-D should bring up the data sheet for the highlighted part, Proteus reports the sheet is not available however.

Last edited by RobertS; 5th January 2008 at 07:38 PM.
RobertS is offline   Reply With Quote
Old 5th January 2008, 11:59 PM   (permalink)
Experienced Member
 
Papabravo is a glorious beacon of lightPapabravo is a glorious beacon of lightPapabravo is a glorious beacon of lightPapabravo is a glorious beacon of light
Default

What exactly is Proteus ISIS and why are you relying on them for datasheets?
Follow the link:
http://www.datasheet4u.com/html/p/g/...ERTIP.pdf.html

Last edited by Papabravo; 6th January 2008 at 12:02 AM.
Papabravo is offline   Reply With Quote
Old 6th January 2008, 12:35 AM   (permalink)
New Member
RobertS is on a distinguished road
Default

Quote:
Originally Posted by Papabravo
What exactly is Proteus ISIS and why are you relying on them for datasheets?
Its mixed mode simulation software

Follow the link:
http://www.datasheet4u.com/html/p/g/...ERTIP.pdf.html
Details are a bit sparse. I'm sure I could find it with Google but that wasn't my question.
RobertS is offline   Reply With Quote
Old 6th January 2008, 02:09 AM   (permalink)
Experienced Member
 
bananasiong is a glorious beacon of lightbananasiong is a glorious beacon of lightbananasiong is a glorious beacon of lightbananasiong is a glorious beacon of light
Default

Proteus ISIS is the simulation tool by labcenter.
http://www.labcenter.co.uk/index.cfm

RobertS,
Just search the datasheet from google for any device.
__________________
Superman Returns..
http://www.supermanhomepage.com/imag...an-returns.gif

My friend created this account for me.. LOL
http://bananasiong.myminicity.com
oh.. somemore
http://bananasiong.myminicity.com/env
bananasiong is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
Interesting PIC to PIC USART question NJ Roadmap Micro Controllers 34 28th February 2007 02:42 PM
uC 'network' reset circuitry rockin_rick Electronic Projects Design/Ideas/Reviews 8 30th May 2006 01:03 AM
I2C mssp help with master to slave comm PicChristmas Micro Controllers 1 16th July 2005 05:31 AM
Master and Slave umer007 Electronic Projects Design/Ideas/Reviews 1 30th March 2004 02:38 AM
DS1820 slave, 16F877 master, picbasic pro, any info? jessey Micro Controllers 5 25th September 2003 07:21 AM



All times are GMT. The time now is 10:37 AM.


Electronic Circuits  |  Radio Controlled
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.