Page 1 of 1

请问MAX+buildroot 下,如何设置波特率,提高通讯速度

Posted: 2024-11-25 15:00
by zhenglx7388
请问MAX+buildroot 下,如何设置波特率,提高通讯速度

Re: 请问MAX+buildroot 下,如何设置波特率,提高通讯速度

Posted: 2024-11-26 1:11
by zhenglx7388
对不起,没说清楚,是I2C总线的速率,最高设定到多少?

Re: 请问MAX+buildroot 下,如何设置波特率,提高通讯速度

Posted: 2024-11-26 1:14
by Crocodile
您好 I2C 总线的速率最高可以设置到1000k,在luckfox-config开启I2C时就可以设置也可以在设备树中添加

Code: Select all

&i2cX {
	status = "okay";
	clock-frequency = <1000000>;
}