CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

#int_rda help

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
xindy
Guest







#int_rda help
PostPosted: Tue Apr 08, 2008 4:13 am     Reply with quote

hi everyone. my development kit has a microcontroller(18f4525) and a gsm module is attached to it. i have also incorporated an external UART and connect it directly to the PC. my question is if i use the interrupt #int_rda, is there a way of knowing where the available receive data in buffer 0 is coming from? is it coming from the GSM module or is it coming from the PC.. please help..
Matro
Guest







PostPosted: Tue Apr 08, 2008 4:21 am     Reply with quote

#int_RDA can only be triggered by the PIC built-in hardware USART module, but in no way by an external module.

Matro.
Ttelmah
Guest







PostPosted: Tue Apr 08, 2008 4:42 am     Reply with quote

If you are using an external UART chip, this will normally have an interrupt _output_. This will need to be connected to another interrupt input on the chip (INT_EXT normally). You will only receive an RDA interrupt for the internal UART, but with this extra connection, you will receive an INT_EXT, for the external UART.

Best Wishes
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group