![]() |
![]() |
![]() |
|
|
|||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
Hi there,
anyone knows if its possible to use the USART ports with transmission rates less than 4.8kbps which still running the processor at 40MHz? Thanks! |
|
|
|
|
|
|
(permalink) |
|
It depends if you want synchronus or asynchronus mode.
For asynchronus mode, the minimum speed is 2.44K Baud For synchronus mode, the minimum speed is 39.06K Baud. Why do you want such low speed anyway?
__________________
"I share, thus I am" Jay.slovak Read this! ICD2 Clone Best PIC/DsPIC Bootloader Read my Inchworm ICD2 review! |
|
|
|
|
|
|
(permalink) |
|
I need the speeds to be down because i'm using the a radio module to communicate. THe maximum speed of the receiver is 4800kbps..
on another note, is this the best way to transmit and recieve serial data to another pic? or have i chosen the wrong route? |
|
|
|
|
|
|
(permalink) | |
|
Quote:
Be aware that using Manchester Coding, or another type, will slow the data transfer down - something like 50%. |
||
|
|
|
|
|
(permalink) |
|
lost...
confused here... you mean i can't connect the pic directly to the tx/rx module? It accepts CMOS/TTL inputs.. |
|
|
|
|
|
|
(permalink) | |
|
Quote:
As the UART polarity is fixed (it's designed to be used with a MAX232 or similar), you can't connect it to the modules without inverting it. It's also a bad idea to send plain RS232 over a radio link. |
||
|
|
|
|
|
(permalink) |
|
hmmm.. okay...
so what will be a good way to send data over RF? something simple? |
|
|
|
|
|
|
(permalink) | |
|
Quote:
|
||
|
|
|
|
|
(permalink) |
|
ahhh... i realise whats gone wrong..
i already have an IC doing the conversion from RS232 to manchester coded data.. so that would mean that i can just output the data from the PIC in rs232 eh..? |
|
|
|
|
|
|
(permalink) | |
|
Quote:
You just need to supply the encoder chip with the correct baud rate (and polarity - I would expect it to be simply pin to pin from the PIC?), it should be included in the application note with it. |
||
|
|
|
|
|
(permalink) |
|
cheers mate!
|
|
|
|
|