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 4 matches
CCS Forum Index
Author Message
  Topic: dsPIC33EP64GS502 ADC [SOLVED]
RicSToz87

Replies: 3
Views: 12406

PostForum: General CCS C Discussion   Posted: Wed Aug 30, 2017 6:54 am   Subject: [SOLVED]
You need to look at ex_adc_epgs.c
This is the example of using the ADC on this type of chip.
There are several more things that have to be setup, than simply the master clock....

You also need to ...
  Topic: dsPIC33EP64GS502 ADC [SOLVED]
RicSToz87

Replies: 3
Views: 12406

PostForum: General CCS C Discussion   Posted: Tue Aug 29, 2017 2:47 pm   Subject: dsPIC33EP64GS502 ADC [SOLVED]
Hello!

I'm trying to read the dsPIC ADC pin (an0), but if I try the following code the microcontroller freezes:

Initialization:
setup_adc(ADC_CLOCK_SYSTEM);
setup_adc_ports(sAN0 ...
  Topic: PIC18F45K40 PORTD pullups
RicSToz87

Replies: 3
Views: 9311

PostForum: General CCS C Discussion   Posted: Mon Feb 20, 2017 5:17 am   Subject: PORTD Pull-ups
SOLVED!!
Thanks PCM!
  Topic: PIC18F45K40 PORTD pullups
RicSToz87

Replies: 3
Views: 9311

PostForum: General CCS C Discussion   Posted: Sun Feb 19, 2017 4:50 pm   Subject: PIC18F45K40 PORTD pullups
Hello!

I’m trying to set the internal pull-ups on PORTD in a PIC18F45K40. In the other ports I used port_x_pullups(), but in PORTD this function is not implemented. Verifying the PIC datasheet I ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group