请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:AFE7900EVM 尊敬的支持团队:
对于更新 RX 通道频率集宏、我有两个问题:
- 我理解到运行该宏足以重新调整 NCO 吗? 它目前似乎对我有用、但我想确认一下。
- 我 认为、对于上述宏、SBAU337文档(2020年5月)中可能存在错误。 NCO 和频带选择的操作数长度应该为1、正确吗?
谢谢你。
Br、
Tomas
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.
尊敬的支持团队:
对于更新 RX 通道频率集宏、我有两个问题:
谢谢你。
Br、
Tomas
尊敬的朝阳:
我建议使用宏0x38、而不是0x31。 (更新 Rx 通道频率集)。
核心代码如下:
TI_FTDI.write_reg(AFENUM, 0xa0,ch) # RX Channel Select TI_FTDI.write_reg(AFENUM, 0xa1,nco) # NCO and band select TI_FTDI.write_reg(AFENUM, 0xa2,(nco_freq_khz>>0) & 0xff) # NCO freq. byte 0 - LSB TI_FTDI.write_reg(AFENUM, 0xa3,(nco_freq_khz>>8) & 0xff) # NCO freq. byte 1 TI_FTDI.write_reg(AFENUM, 0xa4,(nco_freq_khz>>16) & 0xff) # NCO freq. byte 2 TI_FTDI.write_reg(AFENUM, 0xa5,(nco_freq_khz>>24) & 0xff) # NCO freq. byte 3 - MSB TI_FTDI.write_reg(AFENUM, 0xa6,0x03) TI_FTDI.write_reg(AFENUM, 0x193,0x38) # execute the macro
请让我知道您是否成功。