05-08-2010 10:17 AM
Hi,De2 board.. I'm trying to feed the buffers with; writenR= alt_up_audio_write_fifo (audio_dev, buff_pointer, 1800, ALT_UP_AUDIO_RIGHT); writenL= alt_up_audio_write_fifo (audio_dev, buff_pointer, 1800, ALT_UP_AUDIO_LEFT); I'm printing writenR and writenL. First loop I get 128 back, and rest of the loops, 0. No sound is coming from lineout. I haven't got the example linein->lineout to work either... It seems like it isn't processing my FIFO's. I have added audio core, audio and video config, and external clocks in SOPC. Where does the system_clk_from_de_boards_0 go? I know XCK goes to board XCK, but the output system_clk from the external clocks? Picture from my SOPC builder: imgbin.org/index.php?page=image&id=1596
07-21-2010 08:11 AM
This is the clock that must loop-back to the Nios Master clockIn your scheme the sys_clk must drive only the ext_clk_50_to_de_boards_0 and the sys_clock_from_de_board_0 must be connected to clk_0.