Author |
Message |
Topic: pic with 7 external interrupts |
overmindx
Replies: 8
Views: 15653
|
Forum: General CCS C Discussion Posted: Thu Mar 12, 2015 11:34 pm Subject: pic with 7 external interrupts |
hi,
has anybody here used a pic with 7 external interrupts? if so, can i have the model of the chip. cant seem to find it anywhere.
thanks
bryan |
Topic: adc accuracy problem |
overmindx
Replies: 20
Views: 28217
|
Forum: General CCS C Discussion Posted: Sun Feb 15, 2015 9:01 am Subject: adc accuracy problem |
hi,
actually according to the datasheet of 18f87k22, the maximum recommended impedance for analog sources is 2.5k. |
Topic: adc accuracy problem |
overmindx
Replies: 20
Views: 28217
|
Forum: General CCS C Discussion Posted: Thu Feb 12, 2015 12:13 am Subject: adc accuracy problem |
hi,
Thank you for your answer. It seems i need to make some modification on the hardware. Just one question, with the resistor values that you recommended, will that output 4.046k which is still la ... |
Topic: adc accuracy problem |
overmindx
Replies: 20
Views: 28217
|
Forum: General CCS C Discussion Posted: Sun Feb 08, 2015 11:10 pm Subject: adc accuracy problem |
Hi,
Sorry for the late reply. Anyway, the Avdd is fed through an LDO (xc6201p332mr-g) and it outputs 3.315v. Also very near the Avdd and Avss pins, there is a 0.1uf capacitor. Using a scope, the vol ... |
Topic: adc accuracy problem |
overmindx
Replies: 20
Views: 28217
|
Forum: General CCS C Discussion Posted: Thu Feb 05, 2015 9:31 pm Subject: adc accuracy problem |
Hi thank you all for your replies. anyway the 3.315 is coming from an LDO (xc6201p332mr-g) and it is clean when i check using a scope. Now, here is something interesting. When i changed the clock to
... |
Topic: adc accuracy problem |
overmindx
Replies: 20
Views: 28217
|
Forum: General CCS C Discussion Posted: Thu Feb 05, 2015 1:44 am Subject: adc accuracy problem |
Hi, thank you all for your replies. I already changed the way i perform my averaging calculations but I'm still getting slightly off readings. Just one question, if i use VSS_4V096 in setup_adc_ports, ... |
Topic: adc accuracy problem |
overmindx
Replies: 20
Views: 28217
|
Forum: General CCS C Discussion Posted: Wed Feb 04, 2015 2:56 am Subject: adc accuracy problem |
hi everyone,
i am trying to measure a voltage that passes through a certain pin via adc. however, the voltage i get is slightly off compared to the voltage when measured via a multimeter. the resu ... |
Topic: timer1 and 18f67k22 |
overmindx
Replies: 9
Views: 17124
|
Forum: General CCS C Discussion Posted: Mon Jan 12, 2015 12:46 am Subject: timer1 and 18f67k22 |
thank you PCM programmer.. |
Topic: timer1 and 18f67k22 |
overmindx
Replies: 9
Views: 17124
|
Forum: General CCS C Discussion Posted: Sun Jan 11, 2015 11:31 pm Subject: timer1 and 18f67k22 |
hi,
i just wanna revive this thread since i am still clueless why code involving timer1 will work on one version (4.124) and it wont work on (4.141). below is the code and .lst file for each versi ... |
Topic: software uart on 115200 baud |
overmindx
Replies: 6
Views: 14055
|
Forum: General CCS C Discussion Posted: Tue Dec 02, 2014 4:56 am Subject: software uart on 115200 baud |
hi,
I am using an pic18f67k22 mcu on 16 MHz clock speed. I have a sensor that operates on 115200 baud. When i connect to it using hardware uart, i can communicate to it perfectly. However when i c ... |
Topic: timer1 and 18f67k22 |
overmindx
Replies: 9
Views: 17124
|
Forum: General CCS C Discussion Posted: Mon Aug 11, 2014 9:43 am Subject: timer1 and 18f67k22 |
hi,
i tried placing
setup_oscillator(OSC_NORMAL|OSC_16MHZ);
but it still wont work.
On a side note, i tried using v4.124 and it works. |
Topic: timer1 and 18f67k22 |
overmindx
Replies: 9
Views: 17124
|
Forum: General CCS C Discussion Posted: Mon Aug 11, 2014 7:48 am Subject: timer1 and 18f67k22 |
hi,
i followed your suggestion by declaring TEST_FLAG as volatile but it still doesnt solve the problem. It seems for some reason isnt triggering the interrupt. |
Topic: timer1 and 18f67k22 |
overmindx
Replies: 9
Views: 17124
|
Forum: General CCS C Discussion Posted: Mon Aug 11, 2014 3:58 am Subject: timer1 and 18f67k22 |
if i used v.4.114 it outputs TESTFLAG=1 |
Topic: timer1 and 18f67k22 |
overmindx
Replies: 9
Views: 17124
|
Forum: General CCS C Discussion Posted: Mon Aug 11, 2014 1:37 am Subject: timer1 and 18f67k22 |
hi,
how come this code doesnt work?
#include <18F67K22.h>
#device adc=12
#device PASS_STRINGS = IN_RAM
#FUSES WDT_SW, WDT32768, INTRC_IO, NOPROTECT, NOIESO, BROWNOUT, PUT, NOCPD, S ... |
Topic: read_eeprom malfunction |
overmindx
Replies: 3
Views: 8399
|
Forum: General CCS C Discussion Posted: Wed Aug 06, 2014 8:31 am Subject: read_eeprom malfunction |
void newEEData(char *eedata, unsigned int16 hbp)
{
unsigned int16 zzx=0;
int dataFinder=0;
unsigned int16 NewDataLoc=0;
char chx;
NewDataLoc = strlen(eed ... |
|