Author |
Message |
Topic: Pullups with 16F182x |
Plater
Replies: 3
Views: 8354
|
Forum: General CCS C Discussion Posted: Fri May 31, 2013 9:40 am Subject: Pullups with 16F182x |
Fram_fr thanks your code is working great!
I am using 5.003 and there is still no port_c_pullups() |
Topic: 12LF1822 POWER TEST |
Plater
Replies: 7
Views: 8162
|
Forum: General CCS C Discussion Posted: Mon Feb 25, 2013 9:00 am Subject: 12LF1822 POWER TEST |
Ah ha! Ok I see the difference between SPI_DISABLED and SPI_SS_DISABLED disabled now. That was my typo.
I only searched for my specific PIC chip when looking for power savings, wasnt sure how much ... |
Topic: 12LF1822 POWER TEST |
Plater
Replies: 7
Views: 8162
|
Forum: General CCS C Discussion Posted: Fri Feb 22, 2013 2:27 pm Subject: 12LF1822 POWER TEST |
A lot of clocked peripherals do stop, but remain turned on internally.
However the key problem in the line you post, is that setup_SPI(ss_disabled), _will_ turn on the SPI, since it is an incorrect c ... |
Topic: 12LF1822 POWER TEST |
Plater
Replies: 7
Views: 8162
|
Forum: General CCS C Discussion Posted: Fri Feb 22, 2013 9:12 am Subject: 12LF1822 POWER TEST |
Ahh yes, I had heard not to float pins but wasnt sure which way to pull them.
In another thread someone stated that peripherals default to off, and that sometimes using the setup commands (like set ... |
Topic: 12LF1822 POWER TEST |
Plater
Replies: 7
Views: 8162
|
Forum: General CCS C Discussion Posted: Fri Feb 22, 2013 8:35 am Subject: 12LF1822 POWER TEST |
I am trying to put my 12LF1822 to sleep in a manner which uses the least amount of power.
I am using the 8pin package.
My compiler version is 4.140
I made this sample program to put it to sleep s ... |
Topic: 12LF1822 POWER TEST |
Plater
Replies: 8
Views: 10910
|
Forum: General CCS C Discussion Posted: Thu Feb 21, 2013 4:14 pm Subject: 12LF1822 POWER TEST |
Was this ever resolved?
I am using the same chip (Well 12LF1822) with the internal oscillator at 31kHz. I cannot get below about 90uA when in sleep mode. |
Topic: 12LF1822 trouble after sleep, watchdog never fires? [Solved] |
Plater
Replies: 2
Views: 3933
|
Forum: General CCS C Discussion Posted: Thu Feb 21, 2013 1:10 pm Subject: 12LF1822 trouble after sleep, watchdog never fires? [Solved] |
You are correct, I removed those two lines and the watchdog fired as desired.
I came from using the PIC18F6527 which didnt seem to care about that.
I was using the watchdog just fine with:
#inc ... |
Topic: 12LF1822 trouble after sleep, watchdog never fires? [Solved] |
Plater
Replies: 2
Views: 3933
|
Forum: General CCS C Discussion Posted: Thu Feb 21, 2013 11:44 am Subject: 12LF1822 trouble after sleep, watchdog never fires? [Solved] |
CCS compiler 4.140
I am working with the pic 12LF1822 and I cannot seem to get the watchdog system to work.
I feel like I must be missing something really simple, since I have seen nothing else abou ... |
|