Very interesting thanks.i read the post of: http://www.microchip.com/forums/m730158.aspx
Yes one of the settings that worked in the above link is.
__CONFIG _CONFIG1H, _FOSC_INTIO67_1H
OSCCON = $70
OSCTUNE = $40
Is that not what you started with?
Very interesting thanks.i read the post of: http://www.microchip.com/forums/m730158.aspx
Yes one of the settings that worked in the above link is.
__CONFIG _CONFIG1H, _FOSC_INTIO67_1H
OSCCON = $70
OSCTUNE = $40
Is that not what you started with?
Steve Earl www.datageo.co.uk
Y]hello,
yes the above is work.
..
osccon = $70 or (60)
osctune = $40
for single leds
i move to drive 595 then there r problem- lost power or low speed @ out put
now i try to clean the pbp to see waht happen'
thenak for your help.
regards
HI ALL,
the pic run well @ 4mhz ,HSPLL; 8, 10mhz ... problem (HSPLL).
the conf. remains unchanged
__CONFIG _CONFIG1H, _FOSC_HSPLL_1H & _FCMEN_OFF_1H & _IESO_OFF_1H
__CONFIG _CONFIG2H, _WDTEN_ON_2H & _WDTPS_512_2H
__CONFIG _CONFIG3H, _CCP2MX_PORTC_3H & _PBADEN_OFF_3H & _LPT1OSC_OFF_3H & _HFOFST_ON_3H & _MCLRE_ON_3H
__CONFIG _CONFIG4L, _STVREN_ON_4L & _LVP_OFF_4L & _XINST_OFF_4L & _DEBUG_OFF_4L
where is the problem?
thanks all for your help
regards
The conf. has changed from #4
also you saidhere is the conf.
__CONFIG _CONFIG1H, _FOSC_INTIO7_1H & _FCMEN_OFF_1H & _IESO_OFF_1H
__CONFIG _CONFIG2H, _WDTEN_ON_2H & _WDTPS_512_2H' __CONFIG _CONFIG3H, _CCP2MX_PORTC_3H & _PBADEN_OFF_3H & _LPT1OSC_OFF_3H & _HFOFST_ON_3H & _MCLRE_ON_3H
__CONFIG _CONFIG4L, _STVREN_ON_4L & _LVP_OFF_4L & _XINST_OFF_4L
If it works for single leds then it works and all of your code needs checking. So please post your code so we can help.yes the above is work.
..
osccon = $70 or (60)
osctune = $40
for single leds
i move to drive 595 then there r problem- lost power or low speed @ out put
Steve Earl www.datageo.co.uk
HI,
thanks for your help.
i suspect st wrong,
i test the whole port b. it runs well (8 leds) - FOSC_INTIO67 (16x4mhz)
However, when attaching portb to the 74hc595 - then 1 of the port pin lost power.
just last week, the system run well @40mhz. (external osc).
now problem is data to send out is not right
i will spend 1 more time to check, and will send the program to you
regards
I'm not really sure what this means , its rather ambiguouswhen attaching portb to the 74hc595 - then 1 of the port pin lost power.
perhaps a schematic diagram (or a photo) of your setup would be in order
HI,,
thANKS A LOT RICHARD,
I MOVE TO USE 18F4620, THE PREVIOUS CONF. IS FINE (internal osc*4 = 32 mhz)
the program runs well @40mhz (external osc) then there are problems
i.e. data output randomly- (due to dirty breadboard)
line appears on the screen (same cause above).
i will going back to see the 18f26k20.next week.
thanks again
regards
Bookmarks