Guys thanks very much for your quick input
I have a hardware file which is then included in the main program. The config settings are
I don't have a 12 Mhz crystal at the moment, but have tried with a 10Mhz one and the slowness is causing other issues with timings of the PID loops etc, I also don't get any hieroglyphics, but I only get a blank screen with a flashing cursor. So I'll pop down and get a few 12Mhz xtals from a local component suppliers and see what that does, as I really need to run this PIC as fast as it goes, and would like to resolve the comms issue.Code:ASM __CONFIG _CONFIG1H, _OSC_HSPLL_1H __CONFIG _CONFIG2L, _PWRT_ON_2L __CONFIG _CONFIG2H, _WDT_ON_2H & _WDTPS_512_2H __CONFIG _CONFIG3H, _PBADEN_OFF_3H __CONFIG _CONFIG4L, _LVP_OFF_4L & _XINST_OFF_4L ENDASM DEFINE OSC 48 'DEFINE OSC 20 ; config settings 18F4580, 10mhz crystal ADCON1 = $0F
Thanks once again for your input,
Sorry noticed I hadn't changed the OSC value
OK tried this with a 10Mhz xtal, but still no joy - and is seems as slow
Will try the 12mhz xtal when I get oneCode:ASM __CONFIG _CONFIG1H, _OSC_HSPLL_1H __CONFIG _CONFIG2L, _PWRT_ON_2L __CONFIG _CONFIG2H, _WDT_ON_2H & _WDTPS_512_2H __CONFIG _CONFIG3H, _PBADEN_OFF_3H __CONFIG _CONFIG4L, _LVP_OFF_4L & _XINST_OFF_4L ENDASM 'DEFINE OSC 48 DEFINE OSC 40 ; config settings 18F4580, 10mhz crystal ADCON1 = $0F





Bookmarks