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

Search found 9 matches
CCS Forum Index
Author Message
  Topic: INT_RDA2 issue PIC18LF46k80
VincentJ

Replies: 20
Views: 48107

PostForum: General CCS C Discussion   Posted: Thu Oct 22, 2020 9:27 am   Subject: INT_RDA2 issue PIC18LF46k80
I understand but as far as EXT_INT1 is not triggered the program should work shouldn't it ?
  Topic: INT_RDA2 issue PIC18LF46k80
VincentJ

Replies: 20
Views: 48107

PostForum: General CCS C Discussion   Posted: Thu Oct 22, 2020 9:02 am   Subject: INT_RDA2 issue PIC18LF46k80
A little more :
I noticed a difference in the disassembly listing of the RDA2_isr between the versions that work and those that do not :
For those that does not work, each time, the compiler include ...
  Topic: INT_RDA2 issue PIC18LF46k80
VincentJ

Replies: 20
Views: 48107

PostForum: General CCS C Discussion   Posted: Thu Oct 22, 2020 8:09 am   Subject: INT_RDA2 issue PIC18LF46k80
I tried without the WD but it doesn't change anything
  Topic: INT_RDA2 issue PIC18LF46k80
VincentJ

Replies: 20
Views: 48107

PostForum: General CCS C Discussion   Posted: Thu Oct 22, 2020 7:38 am   Subject: INT_RDA2 issue PIC18LF46k80
The INT_RDA does not affect TO_UART2_ON :

#INT_RDA //RS232 RECEIVE DATA AVAILABLE - One CHAR is READY to be READ.
void RDA_isr(void)
{
int t;

buffer[next ...
  Topic: INT_RDA2 issue PIC18LF46k80
VincentJ

Replies: 20
Views: 48107

PostForum: General CCS C Discussion   Posted: Thu Oct 22, 2020 6:31 am   Subject: INT_RDA2 issue PIC18LF46k80
I have a LED on my board so I tried this experience :
The LED is set ON at the beginning of the program and I added the instruction to set it OFF (not toggle) in both the EXT_INT and the EXT1_INT han ...
  Topic: INT_RDA2 issue PIC18LF46k80
VincentJ

Replies: 20
Views: 48107

PostForum: General CCS C Discussion   Posted: Thu Oct 22, 2020 2:58 am   Subject: INT_RDA2 issue PIC18LF46k80
I agree, it works if I shorten the code in the EXT interrupt handlers. But I’d like to understand.
How the duration of a non executed code can have an influence on the RDA2 interrupt behaviour ?
  Topic: INT_RDA2 issue PIC18LF46k80
VincentJ

Replies: 20
Views: 48107

PostForum: General CCS C Discussion   Posted: Thu Oct 22, 2020 2:06 am   Subject: INT_RDA2 issue PIC18LF46k80
I am aware of these elements and I stand by what I said.

The problem persists even if RDA2 is the only high priority interrupt.

I had already tried to monitor bits 1 and 2 of RCSTA2 (using #byte ...
  Topic: INT_RDA2 issue PIC18LF46k80
VincentJ

Replies: 20
Views: 48107

PostForum: General CCS C Discussion   Posted: Wed Oct 21, 2020 10:36 pm   Subject: INT_RDA2 issue PIC18LF46k80
a) The HIGH option is not enabled for the external interrupts

b) The EMC is ok and the external interrupts are not triggered.
The problem continues even if I disable those interrupts.

Parts of ...
  Topic: INT_RDA2 issue PIC18LF46k80
VincentJ

Replies: 20
Views: 48107

PostForum: General CCS C Discussion   Posted: Wed Oct 21, 2020 10:49 am   Subject: INT_RDA2 issue PIC18LF46k80
Hello,

I have a problem for a few days with UART2 ISR in a PIC18LF46k80 project.

I am using a radio module which sends a 5 bytes message to the PIC as a toggle occurs on a pin.
This message is ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group