本人是DSP小白,刚接触这款芯片不久,目前在用LaunchPad进行开发,跑的是一些基本的例程。但是我在跑串口例程的时候发现,PC端的串口助手根本收不到任何数据。例程是用的SCIa,开发板上没有引出对应引脚,因此没有办法通过示波器进行观测,请问能不能帮我解决一下串口无法接收到数据的这个问题
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.
本人是DSP小白,刚接触这款芯片不久,目前在用LaunchPad进行开发,跑的是一些基本的例程。但是我在跑串口例程的时候发现,PC端的串口助手根本收不到任何数据。例程是用的SCIa,开发板上没有引出对应引脚,因此没有办法通过示波器进行观测,请问能不能帮我解决一下串口无法接收到数据的这个问题
建议您先看一下例程内的note
//! \note If you are unable to open the .ht file, or you are using //! a different terminal, you can open a COM port with the following settings //! - Find correct COM port //! - Bits per second = 9600 //! - Date Bits = 8 //! - Parity = None //! - Stop Bits = 1 //! - Hardware Control = None //! //! \b Watch \b Variables \n //! - LoopCount - the number of characters sent //! //! \b External \b Connections \n //! Connect the SCI-A port to a PC via a transceiver and cable. //! - GPIO28 is SCI_A-RXD (Connect to Pin3, PC-TX, of serial DB9 cable) //! - GPIO29 is SCI_A-TXD (Connect to Pin2, PC-RX, of serial DB9 cable) //!