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 577 matches
CCS Forum Index
Author Message
  Topic: PIC24EP512GP806 - Timer interrupt while sleeping
benoitstjean

Replies: 7
Views: 52

PostForum: General CCS C Discussion   Posted: Thu May 01, 2025 6:20 am   Subject: PIC24EP512GP806 - Timer interrupt while sleeping
Hi,

Yeah, I already have the following below that you had given me years ago and it worked for what I was doing at the time which required that particular circuit to go in full sleep but this new t ...
  Topic: PIC24EP512GP806 - Timer interrupt while sleeping
benoitstjean

Replies: 7
Views: 52

PostForum: General CCS C Discussion   Posted: Wed Apr 30, 2025 7:39 pm   Subject: PIC24EP512GP806 - Timer interrupt while sleeping
UPDATE: I guess the only way is to use SLEEP_IDLE because I am using setup_timer1( TMR_INTERNAL | TMR_DIV_BY_1 ); and don't have an external oscillator?

Using SLEEP_IDLE, it drops in half from 22mA ...
  Topic: PIC24EP512GP806 - Timer interrupt while sleeping
benoitstjean

Replies: 7
Views: 52

PostForum: General CCS C Discussion   Posted: Wed Apr 30, 2025 7:28 pm   Subject: PIC24EP512GP806 - Timer interrupt while sleeping
Device: PIC24EP512GP806
Compiler: 5.116

Good evening,

I never attempted this but I'd like to put my entire device to sleep but keep timer 1 interrupt active. Is this possible? If so, then what ...
  Topic: PIC24EP512GP806 - RTCC implementation question
benoitstjean

Replies: 8
Views: 1235

PostForum: General CCS C Discussion   Posted: Wed Apr 16, 2025 9:29 am   Subject: PIC24EP512GP806 - RTCC implementation question
Just ordered it. Thanks for the info.
  Topic: PIC24EP512GP806 - RTCC implementation question
benoitstjean

Replies: 8
Views: 1235

PostForum: General CCS C Discussion   Posted: Tue Apr 15, 2025 10:20 am   Subject: PIC24EP512GP806 - RTCC implementation question
So I have an MPL3115A2 I2C altimeter tied to the I2C bus alongside the DS1307.

The MPL is a 3.5V device, the DS is a 5V device.

I pulled-up the I2C lines to 3.5V using a 10K resistor.

The DS ...
  Topic: PIC24EP512GP806 - RTCC implementation question
benoitstjean

Replies: 8
Views: 1235

PostForum: General CCS C Discussion   Posted: Tue Apr 15, 2025 6:25 am   Subject: PIC24EP512GP806 - RTCC implementation question
Hmmm.... I've already placed two orders for the DS1307 and DS1302, my boss is not going to be happy.... :(
  Topic: PIC24EP512GP806 - RTCC implementation question
benoitstjean

Replies: 8
Views: 1235

PostForum: General CCS C Discussion   Posted: Mon Apr 14, 2025 10:51 am   Subject: PIC24EP512GP806 - RTCC implementation question
Alrighty, then I will continue with the DS1307 I2C chip.

Thanks.
  Topic: PIC24EP512GP806 - Need 6 PWM's...
benoitstjean

Replies: 2
Views: 725

PostForum: General CCS C Discussion   Posted: Mon Apr 14, 2025 10:18 am   Subject: PIC24EP512GP806 - Need 6 PWM's...
Hmmm.... This is code I wrote about 10 years ago and when I got it to work back then, I never re-touched it nor had a reason to use PWM in another design just because the opportunity never came-up... ...
  Topic: PIC24EP512GP806 - Need 6 PWM's...
benoitstjean

Replies: 2
Views: 725

PostForum: General CCS C Discussion   Posted: Mon Apr 14, 2025 7:30 am   Subject: PIC24EP512GP806 - Need 6 PWM's...
Device: PIC24EP512GP806
Compiler: 5.116

Hi again,

I need 6 PWM outputs on my device to drive 6 servos.

On another circuit, I use the following two to generate a 128kHz and 3.072MHz 50% signa ...
  Topic: PIC24EP512GP806 - RTCC implementation question
benoitstjean

Replies: 8
Views: 1235

PostForum: General CCS C Discussion   Posted: Mon Apr 14, 2025 6:54 am   Subject: PIC24EP512GP806 - RTCC implementation question
Device: PIC24EP512GP806
Compiler: 5.116

Hi guys,

Two quick questions on whoever has used the RTCC module, this is my first time using it.....

Power:
If your whole circuit is powered off som ...
  Topic: PIC24EP - Change baud rate speed at runtime
benoitstjean

Replies: 3
Views: 2555

PostForum: General CCS C Discussion   Posted: Wed Feb 05, 2025 1:16 pm   Subject: PIC24EP - Change baud rate speed at runtime
Oh geez, was looking in the help and didn't see that!

Great, thanks!

Ben
  Topic: PIC24EP - Change baud rate speed at runtime
benoitstjean

Replies: 3
Views: 2555

PostForum: General CCS C Discussion   Posted: Wed Feb 05, 2025 9:20 am   Subject: PIC24EP - Change baud rate speed at runtime
Device: PIC24EP512GP806
Compiler: 5.026

Hi guys,

Its been a little while.

Is it possible to change the UART speed at runtime?

Reason you ask? Because my PIC is tied to a modem which runs ...
  Topic: PIC24EP512 - Grabbing serial characters in a loop
benoitstjean

Replies: 5
Views: 5497

PostForum: General CCS C Discussion   Posted: Fri Oct 25, 2024 7:37 pm   Subject: PIC24EP512 - Grabbing serial characters in a loop
Alrighty, if you have an answer, no problem but I found a solution.

When the display powers-up and sends me the long hex string \x00\x00\x00\xff\xff\xff\x88\xff\xff\xff, I just saw that this is act ...
  Topic: PIC24EP512 - Grabbing serial characters in a loop
benoitstjean

Replies: 5
Views: 5497

PostForum: General CCS C Discussion   Posted: Fri Oct 25, 2024 6:21 pm   Subject: PIC24EP512 - Grabbing serial characters in a loop
Device: PIC24EP512GP806
Compiler: 5.026 (very very old)

Hi guys,

I know this sounds very simple but I've always programmed INT_RDA by grabbing characters upon each interrupt and storing it in a ...
  Topic: PIC24EP512 - 5V UART on 3.5V PIC
benoitstjean

Replies: 3
Views: 5036

PostForum: General CCS C Discussion   Posted: Thu Sep 26, 2024 4:45 am   Subject: PIC24EP512 - 5V UART on 3.5V PIC
Yeah that was the other part - if the PIC's TX output at 3.5V will be valid. But I'm looking at the specs, it's a Nextion display and under "Interface performance" found here https://nextion ...
 
Page 1 of 39 Goto page 1, 2, 3 ... 37, 38, 39  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group