CoolTerm USART Terminal Application

When creating projects with RS232 style serial communication, you will need a Terminal Window application running a PC to communicate with the hardware. Projects on this site often use the open-source CoolTerm but any terminal application should work similarly. An RS232 to USB adapter, such as the MCP2221, is typically required to communicate with the project.

ADM00559.jpg

The PICDEM™ Lab II has an MCP2221 USB to UART converter built into the development board. You may need to install a USB driver for this to work with your PC. The driver installation instructions can be found on the MCP2221A product page.

Setup

The first step in using the MCP2221 with CoolTerm is to establish the communication settings. Click on the Options menu to open the Serial Port Options window. Select the USB port from the drop down menu, then set the communication to the settings in the firmware of the project (i.e., 115200 baud and 8N1 format as shown).

termsetup.png

Close the Serial Port Options window and then click on the Connect button and the communication will begin if the application is running on your development hardware. The following example is controlling an LED connected to RB7 according to the H or L sent from the terminal window.

termcontrol.png
© 2024 Microchip Technology, Inc.
Notice: ARM and Cortex are the registered trademarks of ARM Limited in the EU and other countries.
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.