Model Configuration Parameters for BBC micro:bit
Hardware Implementation Pane Overview
Default Hardware Implementation Pane
Configure hardware board to run Simulink® models.
In the Simulink Editor, select Simulation > Model Configuration Parameters.
In the Configuration Parameter dialog box, click Hardware Implementation.
Set the Hardware board parameter to
BBC micro:bit
.The parameter values under Hardware board settings are automatically populated to their default values.
You can optionally adjust these parameters for your particular use case.
Click Apply to apply the changes.
For more information on selecting a hardware support package and general configuration settings, see .
Build Options
Parameter | Description | Default Value |
---|---|---|
Defines how Simulink Coder™ responds when you build your model. |
|
Clocking
Parameter | Description | Default Value |
---|---|---|
The CPU clock frequency in MHz. |
|
LED Matrix
Parameter | Description | Default Value |
---|---|---|
|
I2C
Parameter | Description | Default Value |
---|---|---|
Sets serial clock (SCL) pin. |
| |
Sets serial data (SDA) pin. |
|
SPI
Parameter | Description | Default Value |
---|---|---|
Sets the pin that connects the master output to the slave input. |
| |
Sets the pin that connects the slave output to the master input. |
| |
Sets serial clock (SCK) pin. |
|
SCI
Parameter | Description | Default Value |
---|---|---|
Defines how fast the data is sent over a serial line. |
| |
Sets the receiving pin of UART. |
| |
Sets the transmitting pin of UART. |
| |
Sets the number of data bits to transmit. |
| |
Sets the type of parity checking to identify low-level errors. |
| |
Sets the number of stop bits to indicate end of a packet. |
|
External Mode
Parameter | Description | Default Value |
---|---|---|
Sets the transport layer used to exchange data between host computer and hardware. |
| |
Sets whether to view external mode execution progress and updates. |
| |
Select this check box to set the logging buffer size automatically. |
|