Hi every body
I have some problem about byspassed the DAC34H84EVM GUI to program the DAC through the Config regsiter. So for do that i'm using a FPGA stratix 3 with Quartus 9.1 where i built a nios II and a C program to write via SPI mode inside the DAC.
When i remove the jumper JP8, JP9, JP12, and JP13 on the EVM an connect them to the FPGA board i have several mistake in the registers values.
For example:
the Default config of register 0 to 5 is
x00 x049C
x01 x040E
x02 x7000
x03 xF000
x04 x4923
x05 x8560
After load this instruction
alt_u8 temp;
alt_u8 wdata[] ={0x05,0x00,0x00};
alt_avalon_spi_command(DAC34_SPI_BASE,0,3,wdata,0,&temp,0); // is the SPI method to write 3 byte where the first is the instructun byte and the else are the 16 data bits
I have those values
x00 x8383
x01 x040E
x02 x7000
x03 xF000
x04 x4923
x05 x8578
I don't understant nothing for this, the only values that i was expect to change is the values associated with the register 5
Please is there someone who can help me??
Best regards