Author |
Message |
Topic: #int_rda And RTC int conflict ? |
nirayo
Replies: 13
Views: 9949
|
Forum: General CCS C Discussion Posted: Wed Aug 19, 2009 2:03 am Subject: Re: #int_rda And RTC int conflict ? |
if i have a interrupt for serial receive and one for the real time clock will the serial receive interrupt bother the rtc interrupt ?
By experimenting i see that it does :( anyone have a good idea h ... |
Topic: Use of RTC in PIC24 using PCD compiler |
nirayo
Replies: 27
Views: 33390
|
Forum: General CCS C Discussion Posted: Wed Aug 19, 2009 1:57 am Subject: the code for rtc_read |
Not tested :
time_t my_rtc_read(void) {
time_t res;
unsigned int16 a, b, c;
char tmp;
bit_set(RCFGCAL, 8);
bit_set(RCFGCAL, 9);
res.tm_year = RTCV ... |
Topic: receive interrupt on pic24fj256gb110 |
nirayo
Replies: 11
Views: 9823
|
Forum: General CCS C Discussion Posted: Thu Mar 12, 2009 4:03 am Subject: receive interrupt on pic24fj256gb110 |
thank you FvM,
I have succeeded l
got some help from another friend
turns out I needed to map all the registers manually |
Topic: EEPROM on pic16f877 |
nirayo
Replies: 14
Views: 37860
|
Forum: General CCS C Discussion Posted: Wed Mar 11, 2009 8:35 am Subject: read_eeprom & write_eeprom |
I ran the following test program with PCM vs. 2.734. It works fine.
It displays the following on the terminal window:
Start
Wrote 0x55 to eeprom address 0
Read 55
Wrote 0xAA to eeprom addr ... |
Topic: receive interrupt on pic24fj256gb110 |
nirayo
Replies: 11
Views: 9823
|
Forum: General CCS C Discussion Posted: Thu Feb 26, 2009 4:56 am Subject: receive interrupt on pic24fj256gb110 |
the basic example works just great, realy echos what i write in the terminal,
without interrupts. But I realy need the interrupts, since I am not supposed to know when the input is coming |
Topic: receive interrupt on pic24fj256gb110 |
nirayo
Replies: 11
Views: 9823
|
Forum: General CCS C Discussion Posted: Thu Feb 26, 2009 4:03 am Subject: receive interrupt on pic24fj256gb110 |
hello FvM
thank you so much for your help,
I'm sorry, but it seems you are going to have to feed me on this one.
I have looked through the datasheet, and still don't understand,
how do I define t ... |
Topic: receive interrupt on pic24fj256gb110 |
nirayo
Replies: 11
Views: 9823
|
Forum: General CCS C Discussion Posted: Thu Feb 26, 2009 2:52 am Subject: receive interrupt on pic24fj256gb110 |
been there, done that, didn't work
I have read something in the datasheet about interrupt vector for this chip
how does this work exactly? is there some initialization I need to perform ? |
Topic: receive interrupt on pic24fj256gb110 |
nirayo
Replies: 11
Views: 9823
|
Forum: General CCS C Discussion Posted: Wed Feb 25, 2009 2:59 am Subject: receive interrupt on pic24fj256gb110 |
The built-in stdio RS232 functions are directed to UART2, other UARTs can be accessed through respective SFRs directly. Also the peripheral pins selects must be set for the respective UART IOs.
Som ... |
Topic: receive interrupt on pic24fj256gb110 |
nirayo
Replies: 11
Views: 9823
|
Forum: General CCS C Discussion Posted: Wed Feb 25, 2009 2:31 am Subject: receive interrupt on pic24fj256gb110 |
FvM
the example works fine, this is the basic way to see that everything works, thank you, I now know that the hardware is O.K.
I will try to write with interrupt again, (not very optimistic...)
I' ... |
Topic: receive interrupt on pic24fj256gb110 |
nirayo
Replies: 11
Views: 9823
|
Forum: General CCS C Discussion Posted: Tue Feb 24, 2009 2:15 am Subject: receive interrupt on pic24fj256gb110 |
I am trying to get data from user on pic24fj256gb110, after success in printing out, I now need to receive charecter, I have tried many things with no luck,
please help
10q,
nira |
|