![]() Here is my final serial configuration, your comm parameters might differ. I won’t be setting flow control up in this post. You can use stty ixon to enable flow control on the current TTY and stty -ixon to disable it. If your hardware does not support flow control, then you can enable software flow control instead. If you choose to enable flow control, then it must be configured on both sides of the connection for it to work. However, if I needed to set it, the fastest way would be to type E Q. Since the line speed of my PinePhone is 1152008n1 I can keep the default value. The most common baud rates (speeds) have quick keys C –> 9600, D –> 38400, E –> 115200. The fifth column provides key bindings to set the two most common Parity, Data and Stopbit combinations. The first three columns represent each of the comm parameters encoded in the line speed. Setting the line speed should be self explanatory. Type E to enter the line speed required by your device. Type A to edit the Serial Device and change the port to the correct value, which is /dev/ttyUSB0/ in my case.If you do not know what 8N1 means, then please read my brief write up on serial communication before proceeding. Use the down arrow to select Serial Port Setup and hit. Type C-A o to navigate to the configuration menu. Since the named configuration does not yet exist, minicom will simply load its default settings. Start minicom by passing it an appropriate custom configuration name. which would be saved to my home directory as $HOME/.minirc. My preference is to name custom minicom configuration files using the convention. Configure minicom for use over UART serial term With all that in mind, let’s configure minicom for our non-root user account. config/minicom/, which would be a nice change since I don’t like polluting my top level dot files with a bunch of related configurations. ![]() Note: The minicom repository has a TODO item to move. Minicom will resolve the full path name to the configuration file on its own. When loading a saved configuration into minicom, pass only the part of the configuration file.i.e $HOME/.myminirc would become /home/dustfinger/.minirc._home_dustfinger_.myminirc. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |