I have recently bought an AR1000 module. I have had relatively little problems communicating with the device. I can set and get registers off the device.
I have sent it the default register set, and when I read them all back, I get what I have set, save a few things. R0, I set to 0xFFFF, but I get back 0xFFFE, is this consistent with anyone else who has used the module?
I have also hooked it up with the opamp breakout board, but I fail to get any sound out at all. I am told when you send the default set of registers, there should be static coming out the speaker, but I seem to get nothing, despite turning the Variable Resistor all the way both ways.
So, while I can communicate fine with the device, it seems I can’t get sound out of it.
Are you sure that you are sending the R0 value last? according to the datasheet, you need to send all of the other register values first, and then send R0.
when i was using this device, if R0 was not 0xFFFF then i did not here any static. what are the speakers that you are using?
i just hooked up some head phones, through the opamp breakout first, and it worked fine.
i had some issues writing to a specific register because of the conjunctive read/write thing (pg22 of the programming guide) so every time i wanted to change a register i just sent an array that contained all of the register values.
so i made a loop that incremented from 1 to 17 and sent the appropriate register values (of course after the loop was done i sent the R0 value).
It’s just completely dead quiet. I’ve tried the opamp breakout, and another amplifier IC, which I’ve tested (and it works fine).
I’m starting to get to my wits end with this, because it really shouldn’t be this tricky. Considering I can talk with the device fine, means I’m missing something.
I hope in my soldering haste, I didn’t destroy the crystal on the board. I wonder if that would have the effect that I’m seeing. This is quite frustrating.
yeah, as i said, i can read and right correctly, i suppose. One thing i did notice, is that when it is finished initialising, the speaker flexes, ie, there is constant current running from the device. So i have no idea what is going on.
Anyway. Thanks for all the help. I’ll just keep fiddling till i get it right.