Forum Discussion
Altera_Forum
Honored Contributor
14 years agoConfiguring ADC using FPGA
I am trying to configure an ADC using an FPGA. I can read the default values from the ADC register properly, but I'm unable to write to those registers. The fpga clock is 48 MHz and serial clock ...
Altera_Forum
Honored Contributor
14 years ago --- Quote Start --- Right, but its not working. So as a debugging aid, can you control the chip select signal? --- Quote End --- Yes I can control the chip select. I'll certainly give that a try, set CS high during power up and then set it low after a few clock cycles. What bothers me is I never fail to read the correct default value of a register. For now I have to change the address value in my VHDL code, re-compile the code, and re-program the FPGA. I would think a read would be more difficult to accomplish since the SDIO line has to change from an input to an output whereas for a write, it stays as an input line.