Hi,
The DAC device I am using has 40 channels (AD5370 from Analog Devices). Using SPI, data comes as 24-bit word (16-bits for data and 8-bits for channel/slave address).
I have a model in Simulink that calculates what the voltage output on this DAC should be at different times based on some conditions. So I have integrated my Simulink model with SPI Transmit and SPI Receive from C2000 hardware support package. I have read the documentation and searched online for tutorials and examples on how to set up the SPI in simulink and send 24-bit SPICLK, SPISIMO, and SPISOMI. Can someone help me? I am using the F28069 Experiment Kit with jumper cables connection SPI pins to the DAC SPI pins.
Thank you in advance! I have attached a page from the DAC datasheet.


