嗨!
我正在尝试使用STM工作台和我的主板之间的串行
通信。
这是一个
STM32F3 / F4发现板,因此没有LCD接口选项。
我应用所有''SystemDriveParams''文件,并在调试窗口中进行结果检查,所有参数似乎都是正确的。
Tx和Rx引脚使用空闲的I / O端口。
我使用stm motor library v4.0和Keil 5/4 u vision程序。
我的问题:
我可以用它来构建和运行,但无法建立串行链接。
Fw从控制器启动,并开始测量直流母线电压。没有发生任何HW错误。
波特率校正,硬件连接正确,SERIAL适配器检查另一个串口。
STM工作台发送第一个请求'关于FW版本的查询'
这个查询的董事会结果有些混合。我检查了UM1052 1 4.章但是我发现答案的第一个字节必须是xFF或xF0,我的第一个字节:xFE(两个板都得到相同的结果)
我的问题,我需要检查USART或FW的设置?
我在Win XP和Win7操作系统上测试了两种USART端口USB /和本机。
谢谢,
的Gabor
以上来自于谷歌翻译
以下为原文
Hi!
I'm trying to use the serial communica
tion between STM workbench and my board.
This is a STM32F3/F4 discovery board, so there are no LCD interface option.
I apply all the ''SystemDriveParams'' files, and the result check in the debug window, all paramaters seems correct.
The Tx and Rx pins uses free I/O ports.
I use the stm motor library v4.0 and Keil 5/4 u vision program.
My prolem:
And I can get that to build and run, but can't get it to establish a serial link.
The Fw start on the controller, and start to measure the DC bus Voltage. No any HW error occurred.
The Baud rates are corrects, the HW connectivity correct, the SERIAL adapter checked whith another serial port.
The STM workbench send the first request 'query about the FW version'
The board results of this query something mix. I checked the UM1052 1 4. chapter but i found the first byte of the answer must be xFF or xF0, my first Byte: xFE (both board gets back same result)
My question where i need to check the settings of USART or FW?
I tested two kind of USART port USB/and native, on Win XP and Win7 operating system.
Thanks,
Gabor
0