|
|
|
Component
SynchroSlave
Slave 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 setting.
-
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 - Group of properties for input 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 - Group of properties for output 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 Select slave pin signal - available when it is 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
-
Empty character - A character being sent when no data are ready to be transmitted. Empty character transmitting is handled only if Interrupt service/event is enabled.
DMA mode:
If DMA controller is available on the selected CPU and the transmitter is configured to use DMA controller then the empty character is not sent when no data are ready to be transmitted.
-
Ignore empty char. - When an empty character is received, it is ignored.
DMA mode:
If DMA controller is available on the selected CPU and the receiver is configured to use DMA controller then empty characters cannot be 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 the property 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 for HC08 and 56800/E derivatives.
-
Fault mode - Enables/Disables the fault mode. If enabled, a mode fault error may invoke OnFault event.
-
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).
|