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 14 matches
CCS Forum Index
Author Message
  Topic: setup_oscillator() on PIC16F688 not working
elellilrah

Replies: 2
Views: 6960

PostForum: General CCS C Discussion   Posted: Fri Jan 30, 2009 5:04 pm   Subject: All clear, now

When I look at the OSC2 pin (pin 2, 16-pin QFN PIC16F688), I only get
2MHz clocking out.

See this section of the 16F688 data sheet:

3.5.1 INTOSC AND INTOSCIO MODES

In INTOSC mode, OSC1/CL ...
  Topic: setup_oscillator() on PIC16F688 not working
elellilrah

Replies: 2
Views: 6960

PostForum: General CCS C Discussion   Posted: Fri Jan 30, 2009 2:47 pm   Subject: setup_oscillator() on PIC16F688 not working
I'm trying to get the PIC16F688 to run at 8MHz without success. Using compiler rev 4.085 I've tried the following:

#include <16F688.h>
#device adc=8

#FUSES NOWDT //No ...
  Topic: i2c_read() on PIC 12F629
elellilrah

Replies: 9
Views: 13319

PostForum: General CCS C Discussion   Posted: Thu Jan 22, 2009 4:39 pm   Subject: i2c_read() on PIC 12F629
If you have to use the 629, you could buffer the incomming data and only after the complete receiption of a message, do the display function. The 629 can then have a ready flag which the master will h ...
  Topic: i2c_read() on PIC 12F629
elellilrah

Replies: 9
Views: 13319

PostForum: General CCS C Discussion   Posted: Wed Jan 21, 2009 11:54 pm   Subject: i2c_read() on PIC 12F629
They won't.
It is possible to write an I2C slave, without the hardware, but the CCS functions don't support this, and it really is processor intensive. You would not be able to do anything else on a ...
  Topic: i2c_read() on PIC 12F629
elellilrah

Replies: 9
Views: 13319

PostForum: General CCS C Discussion   Posted: Wed Jan 21, 2009 9:40 am   Subject: i2c_read() on PIC 12F629
Hello,

I am looking at using a PIC12F629 as a slave to do some very simple operations using the I2C bus for a display. However, the help in PCW 4.082 indicates that i2c_read() only works on chips ...
  Topic: In system programming of PIC12F519
elellilrah

Replies: 0
Views: 2025

PostForum: General CCS C Discussion   Posted: Tue Dec 02, 2008 8:59 pm   Subject: In system programming of PIC12F519
Has anyone successfully used the Mach-X to program a PIC12F519? The Mach-X page says the function is still in beta test. The USB-ICD doesn't indicate any ability to program the PIC12F519.

I would ...
  Topic: Programming PIC12F519
elellilrah

Replies: 0
Views: 16299

PostForum: CCS ICD / Mach X / Load-n-Go   Posted: Tue Dec 02, 2008 1:00 am   Subject: Programming PIC12F519
Has anyone successfully used the Mach-X to program a PIC12F519? The Mach-X page says the function is still in beta test. The USB-ICD doesn't indicate any ability to program the PIC12F519.

I would ...
  Topic: PIC18F2520 Selecting single ADC port
elellilrah

Replies: 4
Views: 7095

PostForum: General CCS C Discussion   Posted: Wed Dec 12, 2007 3:00 pm   Subject: PIC18F2520 Selecting single ADC port
Thanks for the clarification. What I'll have to do is adjust the analog signals to start on the A0 line and go from there to avoid any of the other issues mentioned in the data sheet.
  Topic: i2c with PIC12F675
elellilrah

Replies: 5
Views: 7867

PostForum: General CCS C Discussion   Posted: Tue Dec 11, 2007 11:34 pm   Subject: Needs #use i2c in header file
I was having the same trouble when I ran into your posting. I'm using CCS version 3.241 which requires additional files to be header files, as this compiler version can't handle multiple C files.

...
  Topic: PIC18F2520 Selecting single ADC port
elellilrah

Replies: 4
Views: 7095

PostForum: General CCS C Discussion   Posted: Fri Dec 07, 2007 11:20 am   Subject: Little gray box
Thank you for the redirection. You are right that CCS does implement the datasheet on page 224.

An interesting problem then appears. On page 232 of the data sheet, in the little gray box, it sugg ...
  Topic: PIC18F2520 Selecting single ADC port
elellilrah

Replies: 4
Views: 7095

PostForum: General CCS C Discussion   Posted: Fri Dec 07, 2007 1:03 am   Subject: PIC18F2520 Selecting single ADC port
Hello,

I looked through the forums but wasn't finding the correct search term. I only want to use port RB2/AN8 on a PIC18F2520 for ADC conversion. However, in the CCS build, there is no option on ...
  Topic: Comparator setup for Microchip 16F684
elellilrah

Replies: 3
Views: 4239

PostForum: General CCS C Discussion   Posted: Thu Aug 30, 2007 1:18 pm   Subject: Comparator setup for Microchip 16F684
The op-code you provided worked perfectly, thank you.

I need to find a more recent copy of the full 16F684.h file as it must have several changes in it.
  Topic: Comparator setup for Microchip 16F684
elellilrah

Replies: 3
Views: 4239

PostForum: General CCS C Discussion   Posted: Wed Aug 29, 2007 6:00 pm   Subject: Comparator setup for Microchip 16F684
I am using 3.241 and those files don't have that information in there. I will try your hex code in there and see if it works.

Thanks!
  Topic: Comparator setup for Microchip 16F684
elellilrah

Replies: 3
Views: 4239

PostForum: General CCS C Discussion   Posted: Wed Aug 29, 2007 5:19 pm   Subject: Comparator setup for Microchip 16F684
Hello,

What is the correct hex number to set up the comparators on the Microchip 16F684 using A1 and A0 in the off state and using C1 - C0 with the output C2OUT? The mode from the data sheet is: ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group