Quantcast
Channel: Data converters
Viewing all articles
Browse latest Browse all 90315

Forum Post: AICx3100 - Beep Generation

$
0
0

Hi

We are using AICx3100 in our design and are having issues in producing any kind of sound at all.
Since I can produce sound on the EVM board without any issues, I captured the I2C traffic on the EVM board and then tried to apply the same register settings on our board in the same order as were done on the EVM board but still no luck.


I have attached the configuration that I have applied. The reg dump in the attached log file is in the format [X][Y] where X is the page number and Y is the reg address. E.g [0][18] is P0 reg 18.

The differences I see in the reg config on my board and the EVM are in the following registers:

- P0/reg 38: EVM = 0x11; our board = 0x00

- P0/reg 39 : EVM = 0xC0; our board = 0x00

- P1/reg 38: EVM = 00; our board = 0x11

- P1/reg 40 and reg 41: EVM = 0x0F; our board = 0x0E

Our design only has speaker output, no headset or mic input. The mic input and the headsets are not connected on the PCB. The MCLK is sourced from a 12MHz ocsillator.

I also noticed that on the EVM when I read back the Beep sin and cos values, they appear to be fluctuating sometimes. Do you expect this to happen?


Lastly, scope observations: when I connect the scope, I can see square-ish signal on the speaker pins but that remains constant. I see similar signal on the EVM but with two noticeable differences: On the EVM when I press the beep button, the duty cycle of this output signal modulates for the duration of the beep. In contrast, when I enable beep by setting D7 in P0.reg 71 on our board, nothing happens (the output signal square wave remains the same). Secondly, the frequency of this signal on EVM is 370KHz but on our board it is 357KHz. Why this difference when the configuration on both is the same?

I would appreciate any suggestions.

Thanks,

Samie


Viewing all articles
Browse latest Browse all 90315

Trending Articles