• AVR Freaks

Hot!Harmony 3, USB Audio and PIC32

Author
JPortici
Super Member
  • Total Posts : 847
  • Reward points : 0
  • Joined: 2012/11/17 06:27:45
  • Location: Grappaland
  • Status: online
2019/11/03 06:38:50 (permalink)
0

Harmony 3, USB Audio and PIC32

Hi,
has anybody managed to get USB audio working using harmony 3 on PIC32MZ/MK?
 
in the Audio repo there are the usb speaker and usb microphone examples, but there are configurations only for SAME70.
Also, they require the audio codec daughterboard.
I tried to replicate the configuration and copied what seemed relevant in app.c/.h, but the device is not recognized on windows 10 (fails to enumerate).
 
FWIW I have managed to write a firmware that works as USB MIDI, using the vendor library as a base but that was easy (after you get past the convoluted configuration descriptor it's just an in/out bulk endpoint)
 
I also tried to port the old MLA examples but that didn't work either, still not getting recognized on windows 10 (fails to enumerate)
post edited by JPortici - 2019/11/03 06:43:16
#1

1 Reply Related Threads

    MisterHemi
    Senior Member
    • Total Posts : 178
    • Reward points : 0
    • Joined: 2017/11/02 12:24:21
    • Location: Commerce, CA USA
    • Status: offline
    Re: Harmony 3, USB Audio and PIC32 2019/11/14 19:47:39 (permalink)
    0
    I've got audio partially working but i'm using my own USB device stack and having problems with the USB DMA (which is separate from the general purpose DMA).

    My USB device stack:
    https://www.microchip.com/forums/m1083508.aspx#1083508

    The problem(s) with USB DMA:
    https://www.microchip.com/forums/m1117619.aspx#1118478

    I'm still trying to resolve the USB DMA issue and it seems like i'm treading new waters, as far as I know.
    It seems others have had problems with the USB DMA too.

    My configuration:
    MacBook Pro (Retina, 15-inch, Mid 2015) with MacOS High Sierra (10.14.5) and MPLAB X IDE v5.20
     
    Curiosity PIC32MZ EF, PIC24F Curiosity, XPRESS EVAL BOARD (PIC16F18855), SAMA5D3 Xplained and various custom boards.
    #2
    Jump to:
    © 2019 APG vNext Commercial Version 4.5