Author |
Message |
Topic: #FUSE HSPLL problem |
magic_mauve
Replies: 8
Views: 15155
|
Forum: General CCS C Discussion Posted: Thu Sep 15, 2011 8:15 am Subject: #FUSE HSPLL problem |
Thank you. I got the same results as you and I have now found the problem.
I was using
#use DELAY(crystal=16000000)
when I changed this to:
#use DELAY(clock=16M)
H4 gets set correct ... |
Topic: #FUSE HSPLL problem |
magic_mauve
Replies: 8
Views: 15155
|
Forum: General CCS C Discussion Posted: Thu Sep 15, 2011 2:32 am Subject: #FUSE HSPLL problem |
Thanks for all this advice. I have made progress as I can spot the byte I need to change in the hex file to set up the PLL correctly. Does anyone know how the checksum is calculated for a line in th ... |
Topic: #FUSE HSPLL problem |
magic_mauve
Replies: 8
Views: 15155
|
Forum: General CCS C Discussion Posted: Wed Sep 14, 2011 10:05 am Subject: #FUSE HSPLL problem |
Thanks for your speedy response. I have tried H4, which compiles ok, but has no effect on the speed of my program. When I set HS+PLL in the config bits everything speeds up.
Is there something el ... |
Topic: #FUSE HSPLL problem |
magic_mauve
Replies: 8
Views: 15155
|
Forum: General CCS C Discussion Posted: Wed Sep 14, 2011 3:40 am Subject: #FUSE HSPLL problem |
Hi,
I am using compiler version 4.100 and PIC18F4680 and can't set the fuse for HSPLL within the code. I get the following error:
Line 58(7,13): Unknown keyword in #FUSES "HSPLL"
... |
Topic: i2c problem with M41T81S and oscillator fail bit |
magic_mauve
Replies: 8
Views: 14096
|
Forum: General CCS C Discussion Posted: Wed May 18, 2011 1:40 am Subject: Crystal |
There is a 32.768Khz crystal connected, it is an ABS13. I'm not the hardware engineer, but the crystal has a slight slope at one end and it had been positioned on the board around the wrong way, i.e. ... |
Topic: i2c problem with M41T81S and oscillator fail bit |
magic_mauve
Replies: 8
Views: 14096
|
Forum: General CCS C Discussion Posted: Fri May 13, 2011 3:07 am Subject: i2c problem with M41T81S and oscillator fail bit |
Just to let you know, I discovered the crystal had been been positioned the wrong way around which explains a lot! All is working now. Many thanks |
Topic: i2c problem with M41T81S and oscillator fail bit |
magic_mauve
Replies: 8
Views: 14096
|
Forum: General CCS C Discussion Posted: Wed May 11, 2011 1:50 am Subject: i2c problem with M41T81S and oscillator fail bit |
Thank you for your reply. I see you have highlighted the note that you need to wait 4 secs and then set the OF to '0'. I believe I have done this with:
delay_ms(4000);
rtc_finish_osc_restart(); ... |
Topic: i2c problem with M41T81S and oscillator fail bit |
magic_mauve
Replies: 8
Views: 14096
|
Forum: General CCS C Discussion Posted: Tue May 10, 2011 2:49 pm Subject: i2c problem with M41T81S and oscillator fail bit |
Hi, I am using the i2C functions for the first time and am having a problem clearing the OF bit of the M41T81S rtc when the module is first booted up and it is set. Does anyone have experience of thi ... |
Topic: deep sleep problems with PIC18F46J11 |
magic_mauve
Replies: 13
Views: 27837
|
Forum: General CCS C Discussion Posted: Sun Apr 10, 2011 2:57 pm Subject: deep sleep problems with PIC18F46J11 |
Great. Thanks again. |
Topic: deep sleep problems with PIC18F46J11 |
magic_mauve
Replies: 13
Views: 27837
|
Forum: General CCS C Discussion Posted: Sun Apr 10, 2011 2:30 pm Subject: deep sleep problems with PIC18F46J11 |
Thank you PCM programmer! I am delighted to say thanks to you I have got it working now. Much appreciated. |
Topic: deep sleep problems with PIC18F46J11 |
magic_mauve
Replies: 13
Views: 27837
|
Forum: General CCS C Discussion Posted: Wed Apr 06, 2011 2:40 am Subject: deep sleep problems with PIC18F46J11 |
It is version 4.100. |
Topic: deep sleep problems with PIC18F46J11 |
magic_mauve
Replies: 13
Views: 27837
|
Forum: General CCS C Discussion Posted: Tue Apr 05, 2011 7:41 am Subject: deep sleep problems with PIC18F46J11 |
Hello,
I can't seem to wake up from deep sleep using the RTCC alarm on the PIC18F46J11. ( I also tried and failed with the deep sleep watchdog too). Here is my code. I would be really grateful if ... |
|