• AVR Freaks

Harmony 3, USB Audio and PIC32

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

Harmony 3, USB Audio and PIC32

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 Reply Related Threads

    Super Member
    • Total Posts : 327
    • 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)
    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:

    The problem(s) with USB DMA:

    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 Mojave (10.14.6) and MPLAB X IDE v5.30
    Curiosity PIC32MZ EF 1 & 2, PIC24F Curiosity, XPRESS EVAL BOARD (PIC16F18855), SAMA5D3 Xplained and various custom boards.
    Jump to:
    © 2021 APG vNext Commercial Version 4.5