Everything
 

Format (UART) dialog box


This dialog box is used to set the serial format for the asynchronous serial interface (UART).

Figure A.98

Format (UART) Dialog Box

 

This section describes the following.

[How to open]

On the Serial window with the UART serial interface, any one of the following:

-

Click the [Format] button.

-

Select [Format...] from the [Edit] menu

[Description of each area]

(1)

Serial format setting area

Baud rate

Directly input the serial baud rate value as an integer. (Unit: bps) Note1

Transfer Direction

Select the transfer direction.

MSB first

Sets MSB first as the transfer direction.

LSB first

Sets LSB first as the transfer direction (default).

Data bit length

Select the bit length of the transmission data from the drop-down list, or specify it through direct input (default:7).

Stop bit length

Select the stop bit length from the drop-down list (default:1).

Parity

Select the parity information (none parity (default) /odd parity/even parity/0 parity).

Transmit to RxD

Select the pin for use in the input of serial data to the microcontroller from the drop-down list.Note2

If you will not be using this item, select “Unused”.

Receive from TxD

Select the pin for use in the output of serial data on the microcontroller from the drop-down list.Note2

If you will not be using this item, select “Unused”.

Repeat

Select this item to repeat data transfer when the [Auto Send] button in the Serial window has been clicked.

 

Following transmission of the last data during automatic transmission, returns to the beginning of the data and performs automatic transmission.

 

Following transmission of the last data during automatic transmission, stops transmission (default).

Note 1.

Make a baud-rate setting that is no less than 117 bps.

Note 2.

When the port pin to which a multiplexed pin function is assigned in the peripheral I/O redirection register is to be changed, select the pin in accord with the settings. If the selected pin does not correspond to the settings of the peripheral I/O redirection register, data will not be correctly sent and received in the Serial window.

Remark

For the selectable range, see the user's manual of the microcontroller that is used.

[Function buttons]

Button

Function

OK

Validates the settings and closes this dialog box.

Cancel

Cancels the settings and closes this dialog box.