Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] Multiple microcontrollers

2005-12-02 by Laurens Swaans

Thanks Tom,
   
  It's good to hear that someone has already succesfully used this idea. I've almost finished the PCB lay-out. Looks pretty need!
   
  Regards, Laurens

Tom Walsh <tom@...> wrote:
  laurensswaans wrote:

>Hello,
>
>I've got a design where 2 LPC2129 will be used. They will 
>communicate with eachother. My first guess is that the clocksignals 
>for both controllers should be the same to prevent phase-shift or 
>small frequency differences when using two crystals.
>
>I believe that it is possible to clock the microcontroller by an 
>external clock, so I would like to clock both controllers by one 
>external source.
>
>Has anyone experience with this, or done this before? Are there 
>other issues that require attention when using two controllers in a 
>system? 
>
>I've got one controller that will measure continuously, send the 
>result to the other controller (sender is master), the other 
>controller then has to manipulate this data a bit and send it to 
>either COM or CAN, and control an amplifier or something.
>
>  
>
Pretty much what I'm doing, I have two processors on my board: LPC2106 
doing outside world communications through multiple serial interfaces, 
LPC2138 doing data collection and running an SD card via SPI.

I run both from a 14.745mHz oscillator, not a crystal, then couple the 
processors to the clock signal via 100p cap into the X1 input of the 
PLL.  They work fine.

I don't think you need to be that concerned with phasing the clocks, 
SPI, I2C or plain RS232 is pretty tolerant.

TomW


-- 
Tom Walsh - WN3L - Embedded Systems Consultant
http://openhardware.net, http://cyberiansoftware.com
"Windows? No thanks, I have work to do..."
----------------------------------------------------




  SPONSORED LINKS 
        Microprocessor   Microcontrollers   Pic microcontrollers     8051 microprocessor 
    
---------------------------------
  YAHOO! GROUPS LINKS 

    
    Visit your group "lpc2000" on the web.
    
    To unsubscribe from this group, send an email to:
 lpc2000-unsubscribe@yahoogroups.com
    
    Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 

    
---------------------------------
  

  


		
---------------------------------
How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos. Get Yahoo! Photos

[Non-text portions of this message have been removed]

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.