Author |
Message |
Topic: 12F629 @ 32kHz - driving me barmy! |
willie.ar
Replies: 16
Views: 32466
|
Forum: General CCS C Discussion Posted: Tue Nov 06, 2012 12:59 pm Subject: 12F629 @ 32kHz - driving me barmy! |
Errrr, do I detect a hint of sarcasm?
Actually it was mild exasperation. I know I shouldn't do it,
but sometimes I just give in to it.
But truly, the current data sheet (Rev. C) fo ... |
Topic: 12F675 @ 20 MHz |
willie.ar
Replies: 10
Views: 10898
|
Forum: General CCS C Discussion Posted: Sun Nov 04, 2012 5:31 am Subject: 12F675 @ 20 MHz |
Crystal oscillators take time to start.
PUT allows for this, not trying to run the chip, till a few mSec after the supply goes on. It is not needed for the RC oscillator which starts in only a few uS ... |
Topic: 12F675 @ 20 MHz |
willie.ar
Replies: 10
Views: 10898
|
Forum: General CCS C Discussion Posted: Sat Nov 03, 2012 7:32 am Subject: 12F675 @ 20 MHz |
First of all, sorry for the syntax. It was not a copy paste of the C file but a quick typing since I was on another computer. From all your comments, understanding there is not such a special device f ... |
Topic: 12F675 @ 20 MHz |
willie.ar
Replies: 10
Views: 10898
|
Forum: General CCS C Discussion Posted: Fri Nov 02, 2012 1:42 pm Subject: 12F675 @ 20 MHz |
Hi,
I don't see a fuse to configure the oscillator. Generally, you'll use one of the
following: LP, XT, or HS. I'm not sure what happens if you don't specify
anything, but if the default is the ... |
Topic: 12F675 @ 20 MHz |
willie.ar
Replies: 10
Views: 10898
|
Forum: General CCS C Discussion Posted: Fri Nov 02, 2012 1:40 pm Subject: 12F675 @ 20 MHz |
Q1.What value have you chosen for the xtal caps ?
thanks for your quick response. I´m using 22 and 30 pF |
Topic: 12F675 @ 20 MHz |
willie.ar
Replies: 10
Views: 10898
|
Forum: General CCS C Discussion Posted: Fri Nov 02, 2012 12:25 pm Subject: Re: 12F675 @ 20 MHz |
Also tried at 10.2 MHz and 7.37 MHZ without success. |
Topic: 12F675 @ 20 MHz |
willie.ar
Replies: 10
Views: 10898
|
Forum: General CCS C Discussion Posted: Fri Nov 02, 2012 12:23 pm Subject: 12F675 @ 20 MHz |
This could be a hardware limitation or something missing in the settings.
I am trying to run an easy Led blinker, 250 msecs on/off, on a 12F675 with a crystal at 20 MHz without success. It works at 4 ... |
Topic: receiving binary data thru the rs232 |
willie.ar
Replies: 4
Views: 10258
|
Forum: General CCS C Discussion Posted: Mon Jul 26, 2004 12:45 pm Subject: receiving binary data thru the rs232 |
I'm having troubles to get binary data thru the RS232.
Data entering the port may be any value from 0 to 255 (not only ascii chars). I need to store that data, then get it back and finally output i ... |
Topic: sending out hex values thru the rs232 |
willie.ar
Replies: 4
Views: 11968
|
Forum: General CCS C Discussion Posted: Mon Jul 12, 2004 9:14 pm Subject: sending out hex values thru the rs232 |
thanks all of you for your quick response.
putc() works fine. I didn't try it before because the reference manual says the parameter should be an 8 bit character, so it`s a bit confusing...
also wha ... |
Topic: sending out hex values thru the rs232 |
willie.ar
Replies: 4
Views: 11968
|
Forum: General CCS C Discussion Posted: Mon Jul 12, 2004 5:22 pm Subject: sending out hex values thru the rs232 |
I'm trying to transmit the hex values of a table (or binary values, as you prefer) to the RS232 port and, whatever I do, I get the ASCII values of the chars instead.
Example: If the value of the vari ... |
Topic: need 1 Kb of RAM |
willie.ar
Replies: 4
Views: 13069
|
Forum: General CCS C Discussion Posted: Tue Jun 08, 2004 9:40 am Subject: need 1 Kb of RAM |
thanks for your answers.
The project is running now buffering 50 bytes on a 16F628 so the 18F452 seems to be "so much" for that task.
the FM24C16 looks to be very interesting. I have to study the pr ... |
Topic: need 1 Kb of RAM |
willie.ar
Replies: 4
Views: 13069
|
Forum: General CCS C Discussion Posted: Sun Jun 06, 2004 7:49 pm Subject: need 1 Kb of RAM |
I want to add RAM to a project. I need to buffer about 600 bytes so I need 1Kb of RAM and I can't find any serial (I2C) static RAM of that size, not either a vendor of the PCF8570. I want to use a PIC ... |
Topic: using tmr0 & wdt simultaneously |
willie.ar
Replies: 3
Views: 11391
|
Forum: General CCS C Discussion Posted: Tue May 25, 2004 9:44 pm Subject: using tmr0 & wdt simultaneously |
can I do this:
setup_timer_0(RTCC_DIV_256|RTCC_INTERNAL);
setup_wdt(WDT_2304MS);
from the 16f628 data sheets
" An 8-bit counter is available as a prescaler for the Timer0 module, ... |
Topic: Questions about interrupts. |
willie.ar
Replies: 5
Views: 14037
|
Forum: General CCS C Discussion Posted: Mon Mar 08, 2004 9:06 am Subject: Re: Questions about interrupts. |
Ttelmah, you gave an excellent description of how interrupts work but I can not understand why you say
"The time from the interrupt 'event', to actually arriving in the corresponding handler, will t ... |
Topic: 16f628 example please |
willie.ar
Replies: 1
Views: 10374
|
Forum: General CCS C Discussion Posted: Wed Jan 21, 2004 9:46 am Subject: 16f628 example please |
I need something easy to start with for the 16f628: a sample programm turning on and off an output and sending a message to the rs232 port. I'm missing something important that don't let me do any of ... |
|