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 9 matches
CCS Forum Index
Author Message
  Topic: NOIOL1WAY fuse and configuration bits
John5788

Replies: 3
Views: 4072

PostForum: General CCS C Discussion   Posted: Mon Aug 10, 2009 3:35 pm   Subject: NOIOL1WAY fuse and configuration bits
definitely a bug because I did a binary file compare of the two .hex files generated with both of the fuses, and there was no difference except in compilation date.
  Topic: NOIOL1WAY fuse and configuration bits
John5788

Replies: 3
Views: 4072

PostForum: General CCS C Discussion   Posted: Mon Aug 10, 2009 12:34 pm   Subject: NOIOL1WAY fuse and configuration bits
I am still trying to track a problem down with setting peripheral pins on my PIC24HJ64GP504.

I saw 2 fuses that looked interesting, the IOL1WAY and NOIOL1WAY. I tried setting both of these fuses (e ...
  Topic: PIC24H, retain pin state after power off?
John5788

Replies: 4
Views: 5245

PostForum: General CCS C Discussion   Posted: Fri Aug 07, 2009 4:28 pm   Subject: PIC24H, retain pin state after power off?
Is there a way for the pins to retain their states after the power goes off on the device?

Ex: I do an output_low(PIN_A1), next the power gets cut off. I'd like to see the continuity between PIN_A1 ...
  Topic: Setting PWM, must use 'L'?
John5788

Replies: 2
Views: 3323

PostForum: General CCS C Discussion   Posted: Mon Jun 15, 2009 2:10 pm   Subject: Setting PWM, must use 'L'?
I'm looking at some example code and I keep seeing something like this
set_pwm1_duty(256L);
what does that L do for the value?
also, how would I be able to integrate it into a variable? obv ...
  Topic: PIC24HJ64GP504 RP pins with CAN
John5788

Replies: 6
Views: 9174

PostForum: General CCS C Discussion   Posted: Thu Jun 11, 2009 2:31 pm   Subject: PIC24HJ64GP504 RP pins with CAN
I modified my code so now I am using your method to set the C1RX to RP2 and C1TX to RP3

before main:
#bit IOLOCK = 0x742.6
#byte OSCCONL = 0x742
#word RPINR26 = 0x06B4
#byte RPOR1 = 0x06C3

...
  Topic: PIC24HJ64GP504 RP pins with CAN
John5788

Replies: 6
Views: 9174

PostForum: General CCS C Discussion   Posted: Wed Jun 10, 2009 4:45 pm   Subject: PIC24HJ64GP504 RP pins with CAN
The #pin_select method doesnt work

I looked at the disassembly and its not even setting C1RX when I do a #pin_select C1RX = PIN_B2. I compared the code with that line commented out and uncommented, ...
  Topic: PIC24HJ64GP504 RP pins with CAN
John5788

Replies: 6
Views: 9174

PostForum: General CCS C Discussion   Posted: Tue Jun 09, 2009 11:12 pm   Subject: PIC24HJ64GP504 RP pins with CAN
Using shorter C instructions, you mean using the preprocessor directives #pin_select ?

Haven't really given them a try yet, just configured it manually.

My code is very basic at this point. All ...
  Topic: PIC24HJ64GP504 RP pins with CAN
John5788

Replies: 6
Views: 9174

PostForum: General CCS C Discussion   Posted: Tue Jun 09, 2009 5:03 pm   Subject: PIC24HJ64GP504 RP pins with CAN
I can't seem to enable CAN properly on my PIC24HJ64GP504.

I have CAN TX on RP3 (pin 24) on the PIC and the following code:


// before main
#word RPOR1 = 0x06C2 // CAN transmit register



...
  Topic: CAN with PIC24
John5788

Replies: 3
Views: 5089

PostForum: General CCS C Discussion   Posted: Mon May 18, 2009 5:22 pm   Subject: CAN with PIC24
i am curious as well
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group