Stop overclocking, and then retest.=20 Henrique Ribeiro de Oliveira wrote: >Hello > >I'm using the 18f252 to receive step info from my computer and create a >stepper-motor speed profile. > >There is a MAX232 on a external board for the serial communication (serial >is grounded to the computer) >On the PIC board there is only few components to run the microcontroler an= d >connectors to send the command >Using a switching power supply with 24V output and one linear regulator to >make 5V. > >Right now I'm testing this problem with only the PIC connected to my >computer via serial (No motor/driver hooked up), when I get very close to >the microcontroler with my hand it start resetting very fast (spam on seri= al >communication) >Already tried changing power supply (used a battery, computer power supply >and a simple DC wall adapter) > > > >One more thing, I'm using 12mhz crystal and PLL4x (overclocked to 48mhz) >going to buy 10mhz crystal today to check if the clock is the problem > > >Thanks in advance and sorry for any english errors. >--=20 >http://www.piclist.com PIC/SX FAQ & list archive >View/change your membership options at >http://mailman.mit.edu/mailman/listinfo/piclist --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .