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 8 matches
CCS Forum Index
Author Message
  Topic: PIC16F876a difficulty getting string of characters serial
flyboy71

Replies: 15
Views: 43004

PostForum: General CCS C Discussion   Posted: Fri Feb 19, 2021 10:00 am   Subject: PIC16F876a difficulty getting string of characters serial
This is similar to the above approach that I had to use in an application where I was getting garbage data coming in over the UART due to a noisy environment. This looks for a start character '$' and ...
  Topic: Not understanding PWM resolution
flyboy71

Replies: 7
Views: 17005

PostForum: General CCS C Discussion   Posted: Thu Dec 12, 2019 1:13 pm   Subject: Not understanding PWM resolution
I'm trying to visually picture how the hardware does this. The datasheet states "The 8-bit timer TMRx register is concatenated with the 2-bit internal system clock (Fosc)" and since the tim ...
  Topic: Not understanding PWM resolution
flyboy71

Replies: 7
Views: 17005

PostForum: General CCS C Discussion   Posted: Thu Dec 12, 2019 11:13 am   Subject: Not understanding PWM resolution
Thanks! I'm away on travel so I will try that as soon as I get back to the bench. I think I'm seeing how its handling the resolution being that I was in 8 bit mode; I'm not using those other 2 bits w ...
  Topic: Not understanding PWM resolution
flyboy71

Replies: 7
Views: 17005

PostForum: General CCS C Discussion   Posted: Thu Dec 12, 2019 9:26 am   Subject: Not understanding PWM resolution
Im not exactly clear on PWM resolution even after reading other posts. I would like to generate 250kHz PWM on a PIC16F1825 with a 32 MHz Fosc. According to the datasheet Table 24-5 I should have 7 bi ...
  Topic: CCPx accuracy as a one shot
flyboy71

Replies: 6
Views: 16263

PostForum: General CCS C Discussion   Posted: Thu Mar 14, 2019 6:11 pm   Subject: CCPx accuracy as a one shot
So I went back and made some code changes to what you had posted and was still getting the variation. I decided to put my dual channel scope on the CCPx and 10kHz clock and trigger on the CCPx using a ...
  Topic: CCPx accuracy as a one shot
flyboy71

Replies: 6
Views: 16263

PostForum: General CCS C Discussion   Posted: Thu Mar 14, 2019 10:26 am   Subject: CCPx accuracy as a one shot
Based on the comments in the code you may have answered my question. Even though the schematic representation in the datasheet shows what looks like hardware logic, the processor actually uses instru ...
  Topic: CCPx accuracy as a one shot
flyboy71

Replies: 6
Views: 16263

PostForum: General CCS C Discussion   Posted: Thu Mar 14, 2019 8:14 am   Subject: CCPx accuracy as a one shot
I could use a binary frequency but I'm unsure how that affects the result being my measured input is external to Timer1 unless the error I am seeing is due to instruction clocks and how this is handle ...
  Topic: CCPx accuracy as a one shot
flyboy71

Replies: 6
Views: 16263

PostForum: General CCS C Discussion   Posted: Thu Mar 14, 2019 7:28 am   Subject: CCPx accuracy as a one shot
First time posting on here but I'm finding little on this subject. Using code from the examples I am attempting a 1 second one shot using CCP compare to generate a precise one second output. The osc ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group