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 --- Are you sending the right values for the W1/W0 fields? Cheers, Dave --- Quote End --- I think so. I want to write 1 byte of data, so W1/W0 is "00"
SIGNAL DATA_TO_ADC : STD_LOGIC_VECTOR(NUM-1 DOWNTO 0) := '0' & "00" & ADC_WRITE_REG & ADC_DATA;where ADC_DATA is declared as an 8-bit value.