Page 1 of 1

PIC1827j53 HID Issue

Posted: Wed Nov 17, 2021 11:12 am
by p.erasmus
Dear Team.

I have an problem with the PIC18F27j53 HID Component.

When I use the code for the 47j53 the HID emumerates and I can see it in my Usb Monitoring SW ,when the 27j53 is selected the device does not enumerate and windows report "can not regognise the device"

I am usng internal OSC with PLL96Mhz in both cases however can you please sanity check me with the OSC settings in the 27J53 as the issue is OSC related or a something is wrong in the HID component when used on the 27j53

I am pulling my hear out please help it is quite urgent and we lost a lot of time by trying to use PICO and eventually did back flip to PIC18 ,we still very interested in using PICO with HID

Here you can see the 47j53 emumerated and is connected

P6.jpg
P6.jpg (45.63 KiB) Viewed 1340 times

Both the source files for 27 and 47j53 projects

47J53_HID_T1_EMUM.fcfx
(15.19 KiB) Downloaded 85 times
27J53_HID_T1_EMUM.fcfx
(15.19 KiB) Downloaded 94 times

Re: PIC1827j53 HID Issue- Solved

Posted: Wed Nov 17, 2021 1:30 pm
by p.erasmus
Hi Team.

Problem solved ,
It seems it is my hw that caused the issue ,the team by the customer reported that on the HW the 27J53 is working
Sorry for the gohst post :D

Re: PIC1827j53 HID Issue

Posted: Wed Nov 17, 2021 1:48 pm
by BenR
Hello,

I've compared the two definition files and the configuration setup is exactly the same in both. The USB type is also identical in both.

You might need to double check the configuration settings and clock speed have copied across correctly when changing targets but other then this I'm not sure what might be causing the problem.

Maybe a compiler issue, trying the latest XC8 from Microchip may have fixed a bug? Might also be worth checking the errata document on the microchip site to see if this has anything helpful inside.

Aha just seen your reply, thanks for letting us know :D