Altera_Forum
Honored Contributor
11 years agoSDC constraints for DE Boards Audio Codec WM8731
In examples provided by Terasic there are no constraints for chipset WM8731 for playing/recording audio but when expanding examples I see noise on audio signal recorder from LINEIN and played back to SPEAKOUT.
In DE1-SOC I have Audio Codec in Master Mode: http://www.alteraforum.com/forum/attachment.php?attachmentid=10988&stc=1 And these are constraints from datasheet: http://www.alteraforum.com/forum/attachment.php?attachmentid=10989&stc=1 This is a 1KHz sine wave generated from audacity, recorded and played by DE1-SOC, then captured with oscilloscope http://www.alteraforum.com/forum/attachment.php?attachmentid=10987&stc=1 and this is noise when there is no audio signal in LINEIN http://www.alteraforum.com/forum/attachment.php?attachmentid=10986&stc=1 This seem a problem with DAC/ADC sampling timings. These are my constraints:create_clock -name bclk -period 325
set_max_delay -fall_from bclk -to 10
set_max_delay -fall_from bclk -to 35
set_output_delay -clock bclk -max 10
set_output_delay -clock bclk -min 10 But timequest fail because bclk setup violations with main clock What is missing? Thanks all