Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

串口通信 奇偶校验 设置错误 #1

Open
lostbecase opened this issue Apr 12, 2024 · 0 comments
Open

串口通信 奇偶校验 设置错误 #1

lostbecase opened this issue Apr 12, 2024 · 0 comments

Comments

@lostbecase
Copy link

stm32官方文档里说串口通信校验方式是【偶校验】(even parity)
Once initialized the USART1 configuration is: 8-bits, even parity and 1 Stop bit
但代码里写的【不校验】:
stm32isp_init(argv[1], 57600, 8, 1, 'N', 30);

我使用的是 STM32F103ZET,bin 文件烧不进去,改成 偶校验就好了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant