devil6600
Full Member level 5
Hi
I am facing very strange issue while using pic18f4550. Sometime back I made a simple homemade prototype board for experimentation with USB. This design worked, so in the same design I added few components and sent it for pcb fabrication. When I got the completed PCB I installed all the components(xtal, mclr resistor, etc) and pic18f4550. On programming the pic and then powering up the board it worked, but it was almost 10times slow, because of this usb communication fails. After few tests I determined that external oscillator (20Mhz) is not working or pic is not detecting external oscillator and running on internal oscillator. Then I changed the oscillator, it didn't worked. I changed the pic to new one it didn't worked.
I am using mcp1703 3V LDO as power source to the pic
I've checked the following:
1. Crystal and cap connections to PIC and Gnd.
2. Gnd and +3V connections on PIC.
3. MCLR is being pulled up by a 2.2K to +3V
4. Crystal is correct type. Tried one from an older working board.
5. Three board all have the same problem
you can view the pcb board and schematic here:**broken link removed**(look right side of the board for pic18f4550)
**broken link removed**
Thanks
I am facing very strange issue while using pic18f4550. Sometime back I made a simple homemade prototype board for experimentation with USB. This design worked, so in the same design I added few components and sent it for pcb fabrication. When I got the completed PCB I installed all the components(xtal, mclr resistor, etc) and pic18f4550. On programming the pic and then powering up the board it worked, but it was almost 10times slow, because of this usb communication fails. After few tests I determined that external oscillator (20Mhz) is not working or pic is not detecting external oscillator and running on internal oscillator. Then I changed the oscillator, it didn't worked. I changed the pic to new one it didn't worked.
I am using mcp1703 3V LDO as power source to the pic
I've checked the following:
1. Crystal and cap connections to PIC and Gnd.
2. Gnd and +3V connections on PIC.
3. MCLR is being pulled up by a 2.2K to +3V
4. Crystal is correct type. Tried one from an older working board.
5. Three board all have the same problem
you can view the pcb board and schematic here:**broken link removed**(look right side of the board for pic18f4550)
**broken link removed**
Thanks