haxan
New Member
Hi,
I have done RS-485 based UART communication on Atmel 8051 but am not able to do so well in PIC18F4480. The problems i am facing are:
1. I am not able to understand the interrupt handler for Rx.
2. How to send address byte (Which register to modify).
3. How to check if the node was found on BUS.
In 8051, there is a bit TB8 which when set means address bit is received.
And to check if the Node was found, i used to check the bit SM2.
Can please someone tell me which are the register bits in PIC18F.
I have done RS-485 based UART communication on Atmel 8051 but am not able to do so well in PIC18F4480. The problems i am facing are:
1. I am not able to understand the interrupt handler for Rx.
2. How to send address byte (Which register to modify).
3. How to check if the node was found on BUS.
In 8051, there is a bit TB8 which when set means address bit is received.
And to check if the Node was found, i used to check the bit SM2.
Can please someone tell me which are the register bits in PIC18F.