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: PIC16f1789 Crystal Mode
hunter07

Replies: 19
Views: 35754

PostForum: General CCS C Discussion   Posted: Wed Sep 27, 2017 12:53 pm   Subject: PIC16f1789 Crystal Mode
Compile the code as I posted it. Just change A0 to C7 for your LED.

You have added and duplicated several fuses, and removed a couple of critical lines. If you look at what your code generates for ...
  Topic: PIC16f1789 Crystal Mode
hunter07

Replies: 19
Views: 35754

PostForum: General CCS C Discussion   Posted: Wed Sep 27, 2017 12:22 pm   Subject: PIC16f1789 Crystal Mode
I re-create the .lst file with Ttelmah code, as he suggested 3-4 message before
  Topic: PIC16f1789 Crystal Mode
hunter07

Replies: 19
Views: 35754

PostForum: General CCS C Discussion   Posted: Wed Sep 27, 2017 12:09 pm   Subject: PIC16f1789 Crystal Mode
I have updated the lst file..

blinking period is still ~19 sec
  Topic: PIC16f1789 Crystal Mode
hunter07

Replies: 19
Views: 35754

PostForum: General CCS C Discussion   Posted: Tue Sep 26, 2017 5:20 am   Subject: PIC16f1789 Crystal Mode
Done.
  Topic: PIC16f1789 Crystal Mode
hunter07

Replies: 19
Views: 35754

PostForum: General CCS C Discussion   Posted: Tue Sep 26, 2017 2:23 am   Subject: PIC16f1789 Crystal Mode

CCS PCM C Compiler, Version 5.061, 41304 27-Eyl-17 21:03

Filename: x_pic16f1789.lst

ROM used: 61 words (0%)
...
  Topic: PIC16f1789 Crystal Mode
hunter07

Replies: 19
Views: 35754

PostForum: General CCS C Discussion   Posted: Mon Sep 25, 2017 2:20 pm   Subject: PIC16f1789 Crystal Mode
I don't have an oscilloscope but I will try to get one.
I sent the link to inform you about the type of the crystal. Mine is 10Mhz.

Actually, I've used this crystal with 22pf in 16fF883 based cir ...
  Topic: PIC16f1789 Crystal Mode
hunter07

Replies: 19
Views: 35754

PostForum: General CCS C Discussion   Posted: Mon Sep 25, 2017 3:26 am   Subject: PIC16f1789 Crystal Mode
Thank you Ttelmah,

I 've just tried your example but,

For the Led
~20secs ON then
~20secs OFF
Continuously
  Topic: PIC16f1789 Crystal Mode
hunter07

Replies: 19
Views: 35754

PostForum: General CCS C Discussion   Posted: Sun Sep 24, 2017 2:36 pm   Subject: PIC16f1789 Crystal Mode
Sir,
How about the following setup?


#include <16F1789.h>
#device ADC=12

#FUSES NOWDT //Watch Dog Timer
#FUSES PUT //Power Up Timer
#FUSES ...
  Topic: PIC16f1789 Crystal Mode
hunter07

Replies: 19
Views: 35754

PostForum: General CCS C Discussion   Posted: Sun Sep 24, 2017 2:14 pm   Subject: PIC16f1789 Crystal Mode
Currently you are enabling the PLL (it is enabled by default unless you have the PLL_SW option selected). If you have a 10MHz crystal attached you will be trying to run at 40MHz, 8MHz faster than the ...
  Topic: PIC16f1789 Crystal Mode
hunter07

Replies: 19
Views: 35754

PostForum: General CCS C Discussion   Posted: Sun Sep 24, 2017 12:26 pm   Subject: PIC16f1789 Crystal Mode
I could not get the proper result from PIC16F1789 using crystal.

Its ok with internal oscillator but when I put in Crystal (10Mhz is used) mode with simple

//Example blinking LED program
outp ...
  Topic: nokia 3310 driver req.
hunter07

Replies: 2
Views: 5563

PostForum: General CCS C Discussion   Posted: Thu Dec 29, 2005 8:15 am   Subject: nokia 3310 driver req.
could you?
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group