TI中文支持网
TI专业的中文技术问题搜集分享网站

关于CC2640R2F的2个问题

1、I2S能提供MCLK的时钟输出吗,是不是我定义了MCLK脚就可以省掉一个音频驱动板的晶体?

2、蓝牙4.2的例程multi_role连接过程提示FC Violated: 16,这个是什么错误,怎么解决?

该错误代码是在该回调中打印:

else if (pMsg->method == ATT_FLOW_CTRL_VIOLATED_EVENT)
{
// ATT request-response or indication-confirmation flow control is
// violated. All subsequent ATT requests or indications will be dropped.
// The app is informed in case it wants to drop the connection.

// Display the opcode of the message that caused the violation.
Display_print1(dispHandle, MR_ROW_STATUS1, 0, "FC Violated: %d", pMsg->msg.flowCtrlEvt.opcode);
}

Viki Shi:

1、可以,请看手册22.5.1节: www.ti.com/…/swcu117h.pdf
The frequency of the three clock signals in the I2S module can be set individually to a ratio of the
MCUCLK by using the clock division registers PRCM:I2SMCLKDIV.MDIV, PRCM:I2SBCLKDIV.BDIV, and
PRCM:I2SWCLKDIV.WDIV.
To obtain the clock frequency for MCLK and BCLK, the PRCM:I2SBCLKDIV.BDIV and
PRCM:I2SWCLKDIV.WDIV bit fields are used directly as the denominators to divide the MCUCLK as in
the following:
• MCLK = MCUCLK / MDIV [Hz]
• BCLK = MCUCLK / BDIV [Hz]

2、你是不是改了例程,特别是stack size?

FreePom:

回复 Viki Shi:

关于第二个问题,我没有修改stacksize,应该是ram不够用了,规格书说有20k的ram的,现在我才用了11k左右,然后我设置了cacheAs ram 就可以了,是不是TIrtos限制 了总的ram的使用上限,如果有限制,这个上限是多少

赞(0)
未经允许不得转载:TI中文支持网 » 关于CC2640R2F的2个问题
分享到: 更多 (0)