|
|
|
Component
SynchroMaster
Master for synchronous serial communication
Properties:
-
Component name - Name of the component.
-
Channel - Channel used for a serial synchronous communication.
-
Interrupt service/event - Component may or may not be implemented using interrupts. If this property is set to "Enabled", the component functionality (e.g. sending and receiving data) depends on the interrupt service and will not operate if the CPU interrupts are disabled. For details please refer to chapter "interrupt service in the component's generated code".
The following items are available only if the group is enabled (the value is "Enabled"):
-
Settings - Common component settings.
-
Settings only if SPI support 16 bit width of data.
-
Width - Number of information bits.
-
Settings supported for Freescale ColdFireV1, HCS08, HCS12, HCS12X and RS08 derivatives only.
-
Bidirectional mode - Allows enabling/disabling a bidirectional mode. If bidirectional mode enabled, only output pin is used for the communication. If it is disabled, both input and output pins are used. The bidirectional mode affects only pin connection to the peripheral, the other component behaviour like sending and receiving data from buffer and invoking events is not affected, even if the corresponding pin is not available.
-
Settings only if SPI support input filter
-
Input filter on SPI pins - The filter restricts the SPI data rate to 6 MHz, but protects the SPI from noise during data transfers.
-
Input pin - Allows enabling or disabling of the input pin signal.
The following items are available only if the group is enabled (the value is "Enabled"):
-
Pin - Input pin for data.
-
Pin signal - Signal name of an input pin.
-
Output pin - Allows enabling or disabling of the output pin signal.
The following items are available only if the group is enabled (the value is "Enabled"):
-
Pin - Output pin for data.
-
Pin signal - Signal name of an output pin.
-
Clock pin - Group of properties for clock signal.
-
Pin - Output pin for the clock.
-
Pin signal - Signal name of the clock pin.
-
Slave select pin - Allows enabling or disabling of the Slave select pin signal - available when supported by HW.
The following items are available only if the group is enabled (the value is "Enabled"):
-
Setting supported for Freescale HC08 EY16A derivative only.
-
Slew rate control - The property enables or disables slew rate control for MISO, MOSI and SCK.
-
Clock edge - Shift edge of the clock signal. Output data will be shifted on the selected edge polarity.
For more information please see Configuring Clock edge and Shift clock idle polarity properties.
There are 6 options:
- rising or falling edge: One of the following edge type will be selected: rising or falling
- rising edge: Rising edge required
- falling edge: Falling edge required
- both edges: Both edges (rising and falling) required
- high level: High level of the signal
- low level: Low level of the signal
-
Shift clock rate - Communication shift clock rate. It is necessary to enter a value and an unit (see Timing Setting Syntax). The setting can be made with a help of the Timing dialog box that opens when clicking on button
(...).
-
Empty character - A character that can be ignored if Ignore empty char. is set to "yes".
-
Ignore empty char. - When an empty character is received, it is ignored.
-
Send MSB first - Order in which bits are transmitted (MSB: most significant bit, LSB: less significant bit).
-
Settings supported for Freescale 56800/E 5685x, 56F800x, 56F801x, 56F802x, 56F803x, 56F81x, 56F82xx and 56F83x and HC08 derivatives only.
-
Wired-OR mode - If item is enabled, the SPI pins (input, output and clock pins) are configured as open-drain drivers with the pull-ups disabled.
-
Settings supported for Freescale 56800/E, ColdFireV1, HC08, HCS08, HCS12, HCS12X, MCF and RS08 derivatives only.
-
Settings supported for Freescale 56800/E, ColdFireV1, HC08, HCS08, HCS12, HCS12X and RS08 derivatives only.
-
Fault mode - Enables/Disables the fault mode. If enabled, a mode fault error may invoke OnFault event. If enabled, the Enable method is generated always. This setting depends on enabling/disabling of the Slave select pin and on selecting the Slave select pin direction as well.
When the mode fault error occurs, the component is automatically disabled. Use Enable method to re-enable it.
-
Settings supported for Freescale ColdFireV1, HCS08, HCS12, HCS12X and RS08 derivatives only.
-
Stop in wait mode - If this property is set to 'yes', the power of the device is allowed to be down in Wait mode and the power consumption of MCU will reduce.
-
Initialization - Initial settings (after power-on or reset).
-
CPU clock/speed selection - Settings for the CPU speed modes: identifies whether the component is supported or not.
For details about speed modes please refer to page Speed Modes Support.
|