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 103 matches
CCS Forum Index
Author Message
  Topic: Switch from PCI16F1938 to PIC16F18857 not working
edbfmi1

Replies: 12
Views: 1759

PostForum: General CCS C Discussion   Posted: Tue Oct 29, 2024 2:59 pm   Subject: Switch from PCI16F1938 to PIC16F18857 not working
Ok,
Super simple program.
#include <16f18857.H>
#fuses XT, NOWDT, NOPROTECT, NOPUT
#use delay(clock = 4000000)
#define LED PIN_C0
main()
{
while(true)
...
  Topic: Switch from PCI16F1938 to PIC16F18857 not working
edbfmi1

Replies: 12
Views: 1759

PostForum: General CCS C Discussion   Posted: Tue Oct 29, 2024 12:16 pm   Subject: Switch from PCI16F1938 to PIC16F18857 not working
Hello again.
Per temtronic's suggestion I wrote a simple LED flashing program.
It uses Timer0 setup for a 1ms interrupt and TimerCounterPreset to set how often the LED output is toggled.
The first ...
  Topic: Switch from PCI16F1938 to PIC16F18857 not working
edbfmi1

Replies: 12
Views: 1759

PostForum: General CCS C Discussion   Posted: Mon Oct 28, 2024 2:51 pm   Subject: Switch from PCI16F1938 to PIC16F18857 not working
Hello again,
I am still struggling with getting the Oscillator to work properly.
I am using an external 4Mhz Ceramic Resonator
Trying to set it up to give me a 1msec interrupt on TMIMER_0.
Everyth ...
  Topic: Switch from PCI16F1938 to PIC16F18857 not working
edbfmi1

Replies: 12
Views: 1759

PostForum: General CCS C Discussion   Posted: Mon Oct 28, 2024 10:43 am   Subject: Switch from PCI16F1938 to PIC16F18857 not working
Thank you all for the input.
I understand what you are saying regarding the PIN_SELECT.

The reading and writing of the External EEprom is working.
It is just the clocking of the pic that is runni ...
  Topic: Switch from PCI16F1938 to PIC16F18857 not working
edbfmi1

Replies: 12
Views: 1759

PostForum: General CCS C Discussion   Posted: Mon Oct 28, 2024 5:57 am   Subject: Switch from PCI16F1938 to PIC16F18857 not working
Hello all,
Accidentally posted this is the wrong forum yesterday. Sorry about that.

I have a project that requires more memory, so I switched from a PIC16F1938 to a PIC16F18857.
Before I added th ...
  Topic: PCWH compiler issue
edbfmi1

Replies: 11
Views: 4617

PostForum: General CCS C Discussion   Posted: Fri Jul 12, 2024 12:08 pm   Subject: PCWH compiler issue
Hi again, I just re-read your post Ttelmah,
We did have the 24L16.c and BMlcd420.c in the project "Header Files".
The only file we have in the "Source Files" is BM44329.c
So I ...
  Topic: PCWH compiler issue
edbfmi1

Replies: 11
Views: 4617

PostForum: General CCS C Discussion   Posted: Fri Jul 12, 2024 11:48 am   Subject: PCWH compiler issue
Thanks for the reply Ttelmah,
We removed the 2 files from the Projects tab "Header Files" and it cleaned up a lot of the errors but now we are getting this when we compile it.

CLEAN SUCC ...
  Topic: PCWH compiler issue
edbfmi1

Replies: 11
Views: 4617

PostForum: General CCS C Discussion   Posted: Fri Jul 12, 2024 8:43 am   Subject: PCWH compiler issue
Here are the first few lines of code. Thanks for the help!

#include <16F1938.H>
#include <24L16.c>

//#include <16f1939.H>
// #include <16c77.H>
//#fuses XT, NOWDT, NO ...
  Topic: PCWH compiler issue
edbfmi1

Replies: 11
Views: 4617

PostForum: General CCS C Discussion   Posted: Fri Jul 12, 2024 6:42 am   Subject: PCWH compiler issue
We are using:
MPLAB X IDE v6.20
With a newly installed PCWH compiler
on a PIC16F1938 micro.

When I run the compiler I get the following list of errors.
Can anyone help with this?

CLEAN SUCCE ...
  Topic: Zero Crossing detection fluctuations
edbfmi1

Replies: 17
Views: 32008

PostForum: General CCS C Discussion   Posted: Thu Mar 02, 2023 11:51 am   Subject: Zero Crossing detection fluctuations
I agree temtronic, a software mask is never desirabe. I would love to identify this gremlin and remove it instead of working around it.

I can't get the image of my ZCD circuit to download, any help ...
  Topic: Zero Crossing detection fluctuations
edbfmi1

Replies: 17
Views: 32008

PostForum: General CCS C Discussion   Posted: Wed Mar 01, 2023 4:17 pm   Subject: Zero Crossing detection fluctuations
We are running the chip at 32MHz now and our flutter is within acceptable limits. We still get a sporadic Zero Crossing that is 50uS later then the actual Zero Crossing. We are going to write a litt ...
  Topic: Zero Crossing detection fluctuations
edbfmi1

Replies: 17
Views: 32008

PostForum: General CCS C Discussion   Posted: Wed Mar 01, 2023 1:26 pm   Subject: Zero Crossing detection fluctuations
Okay that works better in the test code (5ish us fluctuation), but when I run my full program I still get about a 50 us fluctuation.

We are running the processor at 16mhz. Am I expecting too muc ...
  Topic: Zero Crossing detection fluctuations
edbfmi1

Replies: 17
Views: 32008

PostForum: General CCS C Discussion   Posted: Wed Mar 01, 2023 1:08 pm   Subject: Zero Crossing detection fluctuations
My bad.
I accidentally deleted them when I scrubbed all the code.
The zero crossing fluctuation was happening when the entire program was running so I deleted everything else except the ZCD interrup ...
  Topic: Zero Crossing detection fluctuations
edbfmi1

Replies: 17
Views: 32008

PostForum: General CCS C Discussion   Posted: Wed Mar 01, 2023 12:37 pm   Subject: Zero Crossing detection fluctuations
Hello all.
I am using a PIC18f56k42 processor.
CCS PCH Compile version v5.102
MPLAB Version 5.35

I am having issues with my zero crossing detection.
I have deleted basically all the code and am ...
  Topic: #zero_ram causing Out of ROM error
edbfmi1

Replies: 3
Views: 10698

PostForum: General CCS C Discussion   Posted: Tue May 07, 2019 11:30 am   Subject: #zero_ram causing Out of ROM error
Thanks for the quick reply.

I just wanted to make sure everything was cleared because I am getting a random error. I guess I was just being lazy. I will go through and make sure I didn't miss a v ...
 
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