ST提供的STM8 / 128-EVAL演示固件已损坏:
它没有正确启用TX线的输出引脚。因此,在应该使用它们的adc演示中,您永远不会在USART上看到任何内容。
菲利普
P.S。:我已经为STM8 / 128-EVAL提供了一个简单的工作USART演示
http://www.colecovision.eu/stuff/stm8/
它以1200波特,1个停止位重复输出''Hello world!''。
以上来自于谷歌翻译
以下为原文
The STM8/128-EVAL demo firmware provided by ST is broken:
It does not correctly enable the output pins for the TX lines. Thus you will never see anything on the USARTs in the adc demos that are supposed to use them.
Philipp
P.S.: I've put a simple, working USART demo for the STM8/128-EVAL at
http://www.colecovision.eu/stuff/stm8/
it repeatedly outputs ''Hello world!'' at 1200 baud, 1 stop bit.