This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TLV5616...问题。。第二贴。。。

Other Parts Discussed in Thread: TLV5616

根据以上数据格式,DW 0903EH即  1001,0000,0011,1110B。最前面四位中间两位是0,0--slow mode   0---normal operation

那数据:DW 0F039H 即 1111,0000,0011,1001B。。。最前面四位中间两位是1,1----fast mode & power down?

power down不就关闭TLV5616了么???真是搞不懂。。。这个程序我已经验证过了,可以输出正弦波信号。可就是这些数据搞不懂。。请专家释义解惑!谢谢!

  • datasheet中的代码是用汇编写的,每次中断时,分别发送16bits数据的高8位和低8位。

    这里有一定,需要注意,明白这一点,这个程序就清楚了:

    TLV5616在接收数据时,是从MSB到LSB的。如下图时序:

    而51单片机的UART发送数据是从LSB到MSB的,时序如下图。


  • 如你的疑问DW 0903EH即  1001,0000,0011,1110B

    在发送时的先发送高8字节,并且低位在前。

    那对于ADC接收到的数据顺序应该为:

     0000,1001,

    发送低8位时,同理

    0111,1100

    这样,每组数据的高4位都是0000B

    也就是slow mode and normal operation了