??? 08/28/05 15:54 Read: times |
#100213 - UARTs and ASK Responding to: ???'s previous message |
Manoz Joshi said:
Unfortunately the RF link was not very stable as LED didn't switch on straight away after pressing one of the button. Sometime the LED switched on without me pressing the button. Look at the receiver output with a scope and see how much noise is present and whether you expect a UART to clock in the data properly. You see, it takes only something with the appearance of a start bit to get the UART started shifting in bits. A UART's NRZ plus start bit encoding scheme is not a good choice for ASK, although some folks have employed different encoding schemes at a higher level that account for the UART's start and stop bits and then just use the UART to clock out the bits. I have been informed that if I use bit-banging at the receiver instead of UART, would solve the problem. I don't know it is true or not. And most likely bit-banging at the transmitter too. Bit-banging transmit and receive are done when internal peripheral subsystems in incapable of generating the waveform of the encoding scheme chosen to suit the RF link's characteristics. |