Author |
Message |
Topic: DS1307, turning crystal on |
padbol
Replies: 2
Views: 4232
|
Forum: General CCS C Discussion Posted: Thu May 31, 2012 6:04 am Subject: DS1307, turning crystal on |
Hello,
I'm experiencing a weird issue with my RTC which seems to not start the oscillator after a powering down.
I'm using the initialisation source code provided below that I found here :
voi ... |
Topic: [Solved] Internal Eeprom data retention |
padbol
Replies: 2
Views: 4286
|
Forum: General CCS C Discussion Posted: Thu May 31, 2012 3:29 am Subject: [Solved] Internal Eeprom data retention |
Surely, the key is that you are not just 'powering down the device', but reprogramming it to write the new code.
There should be an option in whatever programmer you are using to not erase the EEPROM ... |
Topic: [Solved] Internal Eeprom data retention |
padbol
Replies: 2
Views: 4286
|
Forum: General CCS C Discussion Posted: Thu May 31, 2012 3:13 am Subject: [Solved] Internal Eeprom data retention |
Hello,
I'm experiencing a disturbing issue using the internal eeprom of a 18F4550 PIC.
First I writed a value that I read before displaying it. And it works.
float MaxTemp;
WriteEeprom_Floa ... |
Topic: Oscillator config / 18F4550 |
padbol
Replies: 4
Views: 8110
|
Forum: General CCS C Discussion Posted: Mon Feb 13, 2012 3:46 pm Subject: Oscillator config / 18F4550 |
Great! That seems to works fine!
I also measured delays with oscilloscope : 1000ms is a "real" second on the scope.
Thank you |
Topic: Oscillator config / 18F4550 |
padbol
Replies: 4
Views: 8110
|
Forum: General CCS C Discussion Posted: Mon Feb 13, 2012 3:22 pm Subject: Oscillator config / 18F4550 |
Except the "Use Delay" instruction, I don't really see a difference between what I did and what you suggest.
Here is the complete list of the fuses I configured.
#FUSES NOWDT ... |
Topic: Oscillator config / 18F4550 |
padbol
Replies: 4
Views: 8110
|
Forum: General CCS C Discussion Posted: Sun Feb 12, 2012 3:25 pm Subject: Oscillator config / 18F4550 |
Hi there,
I wish to configure a 12MHz crystal to be applied as USB clock source and to CPU.
I'm misunderstanding how to procede and I would be very pleased to get some help.
According Figure ... |
Topic: How to (clearly) set Pre- and Post- Scalers ? |
padbol
Replies: 6
Views: 6234
|
Forum: General CCS C Discussion Posted: Tue Apr 26, 2011 3:54 pm Subject: How to (clearly) set Pre- and Post- Scalers ? |
Great idea!
I didn't knew these module, thanks so much for your advice. |
Topic: How to (clearly) set Pre- and Post- Scalers ? |
padbol
Replies: 6
Views: 6234
|
Forum: General CCS C Discussion Posted: Tue Apr 26, 2011 4:34 am Subject: How to (clearly) set Pre- and Post- Scalers ? |
Well, you're perfectly right. I make that choice because I have a large need of pins.
Except NC pin, they are all used even A6.
I believed that ECPIO was a good idea to prevent changing the µC ... |
Topic: How to (clearly) set Pre- and Post- Scalers ? |
padbol
Replies: 6
Views: 6234
|
Forum: General CCS C Discussion Posted: Tue Apr 26, 2011 1:14 am Subject: How to (clearly) set Pre- and Post- Scalers ? |
Hi,
Thanks for your answer, I was sure there will be a problem with my design ... so, here it is.
I had a look to PLL on digikey and farnell but did find any component which seems able to help m ... |
Topic: Dallas RTC DS3232 |
padbol
Replies: 1
Views: 5419
|
Forum: General CCS C Discussion Posted: Mon Apr 25, 2011 3:51 pm Subject: Dallas RTC DS3232 |
Only oscillator without any "options" ; No alarm ; ...
Simplest driver based on DS1307:
/* SUJET : Driver de la RTC "DS3232" ... |
Topic: How to (clearly) set Pre- and Post- Scalers ? |
padbol
Replies: 6
Views: 6234
|
Forum: General CCS C Discussion Posted: Mon Apr 25, 2011 1:29 am Subject: How to (clearly) set Pre- and Post- Scalers ? |
Hi all,
I'm working on a design using a 18f4550 pic µC and and ENC28J60 ethernet controller.
The ethernet controller disposes of a 25MHz crystal and an output clock pin. So, I would like to us ... |
|