Other Parts Discussed in Thread: TMS570LC4357,
Hi, I am integrating the DAC80508 with TMS570LC4357 controller. I am using Evaluation modules for both the chips. Connections are made according the description in the data sheet. The SPI configured with 1 MHz clock (wanted to test with low clock speed initially). I have transmitted 24 bits (0x81 00 00) and try to read the SPI for two cycles. Attaching the screen capture of the SPI lines below.
I have tried by changing the clock phase. There is no data output on SDI for the Tx on SDO with different clock phase.
As I understood from the datasheet, for the first read, it shall repeat the data I sent with transmit (echo) and 2nd read shall return actual data. The result does not look like.
Can you please tell me what I am doing some mistake?
The function calls are like below.
spiTransmitData(spiREG5, &dataconfig1_t, 3, tx_send_addr);//Device ID ADDRESS (0x810000)
//Delay
spiReceiveData(spiREG5, &dataconfig1_t, 3, tx_recv_data1); //1st Receive DATA (0x810817)
//Delay
spiReceiveData(spiREG5, &dataconfig1_t, 3, tx_recv_data2); //1st Receive DATA (0x000000)
Yellow - CLK Green - SDI Purple - SDO Blue - CS