Author |
Message |
Topic: How to select external crystal at 11.0592 MHz ? |
arulchozhan
Replies: 7
Views: 11726
|
Forum: General CCS C Discussion Posted: Sun Aug 30, 2015 5:10 am Subject: How to select external crystal at 11.0592 MHz ? |
Sorry my version is v4.057. I am getting led blink but in serial output not getting in am posting a code how can I solve? I check my hardware and that work (test by short c6 and c7. if type, I am ge ... |
Topic: How to select external crystal at 11.0592 MHz ? |
arulchozhan
Replies: 7
Views: 11726
|
Forum: General CCS C Discussion Posted: Sun Aug 30, 2015 4:19 am Subject: How to select external crystal at 11.0592 MHz ? |
thank you for you reply
am modify this in my earlier code
#fuse HS
#use delay (clock=11059200,EXTERNAL)
this think arte modified my code but still am getting this same error. am using ccs v4 ... |
Topic: How to select external crystal at 11.0592 MHz ? |
arulchozhan
Replies: 7
Views: 11726
|
Forum: General CCS C Discussion Posted: Sun Aug 30, 2015 2:47 am Subject: How to select external crystal at 11.0592 MHz ? |
hi this is aul, I am trying to do simple serial print but am getting fail. I am getting simulation output but in my hardware i get special char. What is the problem? Please anyone help me.
#include ... |
Topic: Ethernet(ENC28J60) Interfacing With PIC |
arulchozhan
Replies: 7
Views: 24676
|
Forum: General CCS C Discussion Posted: Thu Aug 27, 2015 12:49 am Subject: Ethernet(ENC28J60) Interfacing With PIC |
hi any one have sample code for interfaceing enc28j60 to pic controller. am new to eathernet interface please any one help me. i have no idea about eathernet please any one help me |
Topic: adc in 18f66k80 |
arulchozhan
Replies: 15
Views: 26567
|
Forum: General CCS C Discussion Posted: Mon Aug 17, 2015 8:17 am Subject: adc in 18f66k80 |
Thank you for your reply, actually am using 20 MHz crystal in my real hardware because we don't use crystal directly on 40 MHz, so I replace my crystal at 20 MHz .
The above discussion are for 20 m ... |
Topic: adc in 18f66k80 |
arulchozhan
Replies: 15
Views: 26567
|
Forum: General CCS C Discussion Posted: Mon Aug 17, 2015 7:25 am Subject: This is my schematic |
Hi, here i attached my schematic
See the analog reference circuit in controller
[img]http://postimg.org/image/iko9itry7/[/img]
http://postimg.org/image/iko9itry7/[/img] |
Topic: adc in 18f66k80 |
arulchozhan
Replies: 15
Views: 26567
|
Forum: General CCS C Discussion Posted: Mon Aug 17, 2015 4:04 am Subject: adc in 18f66k80 |
how i solved this? in my hardware the reference pin is getting Aref= 4.6v |
Topic: adc in 18f66k80 |
arulchozhan
Replies: 15
Views: 26567
|
Forum: General CCS C Discussion Posted: Mon Aug 17, 2015 2:21 am Subject: adc in 18f66k80 |
Thank you for your reply.
I modified the code, the adc output is printed to the serial but the problem was my adc i/p set using 10k pot. If I'm setting voltage 4v (measured by multimeter) the serial ... |
Topic: adc in 18f66k80 |
arulchozhan
Replies: 15
Views: 26567
|
Forum: General CCS C Discussion Posted: Mon Aug 17, 2015 12:15 am Subject: adc in 18f66k80 |
am try to do that also, that means instead of adc internal clock am change clock divided by 16 because my clock is 20mhz (in the data sheet they give Tad value for equal clock freq)
my syntax
set ... |
Topic: adc in 18f66k80 |
arulchozhan
Replies: 15
Views: 26567
|
Forum: General CCS C Discussion Posted: Fri Aug 14, 2015 6:52 am Subject: adc in 18f66k80 |
Yes only comment was wrong, i am working in Analog channel 2 only. Earlier i confirmed the CRO scope, i got 20MHz frequency. and in my serial code too i gave frequency 20MHz like as follows
#use del ... |
Topic: adc in 18f66k80 |
arulchozhan
Replies: 15
Views: 26567
|
Forum: General CCS C Discussion Posted: Fri Aug 14, 2015 12:48 am Subject: adc in 18f66k80 |
hi this is arul,
I am working in 18f66k80 controller. I am new to this controller. I am already working on 16f877a with ccs and hitech c (mplab) compilers. Now I am moving to 18f66k80 controller.
... |
|