Benj,
The clock is running even slower now judging by the LED delays and the signal is no longer showing up on the OCSO pin. Any ideas? Thanks
Search found 7 matches
- Fri Aug 09, 2013 4:57 pm
- Forum: Flowcode V5
- Topic: Changing the oscillator source on a PIC24F
- Replies: 9
- Views: 4049
- Fri Aug 09, 2013 1:20 am
- Forum: Flowcode V5
- Topic: Changing the oscillator source on a PIC24F
- Replies: 9
- Views: 4049
Re: Changing the oscillator source on a PIC24F
Benj,
We tried writing to the OSCCON register and reading back the values on the LED. What we get back is 0x7700 for the register value. Taking a look at the PIC24FJ256GB110 data sheet that means that flowcode is programming the pic to have the oscillator set to the 'Fast RC Oscillator with ...
We tried writing to the OSCCON register and reading back the values on the LED. What we get back is 0x7700 for the register value. Taking a look at the PIC24FJ256GB110 data sheet that means that flowcode is programming the pic to have the oscillator set to the 'Fast RC Oscillator with ...
- Thu Aug 08, 2013 4:33 pm
- Forum: Flowcode V5
- Topic: Changing the oscillator source on a PIC24F
- Replies: 9
- Views: 4049
Re: Changing the oscillator source on a PIC24F
Benj,
Here is the program we're testing with at the moment. Is there anyway we can write to the registers? Regardless if we're using the internal or external clock the 'clock speed' we have to choose in flowcode is 4MHz to get the proper 1 second delay meaning somewhere the Fosc is getting divided ...
Here is the program we're testing with at the moment. Is there anyway we can write to the registers? Regardless if we're using the internal or external clock the 'clock speed' we have to choose in flowcode is 4MHz to get the proper 1 second delay meaning somewhere the Fosc is getting divided ...
- Thu Aug 08, 2013 12:52 am
- Forum: Flowcode V5
- Topic: Changing the oscillator source on a PIC24F
- Replies: 9
- Views: 4049
Re: Changing the oscillator source on a PIC24F
And here is the scope image of the osc pin
- Thu Aug 08, 2013 12:50 am
- Forum: Flowcode V5
- Topic: Changing the oscillator source on a PIC24F
- Replies: 9
- Views: 4049
Re: Changing the oscillator source on a PIC24F
Another thing we is that the signal on the oscillator pin doesn't look like an oscillator, it looks like a clock of 2MHz even though its wired to an 8MHz source. Here is a picture from the scope and chip configuration window
- Wed Aug 07, 2013 10:58 pm
- Forum: Flowcode V5
- Topic: Changing the oscillator source on a PIC24F
- Replies: 9
- Views: 4049
Re: Changing the oscillator source on a PIC24F
Benj,
We did did what you suggested and we found out that our clock is actually running at 4MHz. The issue is when switching between the XTAL and the FRC source there is no change in the frequecy both run at 4MHz regardless. We also switched between the FRC source and the FRCDIV and still nothing ...
We did did what you suggested and we found out that our clock is actually running at 4MHz. The issue is when switching between the XTAL and the FRC source there is no change in the frequecy both run at 4MHz regardless. We also switched between the FRC source and the FRCDIV and still nothing ...
- Wed Aug 07, 2013 7:05 pm
- Forum: Flowcode V5
- Topic: Changing the oscillator source on a PIC24F
- Replies: 9
- Views: 4049
Changing the oscillator source on a PIC24F
Hi, I'm using a PIC24FJ256GB110 and having some issues with switching the oscillator sources. Right now I have a 8MhZ external oscillator but when probing the OSC pin I only see a signal of 2MHz.
In addition I've made a simple ocde to fash the LEDS on the board with no delay, when viewing the ...
In addition I've made a simple ocde to fash the LEDS on the board with no delay, when viewing the ...