| ??? 01/25/05 07:33 Read: times |
#85726 - Re: Responding to: ???'s previous message |
Hi Sun,
You mentioned that the only connection between the two micro-controllers is RXD and TXD. I am assuming that you have connected the RXD of one uC to the TXD of the other uC and vice-versa. Also, both the uCs should have the same ground. "...Is the problem, the fact that the uCs are on a bread board, or that I am using a 12Mhz Osc instead of an 11Mhz? Or is it something else that I have not thought about? ..." Make sure you put the appropriate burden capacitors for the crystals. And also a decoupling capacitor for both the uCs. Use a 12Mhz Osc for both the circuit. It shouldn't be a problem. The 11.0592 MHz is usually required for communication with the PC. How are you configuring your UART ? Make sure you configure both the uC UARTS exactly the same. I would recommend using Mode 1 of the UART. ...Also, Should I configure the RXD and TXD pins? Currently, I have set the RXD pins high to enable them as inputs, and cleared the TXD pins to enable them as outputs. Is this correct? ... You need to check your part datasheet for that. I use SiLabs F124 and I have to configure the TXD pin to Push-pull state for the inter uC communication. lastly, How exactly are you testing your communication ? hope this helps -Ashish |
| Topic | Author | Date |
| Serial comms problem | 01/01/70 00:00 | |
| TxD pin | 01/01/70 00:00 | |
| Re: | 01/01/70 00:00 | |
| The problem, code (& False Detection??) | 01/01/70 00:00 | |
| Problem code | 01/01/70 00:00 | |
| Your program | 01/01/70 00:00 | |
| Progress!!!!.. But still a small Problem | 01/01/70 00:00 | |
| Progress!!! But still a small problem | 01/01/70 00:00 | |
| clutter | 01/01/70 00:00 | |
| Where TI gets initially set... | 01/01/70 00:00 | |
| Code runs away | 01/01/70 00:00 | |
| Re: | 01/01/70 00:00 | |
| wrong answer | 01/01/70 00:00 | |
| Success!!!! Thank you all | 01/01/70 00:00 | |
| I'd never do a thing like that... ;-) | 01/01/70 00:00 | |
collegue? | 01/01/70 00:00 |



