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 11 matches
CCS Forum Index
Author Message
  Topic: [off topic] For folks interfacing with ESP32s
waffles

Replies: 3
Views: 212

PostForum: General CCS C Discussion   Posted: Mon Mar 10, 2025 3:01 pm   Subject: [off topic] For folks interfacing with ESP32s
It's not a backdoor...
  Topic: PIC16F1459 - I2C is not responding
waffles

Replies: 12
Views: 5369

PostForum: General CCS C Discussion   Posted: Wed Dec 11, 2024 2:19 pm   Subject: PIC16F1459 - I2C is not responding
Hmm... with that suggestion I'd potentially try a harder pull-up, but if you're satisfied with the hardware/bus parameters then I'd look at doing a minimal roll-your-own MSSP/I2C setup + data transmis ...
  Topic: PIC16F1459 - I2C is not responding
waffles

Replies: 12
Views: 5369

PostForum: General CCS C Discussion   Posted: Wed Dec 11, 2024 1:43 pm   Subject: PIC16F1459 - I2C is not responding
You might need to dig into the assembly listing and investigate what the compiler is potentially doing wrong with the setup/usage of the MSSP on that particular chip.

It's interesting that CCS didn ...
  Topic: "getenv" doesn't know all the CLC register names
waffles

Replies: 8
Views: 5508

PostForum: General CCS C Discussion   Posted: Tue Oct 22, 2024 2:14 pm   Subject: "getenv" doesn't know all the CLC register names
After looking at the datasheet for the 16F18124 I'm not sure what the issue is?

It doesn't have distinct registers for each module - you select what CLC you want to configure via the CLCSELECT regi ...
  Topic: CAN message interrupts stop after first interrupt serviced
waffles

Replies: 22
Views: 20879

PostForum: General CCS C Discussion   Posted: Mon May 20, 2024 7:34 pm   Subject: CAN message interrupts stop after first interrupt serviced
I'm not familiar with how CAN works on that PIC, but there's possibly ramifications to doing debug prints inside the interrupt with the current setup?

I see that you have 'TXISR' set in the #use st ...
  Topic: serial transmit data truncation 16F18855
waffles

Replies: 25
Views: 25271

PostForum: General CCS C Discussion   Posted: Mon Feb 19, 2024 1:58 pm   Subject: serial transmit data truncation 16F18855
Have you tried removing DISABLE_INTS from your #USE RS232 definition?
  Topic: Are there advantages to using a hardware CRC?
waffles

Replies: 2
Views: 6332

PostForum: General CCS C Discussion   Posted: Wed Nov 29, 2023 2:13 pm   Subject: Are there advantages to using a hardware CRC?
Less program space is used.

Some PICs allow to you to perform a scan/calculation in the background, throwing an interrupt when complete.
  Topic: Zero Crossing detection fluctuations
waffles

Replies: 17
Views: 40305

PostForum: General CCS C Discussion   Posted: Wed Mar 01, 2023 3:24 pm   Subject: Zero Crossing detection fluctuations
That's one of the benefits when using chips that feature the vectored interrupt controller - there's no need to scan for the interrupt source, so the only block of (hopefully fixed) latency is saving ...
  Topic: Zero Crossing detection fluctuations
waffles

Replies: 17
Views: 40305

PostForum: General CCS C Discussion   Posted: Wed Mar 01, 2023 2:04 pm   Subject: Zero Crossing detection fluctuations
It looks like your device has a vectored interrupt controller, so you might be able to squeeze a little bit more control over latency by adding this line -


#device vector_ints
  Topic: USB GamePad with PIC18F4550
waffles

Replies: 69
Views: 183131

PostForum: General CCS C Discussion   Posted: Tue Mar 29, 2022 2:16 pm   Subject: USB GamePad with PIC18F4550
@jaka : Can't thank you enough for sharing that codebase. Cheers!
  Topic: #pin_select PWM the problem
waffles

Replies: 11
Views: 34790

PostForum: General CCS C Discussion   Posted: Tue Dec 21, 2021 2:52 pm   Subject: #pin_select PWM the problem
There's also an interface to configure APF + pulse steering provided via the setup_ccp() function/s i.e

setup_ccp1(CCP_PWM | CCP_P1A_A5); // route pwm output to A5 (pin 2)
...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group