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 250 matches
CCS Forum Index
Author Message
  Topic: MCLR/VPP/RE3 pin termination...
MikeValencia

Replies: 2
Views: 8524

PostForum: General CCS C Discussion   Posted: Tue Aug 29, 2006 8:50 am   Subject: MCLR/VPP/RE3 pin termination...
Thanks PCM.
Looks like the only time that i can configure RE3/VPP as an output is when I am NOT using ICSP!

I managed to dig up an old email from an Arrow FAE on some VPP issues:

Mike,

...
  Topic: MCLR/VPP/RE3 pin termination...
MikeValencia

Replies: 2
Views: 8524

PostForum: General CCS C Discussion   Posted: Tue Aug 29, 2006 12:10 am   Subject: MCLR/VPP/RE3 pin termination...
I am currently using a PIC18F458 whose VPP pin was designated as "VPP/MCLR" and could NOT be used as an i/o pin. Then came the next generation of PICs: PIC18F4580, where the pin can now be d ...
  Topic: Recommendation for a USB text?
MikeValencia

Replies: 7
Views: 8985

PostForum: General CCS C Discussion   Posted: Thu Aug 10, 2006 12:33 pm   Subject: For Newguy or anyone w/the 2nd and 3rd editions...
Thanks everyone. I just placed the order for Jan Axelson's USB Complete, 3rd ed.

I checked out the 2nd edition from the library, and I seem to see better reviews for the 2nd edition than the 3rd e ...
  Topic: Using PWM to drive osc of another mcu, recommended ?
MikeValencia

Replies: 11
Views: 12556

PostForum: General CCS C Discussion   Posted: Mon Jul 24, 2006 9:22 pm   Subject: Using PWM to drive osc of another mcu, recommended ?
Pardon me if this has been mentioned in one of the earlier replies, but...

Isn't CLKOUT on the PIC meant to be used to drive another device that requires a clock?
  Topic: Port status
MikeValencia

Replies: 5
Views: 6884

PostForum: General CCS C Discussion   Posted: Mon Jul 24, 2006 9:56 am   Subject: Port status
By the way, here is how you would code it using the #byte method:



void main(void)
{
...


while (1)
{
if (PORT_B & 0x01) // Is P ...
  Topic: Port status
MikeValencia

Replies: 5
Views: 6884

PostForum: General CCS C Discussion   Posted: Mon Jul 24, 2006 7:56 am   Subject: Port status
I have gotten used to not using CCS's functions for reading port pins' status.


#byte port_b=0xf81 // on a picf18f458, 0xF81 is the address of PORT B

...

unsigned char x;

x = port_b; // ...
  Topic: New to C with PIC
MikeValencia

Replies: 4
Views: 6323

PostForum: General CCS C Discussion   Posted: Sun Jul 23, 2006 9:09 am   Subject: New to C with PIC
I would suggest getting a demo board such as the PICDEM-2 from Microchip, and then write simple programs to toggle the LED(s), use I2C to read a temperature sensor, use PWM to sound a piezoelectric bu ...
  Topic: Linux?
MikeValencia

Replies: 6
Views: 10223

PostForum: General CCS C Discussion   Posted: Wed Jul 19, 2006 8:44 am   Subject: Linux?
Regarding the compiler:
I was told that i would have to buy a new version of PCHL altogether, despite the fact that i have a pch and pcwh subscription already.

Regarding drivers and programming:
...
  Topic: How to create a 'braking effect' on a stepper motor ??
MikeValencia

Replies: 5
Views: 13420

PostForum: General CCS C Discussion   Posted: Fri Apr 21, 2006 7:56 am   Subject: How to create a 'braking effect' on a stepper motor ??
In my application, i have a brushed DC motor that is controlled with an H-bridge. I accomplish braking by PWM'ing at least ONE bottom fet. You can PWM two bottom fets, but since most fets have interna ...
  Topic: ESD protection/problem for our device/PIC
MikeValencia

Replies: 28
Views: 35234

PostForum: General CCS C Discussion   Posted: Thu Apr 20, 2006 8:41 pm   Subject: ESD protection/problem for our device/PIC
Make life simple and look at the schematic of the NUF2070MN at onsemi.com

Notice there is an LC filter in between the two TVS diodes. I have a similiar circuit in my application, but it is made up ...
  Topic: on my face plate I need a square removed for my led display
MikeValencia

Replies: 10
Views: 28392

PostForum: General CCS C Discussion   Posted: Thu Apr 20, 2006 8:26 pm   Subject: on my face plate I need a square removed for my led display
On one of Circuit Cellar magazine's ads, i found www.protocase.com

You can download their super easy CAD tool, and with it draw any shape of cutout you want and spend $100+ for a few prototypes.
...
  Topic: Checking simultaneous events
MikeValencia

Replies: 9
Views: 13824

PostForum: General CCS C Discussion   Posted: Wed Apr 05, 2006 2:52 pm   Subject: Checking simultaneous events
Sorry, the input signal is a 5v pulse and it occurs when somebody cut the beam of each sensor. I'll have 12 sensors and its could interrupt each 10ms aprox. I need to detect each interrupt of each sen ...
  Topic: pic18f452 and 184520 please help
MikeValencia

Replies: 7
Views: 11093

PostForum: General CCS C Discussion   Posted: Tue Mar 14, 2006 1:57 pm   Subject: pic18f452 and 184520 please help
Well why don't you just use the 4520 then? They are similiar enough, and Microchip wants you to use the 4520 for new designs instead of the 452
  Topic: pic18f452 and 184520 please help
MikeValencia

Replies: 7
Views: 11093

PostForum: General CCS C Discussion   Posted: Fri Mar 10, 2006 9:27 am   Subject: pic18f452 and 184520 please help
I don't think the '452 has an internal oscillator.
  Topic: TMR1 & TMR3 errata on new chips
MikeValencia

Replies: 9
Views: 20762

PostForum: General CCS C Discussion   Posted: Wed Mar 01, 2006 4:56 pm   Subject: TMR1 & TMR3 errata on new chips
Idea I sort of see now. So for the first suggested workaround:

Work around
Do not write to TMR1H/TMR3H while Timer1/
Timer3 is running,...

If I follow this workaround, then I simply need t ...
 
Page 1 of 17 Goto page 1, 2, 3 ... 15, 16, 17  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group