peter002
Member level 3
- Joined
- Mar 18, 2013
- Messages
- 56
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,286
- Location
- Hindusthaan
- Activity points
- 1,765
helo elder brothers,
i m using the pic16f877a to communicate with the sim800 modem,
i am using assembly for the programming..
i have succesfully paired it and checked the at and other commans and they are working properly.
now i need to use the reception interrupts..
i just need to know that do i have to follow the below procedure to get the reception interrupt working???
set bit7th and 6th of intcon register
and then set pie1,rcie and wait for it to be cleared,
if it is found cleared then it means RCREG has got the received byte and I HAVE TO set rcie again for the next reception..
means when ever the byte is received the rcie is cleared??? and i have to set it again to detect next reception?
is that all or m i wrong somewhere??
thanx in advace
i m using the pic16f877a to communicate with the sim800 modem,
i am using assembly for the programming..
i have succesfully paired it and checked the at and other commans and they are working properly.
now i need to use the reception interrupts..
i just need to know that do i have to follow the below procedure to get the reception interrupt working???
set bit7th and 6th of intcon register
and then set pie1,rcie and wait for it to be cleared,
if it is found cleared then it means RCREG has got the received byte and I HAVE TO set rcie again for the next reception..
means when ever the byte is received the rcie is cleared??? and i have to set it again to detect next reception?
is that all or m i wrong somewhere??
thanx in advace
Last edited: