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

CC1310硬件串口通讯误差范围

CC1310芯片,串口配置为:波特率为9600,1个停止位,8个数据位。

请问上述配置下,CC1310的串口通讯误差范围是多少?

Kevin Qiu1:

例程中的默认设置波特率都是115200,误差范围手册中没有具体说明,我查下资料

Kevin Qiu1:

没有关于CC1310串口误差范围的数据,波特率为115200时,数据传输是最稳定的,此时的误差应该在2%以内

19.4.2 Baud-Rate GenerationThe baud-rate divisor (BRD) is a 22-bit number consisting of a 16-bit integer and a 6-bit fractional part.The number formed by these two values is used by the baud-rate generator to determine the bit period.Having a fractional baud-rate divider allows the UART to generate all standard baud rates.The 16-bit integer is loaded through the UART Integer Baud-Rate Divisor Register (UART:IBRD), and the6-bit fractional part is loaded with the UART Fractional Baud-Rate Divisor Register (UART:FBRD).Equation 1 shows the relationship of the BRD to the system clock.BRD = BRDI + BRDF = PERDMACLK / (ClkDiv × Baud Rate) (1)where:BRDI is the integer part of the BRDBRDF is the fractional part, separated by a decimal placePERDMACLK is the system clock connected to the UARTClkDiv is 16The 6-bit fractional number that is loaded into the UART:FBRD DIVFRAC bit field can be calculated bytaking the fractional part of the baud-rate divisor, multiplying it by 64, and adding 0.5 to account forrounding errors, as shown by Equation 2.UART:FBRD.DIVFRAC = integer (BRDF × 64 + 0.5)

user5360734:

回复 Kevin Qiu1:

那么请问假设通讯波特率为9600时,能够保证正常通讯的误差范围是多少?

Kevin Qiu1:

回复 user5360734:

低波特率下通信一般都不会出现问题,应该也在2%以内

user5360734:

回复 Kevin Qiu1:

这个2%的容差是全温全压下的吗?

Kevin Qiu1:

回复 user5360734:

正如之前提到的,这个只是估计值,手册中没有测试具体数据,也没有测试环境的说明

赞(0)
未经允许不得转载:TI中文支持网 » CC1310硬件串口通讯误差范围
分享到: 更多 (0)