Page 1 of 1

Using AK4642EN Daughter Board with PICMX32 Curiosity

PostPosted: Mon Mar 06, 2017 9:37 pm
by thegrinch
Hi, I am working on a project which uses the AK4642EN Audio Codec Daughter Board (http://www.microchip.com/....aspx?PartNO=ac320100) with the Curiosity PIC32MX470 Development Board (http://www.microchip.com/...aspx?PartNO=DM320103).

I have been doing research on how to use the codec daughter board with the PIC32MX470 Curiosity, but it seems that there is little in the way of documentation / examples on the subject. Can anyone share / recommend examples of how to set up callback functions to read/send new sample buffers, as well as how to configuration of buffer size, sample rate, I2C control, etc?

So far I have tried setting up a new project with MPLABX Harmony, including the MX470F512H Board Support Package and driver support for the AK4642EN Codec. The project compiles and uploads correctly, but it runs into the exception handler breakpoint when I debug. I am not sure where to go from here, all help is greatly appreciated. Thanks!

Re: Using AK4642EN Daughter Board with PICMX32 Curiosity

PostPosted: Thu Mar 09, 2017 3:22 am
by AussieSusan
The Microchip daughter board information sheet (http://ww1.microchip.com/downloads/en/D ... 02318A.pdf) shows the schematic which indicates that there is a fairly straight-forward connection directly to the AK4642EN chip.
The AK4642EN data sheet (http://www.akm.com/akm/en/file/datasheet/AK4642EN.pdf) would seem (I've certainly not read it all!) to provide a lot of information about how to use the chip, especially the I2C interface and the associated commands etc.. A quick search of the data sheet does not show the word 'buffer' is used at all so that part may need a little programming from you.
Susan