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 19 matches
CCS Forum Index
Author Message
  Topic: Weak Pull-Ups on a 16F684 [solved]
/dev/human

Replies: 2
Views: 4935

PostForum: General CCS C Discussion   Posted: Fri May 01, 2009 10:58 am   Subject: Weak Pull-Ups on a 16F684 [solved]
Yes RA3 to RA5 are digital inputs. I'm aware the RA3 needs an external pull-up. I checked the code and the result with MPLAB. According MPLAB the SFR ANSEL is 0b00000111. WPUA is 0b00110111, OPTION is ...
  Topic: Weak Pull-Ups on a 16F684 [solved]
/dev/human

Replies: 2
Views: 4935

PostForum: General CCS C Discussion   Posted: Fri May 01, 2009 12:15 am   Subject: Weak Pull-Ups on a 16F684 [solved]
Hi Folks,

on a 16F684 I want to use the weak pull-ups on A4 and A5 (A0 to A3 are analog inputs).
A HW check shows that they are turned off, adding 1 Meg to Vdd proved the HW to be working.

Wha ...
  Topic: Strange code results using an array [solved]
/dev/human

Replies: 2
Views: 3362

PostForum: General CCS C Discussion   Posted: Thu Apr 23, 2009 10:51 pm   Subject: Strange code results using an array [solved]
Thanks, stupidly blind. The ram space was actually used by another var.

... and yeah, I actually preferred not to send the remaining about 564 lines of code. Very Happy
  Topic: Strange code results using an array [solved]
/dev/human

Replies: 2
Views: 3362

PostForum: General CCS C Discussion   Posted: Wed Apr 22, 2009 11:03 pm   Subject: Strange code results using an array [solved]
Hi All

I programmed a simple piece of code to handle a simple stack.


float32 TemppH;
float32 TempT;
int loop;

StackHnd (0, 0, Clear);
for (loop = 0; loop < ...
  Topic: Reading configuration memory of 18F4523
/dev/human

Replies: 3
Views: 4077

PostForum: General CCS C Discussion   Posted: Mon Sep 22, 2008 5:57 am   Subject: Reading configuration memory of 18F4523
Thanks! Do you know whether this is true for the write_configuration_memory as well?
  Topic: Reading configuration memory of 18F4523
/dev/human

Replies: 3
Views: 4077

PostForum: General CCS C Discussion   Posted: Mon Sep 22, 2008 3:37 am   Subject: Reading configuration memory of 18F4523
Hi,

I just tried read_configuration_memory (data, 10) function to see the MCLRE flag.

Regardless of the NOMCLR fuse I always get the same data:

2D, EF, 09, F0, FF, FF, FF, FF, 05, 6E

Actua ...
  Topic: about PIC used for detecting low and high supply voltages
/dev/human

Replies: 8
Views: 6629

PostForum: General CCS C Discussion   Posted: Mon Sep 15, 2008 3:27 am   Subject: about PIC used for detecting low and high supply voltages
Could you pleas check on the number again? 16F675 is not existing on the Microchip website. Neither is 16F729.

Should it be 12F675 (which sounds reasonable) it does not offer a reference but you ma ...
  Topic: about PIC used for detecting low and high supply voltages
/dev/human

Replies: 8
Views: 6629

PostForum: General CCS C Discussion   Posted: Mon Sep 15, 2008 2:28 am   Subject: about PIC used for detecting low and high supply voltages
Without the number I can't tell for sure. But 8 pin, I don't think so.
  Topic: about PIC used for detecting low and high supply voltages
/dev/human

Replies: 8
Views: 6629

PostForum: General CCS C Discussion   Posted: Mon Sep 15, 2008 1:47 am   Subject: about PIC used for detecting low and high supply voltages
Which PIC are you using (but I don't know whether there is a PIC having a stable reference)?

Depending on your required accuracy and the supply voltage variation you can either choose simple (zener ...
  Topic: about PIC used for detecting low and high supply voltages
/dev/human

Replies: 8
Views: 6629

PostForum: General CCS C Discussion   Posted: Mon Sep 15, 2008 12:37 am   Subject: about PIC used for detecting low and high supply voltages
I think you can do that if you have a stable reference voltage in your hardware. Then you need to measure your supply voltage using an appropriate voltage divider and check for high enough or too low ...
  Topic: Cant get into idle mode
/dev/human

Replies: 2
Views: 3174

PostForum: General CCS C Discussion   Posted: Sat Sep 13, 2008 10:26 am   Subject: Cant get into idle mode
... I'm trying to power the PIC down as much as I can but keeping timer 1 alive for periodical wake-up interrupts. Clock source is the internal RC osc.

The question why I'm asking is that neither s ...
  Topic: Cant get into idle mode
/dev/human

Replies: 2
Views: 3174

PostForum: General CCS C Discussion   Posted: Fri Sep 12, 2008 5:32 am   Subject: Cant get into idle mode
Meanwhile I'm feeling really stupid running in every possible trap setup (especially for me). Embarassed

This time I can't enter the idle mode on a 18F4523. Trying to modify the osccon register, the ...
  Topic: PWRTEN Fuse missing?
/dev/human

Replies: 4
Views: 5795

PostForum: General CCS C Discussion   Posted: Fri Sep 12, 2008 3:02 am   Subject: PWRTEN Fuse missing?
Okay: Dear Microchip developers: could you please stay consistant!
  Topic: PWRTEN Fuse missing?
/dev/human

Replies: 4
Views: 5795

PostForum: General CCS C Discussion   Posted: Fri Sep 12, 2008 1:35 am   Subject: Different Nomenclature PWRTEN = PUT
Thanks a lot PCM Programmer,
I highly appreciate the high responsiveness of many forum users. My blind spot was not recognizing that Microchip uses "PWRTEN" and CCS "PUT".

:e ...
  Topic: PWRTEN Fuse missing?
/dev/human

Replies: 4
Views: 5795

PostForum: General CCS C Discussion   Posted: Fri Sep 12, 2008 1:17 am   Subject: PWRTEN Fuse missing?
Propably another stupid newbie question.
Using a PIC18F4523 I can't find the fuse for the power up timer delay. Where is my blind spot or what may be a workaround?

Off topic: Is my understanding ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group