Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Bit bashed RS232 with 32.768 kHz crystal, Will with work?

Status
Not open for further replies.
Re: Bit bashed RS232 with 32.768 kHz crystal, Will with work

William At MyBlueRoom said:
Bit bashed RS232 with 32.768 kHz crystal, Will with work?

Thinking of using a 12C508.

Yes, of course it will work! - depending what speed you're wanting!.

But why not use a 12F series chip, rather than the OTP 12C series?.
 
Re: At what baud though?

William At MyBlueRoom said:
I've 9600 at 4 MHz but what can I expect from 32 kHz? Half duplex is fine.

Work out the instruction timing required, if I remember correctly one bit at 9600 baud is 104uS?.
 
I don't think it's very feasible... first off, one instruction cycle at that frequency is about 122us... even at as low as 300 baud that's only about 27.3 cycles per bit... but more importantly, it's not a nice round multiple, which means that the bit durations are going to be a bit off, which will probably mean the serial data will be too messed up to read on a computer or other device.
 
Timing

Yes, 104 us.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top