我通过stm32F1单片机的PWM功能产生两个时钟:第一个是clk时钟,频率12MHz;第二个是CONV,我用PWM输出1000ms的积分时间方波,占空比为50%,那么DDC112工作在continue模式,根据读取数据的时序图,我从Dout读取到的数据位都是0,这个是怎么回事呢。
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.
我通过stm32F1单片机的PWM功能产生两个时钟:第一个是clk时钟,频率12MHz;第二个是CONV,我用PWM输出1000ms的积分时间方波,占空比为50%,那么DDC112工作在continue模式,根据读取数据的时序图,我从Dout读取到的数据位都是0,这个是怎么回事呢。
你的这句话printf("ready read data\r\n");就把时间都耗完了。读取数据就读取数据,其他的都不要做。