BRUCE,
thanks for your reply.
You are right, $432D is INVERTED but anyway this is correct with the RF Module (IDLE LOW).
(I always mix the definitions up)
I have the RF Receiver connected to PortC.4 and I have a 4k7 PullDown on that Port.
(I have tried different Chips and different Ports)
The TimeOut is set to 1000ms.
It doesn't seem to be an issue of the Timer being reset, I have a scope on the TTL Output of the RF-Module and the Port stays low for more than a second so that the timer should expire and it should jump to the TimeOut Label.
Once the PIC "hangs" I can even disconnect the receiver, and Pull C4 permanently LOW, it still hangs. I really have to "RESET" the device.
Program execution stops always after a few Bits from other RF devices have been received during the time my transmitter is idle.
i.e. people locking/unlocking their vehicles.
If I let my transmitter transmit data continously the 18F works fine.
(worst case I get some CRC errors if there was "noise")
The strange thing is that exactly the same configuration works perfect on a 16F876.
I would move to the 16F876, but I need the memory of the 18F252.
regards:
Ralph
Bookmarks