Author |
Message |
Topic: very confused about data eeprom on 16F1823 [solved] |
jumanji
Replies: 1
Views: 4714
|
Forum: General CCS C Discussion Posted: Tue Apr 03, 2012 3:16 pm Subject: very confused about data eeprom on 16F1823 [solved] |
nevermind. I just found the bit in the help section that says the EEPROM window is not refreshed unless you go into the "Debugger" tab in Mplab and do a 'Read'.
I do this and wala! There ... |
Topic: very confused about data eeprom on 16F1823 [solved] |
jumanji
Replies: 1
Views: 4714
|
Forum: General CCS C Discussion Posted: Tue Apr 03, 2012 3:03 pm Subject: very confused about data eeprom on 16F1823 [solved] |
I am working with data eeprom for the first time and I am very confused about what I am seeing. If I use this directive:
#rom getenv("EEPROM_ADDRESS")={1,2,3,4,5}
a ... |
Topic: 12F1822, Interrupt on change, clear IOCAF ? |
jumanji
Replies: 5
Views: 11243
|
Forum: General CCS C Discussion Posted: Fri Nov 18, 2011 6:08 pm Subject: 12F1822, Interrupt on change, clear IOCAF ? |
I am reading the pin using a "if (input_state(PIN_A0)" command - that counts doesn't it?
The wierd thing is that I am using code that was originally written for a 12F615. As I was workin ... |
Topic: 12F1822, Interrupt on change, clear IOCAF ? |
jumanji
Replies: 5
Views: 11243
|
Forum: General CCS C Discussion Posted: Fri Nov 18, 2011 5:53 pm Subject: 12F1822, Interrupt on change, clear IOCAF ? |
I am seeing the same thing.
clear_interrupt(INT_RA0);
has no effect - you have to use what nurquhar does to clear it. I tried to define that specific bit (using the #bit directive) a ... |
Topic: How to measure pulse using Timer 1 Gate (T1G) on 12F615? |
jumanji
Replies: 0
Views: 3165
|
Forum: General CCS C Discussion Posted: Mon Jun 13, 2011 4:00 pm Subject: How to measure pulse using Timer 1 Gate (T1G) on 12F615? |
Has anyone used the Timer 1 Gate feature (T1G) on a 12F615 or similar to measure a pulse width? |
Topic: help - can't get CCP interrupt to fire (SOLVED) |
jumanji
Replies: 11
Views: 11214
|
Forum: General CCS C Discussion Posted: Mon Jun 13, 2011 1:22 pm Subject: help - can't get CCP interrupt to fire (SOLVED) |
Just got a nice email from Microchip. Apparently if you dig into the "limitations" section of MPLAB for this family of devices you find this note: "ECCP capture mode interrupts do not ... |
Topic: help - can't get CCP interrupt to fire (SOLVED) |
jumanji
Replies: 11
Views: 11214
|
Forum: General CCS C Discussion Posted: Fri Jun 10, 2011 6:07 pm Subject: help - can't get CCP interrupt to fire (SOLVED) |
ok- just programmed a device and added some code to pulse a pin if I go thru the isr routine and it is working fine. There is definitely something wrong within the debugger system somewhere.... |
Topic: help - can't get CCP interrupt to fire (SOLVED) |
jumanji
Replies: 11
Views: 11214
|
Forum: General CCS C Discussion Posted: Fri Jun 10, 2011 5:36 pm Subject: help - can't get CCP interrupt to fire (SOLVED) |
I am convinced the problem is not the code but somewhere in my debugger setup. I have contacted Microchp to see if this is a known issue. In the meantime I will program an actual device and verify t ... |
Topic: help - can't get CCP interrupt to fire (SOLVED) |
jumanji
Replies: 11
Views: 11214
|
Forum: General CCS C Discussion Posted: Fri Jun 10, 2011 4:56 pm Subject: help - can't get CCP interrupt to fire (SOLVED) |
Thank you for going through the trouble to do this. What hardware are you using to test this? Are you using a debugger or actually programming a device? I have continued to work with this and I hav ... |
Topic: help - can't get CCP interrupt to fire (SOLVED) |
jumanji
Replies: 11
Views: 11214
|
Forum: General CCS C Discussion Posted: Fri Jun 10, 2011 6:22 am Subject: help - can't get CCP interrupt to fire (SOLVED) |
ok-I tried that but it doesn't make any difference.
I don't know if it makes any difference, but I should mention that I am using the header board that plugs into the debugger (ICD3) and allows yo ... |
Topic: help - can't get CCP interrupt to fire (SOLVED) |
jumanji
Replies: 11
Views: 11214
|
Forum: General CCS C Discussion Posted: Thu Jun 09, 2011 5:28 pm Subject: help - can't get CCP interrupt to fire (SOLVED) |
sorry - compiler is v4.121 |
Topic: help - can't get CCP interrupt to fire (SOLVED) |
jumanji
Replies: 11
Views: 11214
|
Forum: General CCS C Discussion Posted: Thu Jun 09, 2011 5:25 pm Subject: help - can't get CCP interrupt to fire (SOLVED) |
Vdd = 5V and the pulse is 5V. |
Topic: help - can't get CCP interrupt to fire (SOLVED) |
jumanji
Replies: 11
Views: 11214
|
Forum: General CCS C Discussion Posted: Thu Jun 09, 2011 5:07 pm Subject: help - can't get CCP interrupt to fire (SOLVED) |
Ok so I have never used interrupts before and I am trying to use the CCP on a 12F615 to determine the width of a pulse. I have looked at examples and tried many different things but I cannot seem to ... |
|