Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

synchronize two mcu to generate two pwm signal

Status
Not open for further replies.

yassin.kraouch

Advanced Member level 2
Joined
Jul 5, 2009
Messages
631
Helped
40
Reputation
80
Reaction score
40
Trophy points
1,308
Activity points
5,094
Hi ,

how can i synchronize between two mcu, the mcu are msp430, i would exactly want that the two timer are synchronized

best regards
 

Hi,
I didn't use msp430 but here is a general idea, I tihnk you can easily adapt it to this controller
You can write a timer interrupt that outputs 1 from an output of MCU1 after counting for a while and resarts at the beginning of the main function. That output should be an interrupt to the MCU2 which will enable timer of MCU2. I think you can also deal with a few cycles lag by adding some null commands before restarting MCU1 timer.
regards,
Erhan
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top