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 60 matches
CCS Forum Index
Author Message
  Topic: How to use FCMEN correctly & startup clock switching to
apakSeO

Replies: 3
Views: 10243

PostForum: General CCS C Discussion   Posted: Thu Sep 05, 2019 1:57 pm   Subject: How to use FCMEN correctly & startup clock switching to
This is one of the things (like the watchdog), that the often doesn't work with
ICD. Check the actual fuses being generated (in the .lst file). You may well
find that FSCM is actually off. This is d ...
  Topic: How to use FCMEN correctly & startup clock switching to
apakSeO

Replies: 3
Views: 10243

PostForum: General CCS C Discussion   Posted: Thu Sep 05, 2019 12:31 pm   Subject: How to use FCMEN correctly & startup clock switching to
PIC16F1779
CCS v5.081

I have search/viewed every similar topic here but have not found an adequate solution as of yet, so I am posting a new topic.

There is a TCXO = 30.72MHz connected to the O ...
  Topic: PWM module override & control
apakSeO

Replies: 1
Views: 8488

PostForum: General CCS C Discussion   Posted: Thu Jul 11, 2019 9:13 am   Subject: PWM module override & control
CCS Compiler v5.081
PIC16F1779

I have an application where I need the PWM module configured as polarity active low ( so that the module idles high )

As expected, using the code:


/ **** ...
  Topic: Defining/initialize an array of structs
apakSeO

Replies: 4
Views: 12329

PostForum: General CCS C Discussion   Posted: Thu Jun 06, 2019 1:07 pm   Subject: Defining/initialize an array of structs
What you post, is supported, but only for initialisation. So at the time
of declaration, not 'in code'. To set multiple elements 'in code', you would
have to write your own function to do this. Quot ...
  Topic: Defining/initialize an array of structs
apakSeO

Replies: 4
Views: 12329

PostForum: General CCS C Discussion   Posted: Thu Jun 06, 2019 12:28 pm   Subject: Defining/initialize an array of structs
I can't seem to find a way to define an array of structs using CCS v5.081

This code compiles:


typedef struct
{
uint8_t closedReads;
uint8_t threshold;
int1 ...
  Topic: CCP Module, Max edge capture rate, and interrupt latency
apakSeO

Replies: 4
Views: 11728

PostForum: General CCS C Discussion   Posted: Wed Jun 05, 2019 11:26 am   Subject: CCP Module, Max edge capture rate, and interrupt latency
Thanks Guys,

Yes you're right; luckily in this application, I can poll endlessly in a tight loop with no impact to the main program while waiting for the first edge to come in.

Thanks for the s ...
  Topic: CCP Module, Max edge capture rate, and interrupt latency
apakSeO

Replies: 4
Views: 11728

PostForum: General CCS C Discussion   Posted: Fri May 31, 2019 11:26 am   Subject: CCP Module, Max edge capture rate, and interrupt latency
PIC16F1779
CCS v5.081

Goal: I'm trying to capture both rising and falling edges of a 56kHz signal in one of this PICs CCP modules; specifically, CCP8. This input signal has a frequency of 56kH ...
  Topic: PIC16F1779 INT_PWM Interrupt Seemingly not working
apakSeO

Replies: 1
Views: 7394

PostForum: General CCS C Discussion   Posted: Fri Feb 22, 2019 2:09 pm   Subject: PIC16F1779 INT_PWM Interrupt Seemingly not working
Test code below:


#include <16F1779.h>
#device PIC16F1779
#use delay(INTERNAL=16MHZ, CLOCK=8MHZ)
#fuses NOWDT

// EN PWM mirror register
#byte PWMEN ...
  Topic: PIC16F1779 INT_PWM Interrupt Seemingly not working
apakSeO

Replies: 1
Views: 7394

PostForum: General CCS C Discussion   Posted: Fri Feb 22, 2019 12:50 pm   Subject: PIC16F1779 INT_PWM Interrupt Seemingly not working
PIC16F1779 / CCS v5.081

This PIC has a 16-bit PWM module I have been working with for a while now. It has dedicated timers for the PWM modules, and dedicated period, duty, phase, and offset regis ...
  Topic: Is get_timerX() atomic?
apakSeO

Replies: 2
Views: 8970

PostForum: General CCS C Discussion   Posted: Thu Jan 31, 2019 3:44 pm   Subject: Is get_timerX() atomic?
I'm wondering whether the get_timerX() CCS function disables interrupts during the read of the 16-bit timer1 value, and re-enables interrupts after the function exits. I can't find this informati ...
  Topic: write_virtual_eeprom() function does not work on PIC16F1779
apakSeO

Replies: 7
Views: 19083

PostForum: General CCS C Discussion   Posted: Tue Dec 18, 2018 1:01 pm   Subject: write_virtual_eeprom() function does not work on PIC16F1779
Were there any other changes you made in order for the newly-described function "my_write_program_memory()" to work?

I made the changes you described, but I still receive the same output ...
  Topic: write_virtual_eeprom() function does not work on PIC16F1779
apakSeO

Replies: 7
Views: 19083

PostForum: General CCS C Discussion   Posted: Tue Dec 18, 2018 8:24 am   Subject: write_virtual_eeprom() function does not work on PIC16F1779
Thank you all for commenting back and verifying my observations. Indeed, the result is not optimal nor intuitive for the functionality described in the virtual_eeprom.c driver, modified or otherwise ...
  Topic: write_virtual_eeprom() function does not work on PIC16F1779
apakSeO

Replies: 7
Views: 19083

PostForum: General CCS C Discussion   Posted: Mon Dec 17, 2018 11:11 am   Subject: write_virtual_eeprom() function does not work on PIC16F1779
Target: PIC16F1779
CCS: v5.081

Few months ago, I posted a new topic asking for help using the virtual_eeprom.c driver with program flash memory.

Referencing this topic:
http://www.ccsi ...
  Topic: PIC16F1779: PWMx vs. PWMxOUT in header?
apakSeO

Replies: 1
Views: 8705

PostForum: General CCS C Discussion   Posted: Wed Oct 17, 2018 11:48 am   Subject: PIC16F1779: PWMx vs. PWMxOUT in header?
CCS v5.080
PIC16F1779

In the 16F1779.h header file, the #pin_select section contains entries for PWMxOUT as well as PWMx. For example, PWM3 is a PPS function, as well as PWM3OUT, in the heade ...
  Topic: write_virtual_eeprom() and ROM/RA usage: How to minimize?
apakSeO

Replies: 5
Views: 15702

PostForum: General CCS C Discussion   Posted: Tue Sep 25, 2018 10:31 am   Subject: write_virtual_eeprom() and ROM/RA usage: How to minimize?
Thanks for the kind sentiments, PCM

In order to fit the 16F1503 on this tiny PCB, I had to go with the 3mm x 3mm UQFN The 16F1825 does not offer this package option, regrettably, and is only o ...
 
Page 1 of 4 Goto page 1, 2, 3, 4  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group