ragi
Junior Member level 3
Hello everyone,
I want to generate a sine wave signal from AMC7812 DAC 24bit device. I am giving inputs to dac through spi code. To wake this device up "6B 7F FE" code must be sent and further data serially. I am able to write only one time to 24 bit register of DAC. That is device is up when I send first 24bit , but it is not responding for 2nd bit frame ( Currently I am trying to send only two 24bit data frame).
I am using pic18f24k22 controller as master to send inputs to DAC using spi protocol.
Can any one tell how to solve this problem???
Please find the attached code written to send two 24bit data frame using pic spi.
View attachment spi_master_dac.txt
Thank you in advance
I want to generate a sine wave signal from AMC7812 DAC 24bit device. I am giving inputs to dac through spi code. To wake this device up "6B 7F FE" code must be sent and further data serially. I am able to write only one time to 24 bit register of DAC. That is device is up when I send first 24bit , but it is not responding for 2nd bit frame ( Currently I am trying to send only two 24bit data frame).
I am using pic18f24k22 controller as master to send inputs to DAC using spi protocol.
Can any one tell how to solve this problem???
Please find the attached code written to send two 24bit data frame using pic spi.
View attachment spi_master_dac.txt
Thank you in advance