Hallo,
we're trying to use a "TLV5632" while developping a sensor simulation for automotive concerns. Unfortunately, it does not work as we expected.
The SPI communication to the TLV5632 is done by a STM32F407 microcontroller of STMicroelecontronics.Our hardware configuration of the TLV5632 looks like the following:
- Mode: not connected (DSP Mode)
- not PRE: permanent logical 1
- not LDAC: permanent logical 0
The SPI communication exactly looks like it is specified in the datasheet, when using the DSP Mode. As mentioned, the DAC output should be updated after the 16. falling edge of the clock signal. The same is said in the User's Guide of the "TLV5604/08/31 and TLV5614/10/30 Evaluation Module“, as “When operated in DSP mode, W4 should be closed (MODE = 0). This causes the DAC outputs to update after the 16th falling clock edge”. Unfortunately, we cannot observe that behaviour. Instead, the output is updated after the following rising edge on the FS. What we need is the update of the output immediately after the 16. falling edge of the clock.
The following screenshots show two spi communications, directly following after each other and the behaviour of the output. That channel mapping is as:
CH1: SCLK
CH2: DIN
CH3: FS
CH4: DAC OUTA
The first screenshot shows the spi command 0x0440, which should immediately update the output voltage to~1,08V. But this can be observed as recently as the next spi command is send (see second screenshot). But at this moment, the command 0x00B0 is transmitted, which should then update the DAC to ~0,17V.
Furthermore, we have the following operation conditions:
- SPI clock @ 30MHz
- Microcontroller is configured to use the "TI mode"
- After startup, the DAC is configured by the commands 0x800E and 0x900F
Do you have any idea, what's wrong and how we could solve the problem?
Thanks for your support!
Chris