SCI Write
Send N-by-1 array of data to UART
Libraries:
Simulink Coder Support Package for BBC micro:bit / Basic
Simulink Coder Support Package
for STMicroelectronics Nucleo Boards / Common
Simulink Coder Support Package
for STMicroelectronics Discovery Boards / STM32F746G-Discovery
Simulink Coder Support Package
for STMicroelectronics Discovery Boards / STM32F769I-Discovery
Description
The SCI Write block sends an N-by-1 array of data to the selected Universal Asynchronous Receiver Transmitter (UART), where N is the length of data to be read. The block inherits the data type from the signal at the input port. You can change the Baudrate and select the Transmit pin for the UART Serial Communication Interface (SCI) from Configuration Parameters > Hardware Implementation pane > SCI.
During external mode simulation, the block outputs the simulation results returned from the executable running on the target hardware. During simulation in all other modes, the block outputs zeroes.