sertxd in Basic Commands

techElder

Well-known member
I only set up #terminal per program, and not for all programs in the workspace with that option you mentioned.

Code:
#terminal {baudrate}
This is what I use in the program's "header" portion, but only for troubleshooting. I keep this around the command

Code:
SETFREQ freq
as they are intertwined: {baudrate} is dependent on {freq}.

As far as sertxd is concerned ...

The baud rate at which a sertxd command sends data depends on the operating speed at the time the sertxd command is executed. The default baud rates is 9600 baud for X2 parts operating at the default 8MHz speed and 4800 baud for non-X2 parts when operating at the default 4MHz speed.
Increasing the clock speed increases the serial baud rate as shown below.
4MHz 4800 (default for non-X2 parts)
8MHz 9600 (default for X2 parts)
16MHz 19200
32MHz 38400
64MHz 76800
 
Top