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.

Problem with connecting 89S52 and PICAXE18X using RS-232

Status
Not open for further replies.

DrWhoF

Advanced Member level 1
Advanced Member level 1
Joined
May 6, 2005
Messages
402
Helped
24
Reputation
48
Reaction score
11
Trophy points
1,298
Activity points
4,388
I am trying to connect 89S52 and PICAXE18 using RS-232.
I can simulate connection with windows hyperterminal at 2400bps and both microcotrollers respond correctly but when I connect them together 89S52 sends a command but PICAXE18 does not respond. Why?
 

Re: 89S52 and PICAXE18X

One possible reason can be that clocks of both microcontrtollers "don't match" and they both, or one of them - in this case PICAXE, can not read properly 2400bps strings ..
As PICAXE is clocked by internal RC-based generator you can use CALIBFREQ command and try to correct it ..
You will have +/-31 numbers to play with, where 0 is the default value ..

Regards,
IanP
 

    DrWhoF

    Points: 2
    Helpful Answer Positive Rating
Re: 89S52 and PICAXE18X

That was it!!! CALIBFREQ 28 fixed the problem.
Thaks very much.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top