Has anybody used one of the new 18f87j50 series of pics and got the USB to work?
We can get the pic running but cannot connect to the PC.
We have all the obvious stuff like connecting VUSB to 3.3v external.
Our config settings are.
Debug = OFF ; Background debugger disabled; RB6 and RB7 configured as general purpose I/O pins
XINST = OFF ; Instruction set extension and Indexed Addressing mode disabled (Legacy mode)
STVREN = On ; Reset on stack overflow/underflow enabled
PLLDIV = 5 ; Divide by 5 (20 MHz oscillator input)
WDTEN = OFF ; WDT disabled (control is placed on SWDTEN bit)
CP0 = OFF ; Program memory is not code-protected
CPUDIV = OSC1 ; [No CPU System clock divide]
IESO = OFF ; Two-Speed Start-up disabled
FCMEN = OFF ; Fail-Safe Clock Monitor disabled
FOSC = HSPLL ; HS oscillator, PLL enabled, HSPLL used by USB
And we have a 20mhz xtal fitted
I have searched the internet but not found 1 post of some one using the USB side. I looked at purchasing demo boards but there not out yet.
If it can be confirmed that it works I will pull the chip from the board and solder another one on.
Obviously its a last step
We can get the pic running but cannot connect to the PC.
We have all the obvious stuff like connecting VUSB to 3.3v external.
Our config settings are.
Debug = OFF ; Background debugger disabled; RB6 and RB7 configured as general purpose I/O pins
XINST = OFF ; Instruction set extension and Indexed Addressing mode disabled (Legacy mode)
STVREN = On ; Reset on stack overflow/underflow enabled
PLLDIV = 5 ; Divide by 5 (20 MHz oscillator input)
WDTEN = OFF ; WDT disabled (control is placed on SWDTEN bit)
CP0 = OFF ; Program memory is not code-protected
CPUDIV = OSC1 ; [No CPU System clock divide]
IESO = OFF ; Two-Speed Start-up disabled
FCMEN = OFF ; Fail-Safe Clock Monitor disabled
FOSC = HSPLL ; HS oscillator, PLL enabled, HSPLL used by USB
And we have a 20mhz xtal fitted
I have searched the internet but not found 1 post of some one using the USB side. I looked at purchasing demo boards but there not out yet.
If it can be confirmed that it works I will pull the chip from the board and solder another one on.
Obviously its a last step