minhle
quite a lot here seems to be lost in the translation somehow
what does this mean ?the output @portb.6 fail (no power)-and data out from other pins runs fast
have you now changed to using an external xtal ?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
what is a 595 ? do you mean a 74hc595 ?i move to drive 595 then there r problem- lost power or low speed @ out put
if so a "595" can clock in data @100mhz which will be at least 10x greater than a bit banged routine could achieve even at 64mhz clock
can I suggest you just try to "blink a led" on say portb.6 and see if it blinks at the correct rate , if not then post your complete code for further evaluation
Bookmarks