Hello,
We are using SPI4 on the RM48L952PGE package to communicate with an analog devices AD5421 DAC. So far we have been unable to get a response from the DAC, effort has been put in to duplicating the protocol format obtained from the Analog devices development platform. You can see in the screenshot below the development systems message and response (channels 00 to 03) and the format of our communications (channels 04 : 07). It is a 24bit or 32bt transfer, as shown below we are running in 24bit mode just now, the SPI4 is set for transfer of 3 x 8bit blocks.
It looks like the correct message is being sent but there are three key issues I have been unable to resolve
1. The delay between consecutive block transfers on the RM48 ,can this be reduced so that they are truly consecutive? reduce the time A1-A2 to zero?
2. Can the clock be launched prior to the first EN active transition? I don't think it should matter, but the evaluatlion board does start clock up far in advance of sending the first block
3. Is there a setting for the default status of the MISO channel on the RM48 (ch07 in screenshot)? I cannot get it to go low, seems to be constantly held high. If this is not an MCU side issue I can debug further on our hardware configuration.
I think "1" could be the critical problem here, I have reached out to analog devices as well but their support is less than prompt.
Thanks
Jamie