完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我在调试AD7606B相位校准,如果给任意通道PHASE寄存器写一个值(如CH4_PHASE=1),busy就会被阻塞。如果CH1~8_PHASE=0,busy信号正常,采集正常。
第一张图是PHASE校准都为0的情况,第二张图是CH1_PHASE=1的情况。通道3是外部PWM采集时钟1kHz(占空比50%),通道2是busy信号,通道4是spi_CS。我用的是AD7606b绿色的评估板。使用spi单线输出。 CH1~8_PHASE=0时读到的寄存器的值: ad7606b reg1 = 0x80 ad7606b reg2 = 0x20 ad7606b reg3 = 0x 0 ad7606b reg4 = 0x 0 ad7606b reg5 = 0x 0 ad7606b reg6 = 0x 0 ad7606b reg7 = 0x 0 ad7606b reg8 = 0x 0 = 0x1F = 0x1F ad7606b reg10 = 0x1F = 0x1F = 0x1F = 0x1F = 0x1F = 0x1F = 0x1F = 0x1F = 0x1F = 0x1F = 0x1F = 0x1F = 0x1F ad7606b reg17 = 0x 0 ad7606b reg18 = 0x 0 ad7606b reg19 = 0x 0 ad7606b reg20 = 0x 0 ad7606b reg21 = 0x 0 ad7606b reg22 = 0x 0 ad7606b reg23 = 0x 0 ad7606b reg24 = 0x 0 ad7606b reg25 = 0x 0 ad7606b reg26 = 0x 0 ad7606b reg27 = 0x 0 ad7606b reg28 = 0x 0 ad7606b reg29 = 0x 0 ad7606b reg30 = 0x 0 ad7606b reg31 = 0x 0 ad7606b reg32 = 0x 0 ad7606b reg33 = 0x 1 ad7606b reg34 = 0x 0 ad7606b reg35 = 0x 0 ad7606b reg36 = 0x 0 ad7606b reg37 = 0x 0 ad7606b reg38 = 0x 0 ad7606b reg39 = 0x 0 ad7606b reg40 = 0x 0 ad7606b reg41 = 0x 0 ad7606b reg42 = 0x 0 ad7606b reg43 = 0x 0 ad7606b reg44 = 0x 0 ad7606b reg45 = 0x 0 ad7606b reg46 = 0x 0 ad7606b reg47 = 0x14 CH4_PHASE=1时读到的寄存器的值: ad7606b reg1 = 0x80 ad7606b reg2 = 0x20 ad7606b reg3 = 0x 0 ad7606b reg4 = 0x 0 ad7606b reg5 = 0x 0 ad7606b reg6 = 0x 0 ad7606b reg7 = 0x 0 ad7606b reg8 = 0x 0 = 0x1F = 0x1F ad7606b reg10 = 0x1F = 0x1F = 0x1F = 0x1F = 0x1F = 0x1F = 0x1F = 0x1F = 0x1F = 0x1F = 0x1F = 0x1F = 0x1F ad7606b reg17 = 0x 0 ad7606b reg18 = 0x 0 ad7606b reg19 = 0x 0 ad7606b reg20 = 0x 0 ad7606b reg21 = 0x 0 ad7606b reg22 = 0x 0 ad7606b reg23 = 0x 0 ad7606b reg24 = 0x 0 ad7606b reg25 = 0x 0 ad7606b reg26 = 0x 0 ad7606b reg27 = 0x 0 ad7606b reg28 = 0x 1 ad7606b reg29 = 0x 0 ad7606b reg30 = 0x 0 ad7606b reg31 = 0x 0 ad7606b reg32 = 0x 0 ad7606b reg33 = 0x 1 ad7606b reg34 = 0x 0 ad7606b reg35 = 0x 0 ad7606b reg36 = 0x 0 ad7606b reg37 = 0x 0 ad7606b reg38 = 0x 0 ad7606b reg39 = 0x 0 ad7606b reg40 = 0x 0 ad7606b reg41 = 0x 0 ad7606b reg42 = 0x 0 ad7606b reg43 = 0x 0 ad7606b reg44 = 0x 0 ad7606b reg45 = 0x 0 ad7606b reg46 = 0x 0 ad7606b reg47 = 0x14 读寄存器的值都是正确的,请是什么原因导致的? |
|
相关推荐
1个回答
|
|
CONFIG Register 0x02 写0x00.
|
|
|
|
你正在撰写答案
如果你是对答案或其他答案精选点评或询问,请使用“评论”功能。
973 浏览 0 评论
844 浏览 1 评论
789 浏览 1 评论
电路小知识 | 交流电路复数的基础知识以及相位差和电抗的计算
645 浏览 0 评论
1889 浏览 3 评论
浏览过的版块 |
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-24 10:14 , Processed in 0.578069 second(s), Total 74, Slave 57 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号