ADRV9009配置参数验证

函数原型:

TALISE_verifyProfiles(); //入口函数,其中调用下面三个子函数 
    talVerifyRxProfile(); //Rx通道的参数验证 
    talVerifyOrxProfile(); //Orx的参数验证 
    talVerifyTxProfile(); //Tx 的参数验证

1,TX 的参数验证具体如下( talVerifyTxProfile() )

  • txInputRate_kHz:Tx 端的数据速率,KHz 为单位。参数限制: 15000 < txInputRate_kHz < 500000. ( 15Mhz --- 500 MHz )
  • rfBandwidth_Hz : Tx 端的射频带宽。Hz 为单位。 15000000 < rfBandwidth_Hz < 460000000 . ( 15MHz --- 460 MHz )
  • thb1Interpolaition : Tx 半带滤波器1 的插值。 thb1Interpolation 只能设置为 1 或 2.
  • thb2Interpolation : Tx 半带滤波器2 的插值。 thb2Interpolation 只能设置为 1 或 2.
  • thb3Interpolation : Tx 半带滤波器3 的插值。 thb3Interpolation 只能设置为 1或 2.
  • txInt5Interpolation :Tx Int5 滤波器插值。 txInt5Interpolation 只能设置为1 或 5.
  • txFirInterpolation:Tx 端的数字滤波器的插值。 txFirInterpolation 只能取值为1 ,2 ,4.
  • dacDiv :用于生成DAC时钟的分频数。 dacDiv 只能取值为 1 或 2.

【参数间的依赖】:

1,当 txFir 的滤波器参数为定义(NULL)时,txFirInterpolation 的值必须设置为1 。

2,Int5 和thb1/2/3 的参数应该互斥。

  • 当 txInt5Interpolation 设置为 5时, thb1/2/3 的 插值均只能设置为 1 。即使用 txInt5 做插值时,便不能使用 thb1/2/3 再进行插值 。
  • 当 txInt5Interpolation 设置为 1 时, thb1/2/3 的 插值不能全设置为 1 。即不使用 txInt5 做插值时,必须使用 thb1/2/3 之一进行插值 。

 

DAC时钟速率计算 :txHsDigClk_kHz】计算公式如下:

txHsDigClk_kHz = txInputRate_kHz * txFirInterpolation * thb1Interpolation * thb2Interpolation *thb3Interpolation * txInt5Interpolation * dacDiv ;

DAC时钟速率 = 数据速率 * txFir 的插值 * thb1的插值 * thb2 的插值 * thb3的插值 * txInt5的插值 * dac的时钟分频数。

‧  END  

e0510c931dfe8ae5d372f1a9d5abef68.png

长按识别图中二维码关注

欢迎关注微信公众号【数字积木】,更精彩的内容等着你!

  • 0
    点赞
  • 19
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值