This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

msp430g2553IN20和pc串口通信问题

Other Parts Discussed in Thread: MSP430F1612, MSP430G2553

我用的是launchpad的评估板,连线方式是hw uart,然后我平时在linux系统上通过mini USB cable接口用mspgdb为我的430下载程序。

现在我的需求是,让msp430通过这个mini USB cable向linux传输数据,然后linux可以收到这个数据,我为此做了一些尝试,但是没有成功。

当msp430通过usb连接上电脑后,我可以检测到这个设备(/dev/ttyACM0),但是我无法通过串口方式读取430通过uart方式传来的数据。

430和linux唯一物理相连接的地方只有usb线。

430是通过uart的方式传输数据的,并且我此前让两片430通过这个方式可以成功互传数据,当时两片430是通过P1.1和P1.2物理连接的。

请提供给我一个可靠的例程,关于这个型号的430如何正确传输uart数据的例程。

请提供给我linux系统和430如何通信的思路。

麻烦了!