Hi everyone,
I did my own board for AIC3254, used SPI to connect it with an ARM, and even made it work when routing as follow:
mic - IN1 - MICPGA - MA - HP - out (not using AD, DA, DSP)
I have used the .cfg file generated by pps 24787 with the following block diagram:
and configured the routing (in2 was used to test) and micbias using a serial terminal and my ARM to update the registers.
I have been able to map the AD and DA clocks to MFP5, and had the following results:
pg 0, reg 25 = 0x04
pg 0, reg 26 = 0x81
pg 0, reg 52 = 0x10
with reg 25 = 0x04 and 0x06, MFP5 = 49.15M ;
with reg 25 = 0x05, MFP5 = 6.14M ;
with reg 25 = 0x07, MFP5 = 1.02M
the config used was :
pg 0, reg 1 = 0x00
pg 0, reg 2 = 0x60
pg 0, reg 3 = 0x00
pg 0, reg 4 = 0x03
pg 0, reg 5 = 0x91
pg 0, reg 6 = 0x18
pg 0, reg 7 = 0x00
pg 0, reg 8 = 0x00
pg 0, reg 9 = 0x00
pg 0, reg 10 = 0x00
pg 0, reg 11 = 0x82
pg 0, reg 12 = 0x88
pg 0, reg 13 = 0x03
pg 0, reg 14 = 0x00
pg 0, reg 15 = 0x04
pg 0, reg 16 = 0x00
pg 0, reg 17 = 0x08
pg 0, reg 18 = 0x84
pg 0, reg 19 = 0x98
pg 0, reg 20 = 0x80
pg 0, reg 23 = 0x04
pg 0, reg 63 = 0xd4
pg 0, reg 64 = 0x00
pg 0, reg 81 = 0xc0
pg 0, reg 82 = 0x00
AD, DA, MICPGA are un-muted.
No sound can be heard on HP out, unless I route IN1 to HP, not changing anything else when doing that.
My kit, used to test pps+AIC is based on AIC3262, so I can only use CodecControl for that codec. We used AIC3254 because it wasn't a BGA and would make things easier for us...
I'm not sure how to make it work now, I hope that you can help me please...
Thanks,
Fernando
