I recently buy evaluation board of ARD-audio-DA7212.
I would like more information about this.
Now I can create connection (I2C) between ARD-audio-DA7212 and cortex M7.
I can play between:
AUX_L to HP
AUX_R to SP
Now, I would like to create connection between Beep generators to SP, but I don't understand the documentation.
After, I would like to create connection between Datain to Dataout with a digital audio interface.
Do you have a sample code with all I2C commands to send to use its different modes?
Best regards.
Device:
Hi Cedric,
Thanks for posting the questions here. I shall get a response to you soon.
Kind regards,
Elliott Dexter
Hello Cedric,
Please see attached.
Kind regards,
Elliott Dexter
Hi Elliott,
Thanks,
But i don't understand your answer.
I juste like à the moment generte beep with 'BEEP GENERATOR" to HP or SP
Kind regards,
Hello Cedric,
The script is setup for the beep generator to lineout(SP).
Kind regards,
Elliott Dexter
Hi Elliott,
I try this script but no working.
I don't understand this script to root ADC to DAC, the Beep generator is not on the path.
I attached Beep path.
I try this but not working
xfd write_I2C_audio (0, 0 x01);/ /启用活动VE mode to take device out of standby
write_I2C_audio(0x6D,0x80);
write_I2C_audio(0x4A,conv_db_2_100); // LINE_GAIN (0db)
write_I2C_audio(0x4B,0x08);
write_I2C_audio(0x4C,0x08);
// Bepp config
write_I2C_audio(0xB5,0x00); // TONE_GEN_CFG2 (gain 0 DB)
write_I2C_audio(0xB6,0x00); // TONE_GEN_CYCLES
write_I2C_audio(0xBB,0x02); // TONE_GEN_ON_PER
write_I2C_audio(0xBC,0x01); // TONE_GEN_ON_PER
write_I2C_audio(0xB4,0x80); // TONE_GEN_CFG1 ( start)
// DAC config
write_I2C_audio(0x6A,0xC0); // DAC_R_CTRL
write_I2C_audio(0x46,conv_db_2_100); // DAC_R_GAIN
write_I2C_audio(0x51,0xC9); // SYSTEM_MODES_OUTPUT
Hello Cedric,
The clocks were not included in the script i sent you, this might by why you are having a issue with the script. So i have attached an intial setup script. We also increased the gain of the line out, as this was quite low.
Comments from the Apps team:
For the Beep Generator to work in respsect to page 34, you will need to change the routung away from the ADC:-
The Signal Path Script sets up the path for DIG_Routing_DAC 0x2A to 0x01, they need to change it to 0x2A to 0x23 taking it away from the ADC and then by selecting 0xB4 to 0x89 they should hear the tone on the Line Output.
Kind regards,
Elliott Dexter