• AVR Freaks

Hot!PIC32 as a device talking to Android host using CDC

Author
MrGooch
New Member
  • Total Posts : 22
  • Reward points : 0
  • Joined: 2012/04/15 19:18:23
  • Location: California
  • Status: offline
2020/04/05 12:10:06 (permalink)
0

PIC32 as a device talking to Android host using CDC

I have a PIC32 application running on custom PIC32MX695F512L based hardware using the CDC protocol as a device that is not being recognized by an Android host running either by a custom app or an USB terminal app, I have tried two different Android devices, a tablet running Android 8.1 and a phone running Android 9. Neither Android even shows they are seeing any type of USB connection at all.
 
- The PIC32 application works well with a terminal program on Windows 10
- Both Android devices, both the custom app and terminal app, work well with custom PIC24FJ128GC006 based hardware using the CDC protocol as a device using the same cable that was tried with the PIC32 HW
 
I have the PIC32 hardware connected as shown in the datasheet and reference manual. The PIC32 is using the Harmony 2.06 USB stack, the PIC24 is using the MLA v2017/03/06 USB stack.
 
Through Web and forum searches I have not found anyone who seems to have had this problem, there are people who cannot get their PIC32 app to work over USB to anything, but no one with a Android only issue where the Android works with other PICs.
 
Any guidance would be appreciated.
 
Thanks
#1

1 Reply Related Threads

    DominusT
    Super Member
    • Total Posts : 1505
    • Reward points : 0
    • Joined: 2005/07/22 08:31:18
    • Status: offline
    Re: PIC32 as a device talking to Android host using CDC 2021/02/28 12:18:36 (permalink)
    0
    Our company designed and manufactured a USB touch keyboard with a PIC32MX, and the firmware was designed with Harmony 2.06
     
    The product works smoothly on Android v4 and v6 devices.
     
    The USB libraries seem to me to be the same as the CDC, they even have the same structure, so I think it would not be a problem with the libraries, maybe it is some configuration in the OS of the android device.
    #2
    Jump to:
    © 2021 APG vNext Commercial Version 4.5