|
|
|
Bean
AsynchroMaster
|
Asynchronous serial communication - master
Parameters of the bean.
|
Properties:
-
Bean name - Name of the bean.
-
Channel - The channel used for serial asynchronous communication.
-
Interrupt service/event - The bean may or may not be implemented using interrupts.
-
Interrupt - Interrupt from serial channel (for information only). It can be either shared interrupt for receiver and transmitter or another interrupt related to the selected serial channel. It is empty if the serial channel does not support such interrupt.
-
Interrupt RxD - Interrupt from serial receiver.
-
Interrupt RxD priority - The priority of the interrupt associated with the asynchronous communication.
-
Interrupt TxD - Interrupt from serial transmitter.
-
Interrupt TxD priority - The priority of the interrupt associated with the asynchronous communication.
-
Input buffer size - Input buffer size in bytes.
-
Output buffer size - Output buffer size in bytes.
-
Settings - Common bean setting.
-
Parity - The type of parity bit (none, hardware odd, hardware even, even (hw or sw), odd (hw or sw)). If odd [even] is selected and the number of "ones" (bits) in the transmitted byte is odd, then the parity bit is 0 [1]. If none is selected, there is no parity bit. The parity bit can be implemented by hardware (if it is supported by the device) or by software.
-
Width - Number of information bits.
-
Stop bit - Number of stop bits (signaling the end of data transmission).
-
Settings supported for Freescale HCS08, HCS12, HCS12X and 56800 derivatives only.
-
SCI output mode - Selects the output mode of the SCI device. If the Loop mode is selected the output pin TxD is internally connect to RxD pin.
There are 3 modes:
- Normal - Normal transmission using TxD and RxD pins. There are no items in this mode.
- Loop - TxD and RxD pins are internally connected. There are no items in this mode.
- Single-wire - Transmission using one bidirectional pin. The following items are displayed in this mode:
-
HCS08/HCS12/HCS12X - Setting supported for Freescale HCS08, HCS12 and HCS12X derivatives only.
-
Transmitter pin direction - Direction of the transmitter pin when the single-wire mode is selected.
There are 2 options:
- input: TxD pin is an input in single-wire mode
- output: TxD pin is an output in single-wire mode
-
Receiver - Enable/Disable the receiver.
-
Transmitter - Enable/Disable the USART transmitter.
-
TxD - Output pin used for the communication.
-
TxD pin signal - Signal name of TxD pin.
-
Baud rate - Communication baud rate. It is necessary to enter both a value and an unit (see Timing Setting Syntax). The setting may be made with the help of the Timing dialog box that opens when clicking on
(...) button.
-
Break signal - Enables/disables a communication break - special state used to cause a communication reset.
-
Setting supported for Freescale HC08, HCS12X and 56800 family and MC9S08AW60, MC9S08QG8, MC9S08QG4, MC9S08LC60, MC9S12E256, MC9S12E32 and MC9S12UF32 derivatives only.
-
Setting supported for Freescale HCS12X and MC9S12E256, MC9S12E32 and MC9S12UF32 derivatives only.
-
Settings supported for Freescale HCS12 and HCS12X derivatives only.
-
Wakeup condition - Selects the condition of wake up the SCI.
There are 2 options:
- Address mark wakeup: A 1 in MSB position of received character wakes the receiver.
- Idle line wakeup: An idle character on RxD pin wakes the receiver.
-
Break character length - This property determines whether the transmit break character is 10 or 11 bit respectively 13 or 14 bit long.
-
Settings supported for Freescale HC08, HCS12 and HCS12X derivatives with Infrared SCI (LJ12/LK24/AP64/E256/E128/E64/E32/NE64/UF32).
-
Setting supported for Freescale 56800, HCS12, HCS12X and HCS08 derivatives only.
-
Setting supported for Freescale HC08, HCS08, HCS12 and HCS12X derivatives only.
-
Idle line mode - Idle line mode determines when the counter of idle character starts (after a start bit or stop bit).
There are 2 options:
- starts after start bit: Idle character bit count starts after start bit
- starts after stop bit: Idle character bit count starts after stop bit
-
Initialization - Initial settings (after power-on or reset).
-
CPU clock/speed selection - Settings for the CPU speed modes: specifies whether the bean is supported or not.
For details about speed modes please refer to page Speed Modes Support.
|
|
|
Processor ExpertTM and Embedded BeansTM are registered trademarks of UNIS, Ltd.
©1997-2005, UNIS, Ltd.
|
|
|