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 95 matches
CCS Forum Index
Author Message
  Topic: Will I Regret It?
scottc

Replies: 10
Views: 27315

PostForum: General CCS C Discussion   Posted: Thu Jan 06, 2022 11:03 am   Subject: Will I Regret It?
Brian alot depends on the intended application.

These days MicroChip has grown and they have multiple CPU's that can do the job. I like the Pic processors. One neat thing about them is how MicroChi ...
  Topic: Compiler selection
scottc

Replies: 9
Views: 26093

PostForum: General CCS C Discussion   Posted: Thu Jan 06, 2022 10:39 am   Subject: Compiler selection
I had the opportunity to try out MikroC just a few weeks ago. On the surface it looks pretty good, the IDE is nice but I found the help file to be lacking.

The other thing I hated was that the pro ...
  Topic: Interrupt on change - Pic18f27k40
scottc

Replies: 6
Views: 20767

PostForum: General CCS C Discussion   Posted: Thu Jan 06, 2022 10:22 am   Subject: Interrupt on change - Pic18f27k40
Thanks Guys,

The example code was a big help, seems like the #INT_IOC works well.
I like the flexibility of doing the pin assign which I think generally makes using ISR's alot easier and somewhat ...
  Topic: Interrupt on change - Pic18f27k40
scottc

Replies: 6
Views: 20767

PostForum: General CCS C Discussion   Posted: Wed Jan 05, 2022 5:24 am   Subject: Interrupt on change - Pic18f27k40
Hi guys.

I have some questions about the IOC function. Looking in the device file it says, // Constants used in ENABLE/DISABLE_INTERRUPTS() are

#define INT_IOC_B2_H2L 0x2104C210
#define I ...
  Topic: FAST_IO General Question
scottc

Replies: 5
Views: 8575

PostForum: General CCS C Discussion   Posted: Sun Apr 29, 2012 12:28 pm   Subject: FAST_IO General Question
Ah I see, Thanks for the heads up..

Best Regards Scott
  Topic: FAST_IO General Question
scottc

Replies: 5
Views: 8575

PostForum: General CCS C Discussion   Posted: Sat Apr 28, 2012 10:15 pm   Subject: FAST_IO General Question
Thanks for the good explanation Ttelmah.

I think for the most part fast_io is better from the perspective that you
will save an instruction or two. I also like the idea of manual control.

By wa ...
  Topic: FAST_IO General Question
scottc

Replies: 5
Views: 8575

PostForum: General CCS C Discussion   Posted: Sat Apr 28, 2012 1:35 pm   Subject: FAST_IO General Question
Hello, I am in the process of writing some code and I am curious about
the compilers fast_io option.

In the help it says I have to set the direction register which is not a problem to do for a giv ...
  Topic: Using the Encoder Quadrature - QEI - PIC18F2431
scottc

Replies: 6
Views: 15895

PostForum: General CCS C Discussion   Posted: Mon Apr 25, 2011 9:27 am   Subject: Using the Encoder Quadrature - QEI - PIC18F2431
Hi, here is a link to a worked example that you can try out

http://www.ccsinfo.com/forum/viewtopic.php?t=44768

Thanks Scott
  Topic: Problem with synchronization of led blinking
scottc

Replies: 7
Views: 8755

PostForum: General CCS C Discussion   Posted: Thu Apr 07, 2011 11:01 am   Subject: Problem with synchronization of led blinking
I dont think you need to use a ISR or timer considering that your
code is running at 40Mhz.

Have you tried creating a couple of functions to handle the actual
led blinking instead of putting ever ...
  Topic: Pic 18f2431 QEI and writing to the poscntl register
scottc

Replies: 0
Views: 3487

PostForum: General CCS C Discussion   Posted: Sat Mar 05, 2011 4:14 pm   Subject: Pic 18f2431 QEI and writing to the poscntl register
Hi, I am using the QEI module of the 18F2431 and have run into a
slight issue, Perhaps some of you can help.

Here is the problem. I write a value to the Poscntl register say 8
and then rotate my ...
  Topic: setup_oscillator pic18f26k20 pll
scottc

Replies: 6
Views: 11522

PostForum: General CCS C Discussion   Posted: Thu Mar 03, 2011 12:16 pm   Subject: setup_oscillator pic18f26k20 pll
PCM, You are 100% right, I think I must of had a rough day or something
cant see the forest for the trees Smile

So the PLL apears to be Ok.

Thanks for the sanity check

Scott
  Topic: setup_oscillator pic18f26k20 pll
scottc

Replies: 6
Views: 11522

PostForum: General CCS C Discussion   Posted: Wed Mar 02, 2011 8:37 pm   Subject: setup_oscillator pic18f26k20 pll
I tested in PCW both with ICD=True and release mode, results are the
same... 4x pll not working. On this particular part the pll should enable
for only 8Mhz and 16Mhz, resulting in a internal clock ...
  Topic: setup_oscillator pic18f26k20 pll
scottc

Replies: 6
Views: 11522

PostForum: General CCS C Discussion   Posted: Wed Mar 02, 2011 8:35 pm   Subject: setup_oscillator pic18f26k20 pll
Hi Pcm some code, to try.. works ok this end with hardware but 4x
pll is not enabled. Using CCS VER 4.116

Thanks for your help

Scott

#include <main.h>
#use delay (INTERNAL=64MHZ&# ...
  Topic: setup_oscillator pic18f26k20 pll
scottc

Replies: 6
Views: 11522

PostForum: General CCS C Discussion   Posted: Wed Mar 02, 2011 8:00 pm   Subject: setup_oscillator pic18f26k20 pll
Hi PCM,

I will code up something for you to look at. I dont use Proteus but real
hardware with either the PCW debugger or MPLAB. I pulled my code into
mplab and looked at the sfr's that control ...
  Topic: setup_oscillator pic18f26k20 pll
scottc

Replies: 6
Views: 11522

PostForum: General CCS C Discussion   Posted: Tue Mar 01, 2011 6:49 pm   Subject: setup_oscillator pic18f26k20 pll
Hi, I am using a PIC18F26K20 running at 16Mhz from the internal oscillator. Code is working fine. My issue is that bit 6 of the osctune register is not set to 1 to enable the 4x pll, so I am unable to ...
 
Page 1 of 7 Goto page 1, 2, 3, 4, 5, 6, 7  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group