Simulink (Embedded Coder) Target for TI Stellaris LaunchPad

Version 1.6.0.0 (532 KB) by Mikhail
Simulink (Embedded Coder) Target for TI Stellaris LaunchPad
3.5K Downloads
Updated Wed, 25 Oct 2017 05:00:22 +0000

Simulink (Embedded Coder) Target for TI Stellaris LaunchPad
Summary:
TI Stellaris LaunchPad (http://www.ti.com/stellaris-launchpad-b) is a low-cost development board based on ARM Cortex-M4F.
Simulink (http://www.mathworks.com/products/simulink) is a leading environment for multidomain simulation and Model-Based Design.
Embedded Coder (http://www.mathworks.com/products/embedded-coder) allows you to generate C code and deploy your algorithms to target hardware.

Please refer to this repository: https://github.com/kyak/stellaris_ert for the latest development version. Your input and feedback is highly appreciated!

Installation:

1) Windows/Linux: Have Code Composer Studio 5.3 (or above) installed (http://processors.wiki.ti.com/index.php/Download_CCS).

2) Windows/Linux: Have StellarisWare installed (http://www.ti.com/tool/SW-EK-LM4F120XL). You don't have to download the complete StellarisWare package. "StellarisWare for the Stellaris LM4F120 LaunchPad Evaluation Board" is enough.

Make sure your toolchain is working (build and download some test project, check connection) before you proceed!

3) Make sure you have a working/supported host compiler (http://www.mathworks.com/support/compilers/R2014a/index.html) by running

mex -setup

in MATLAB.

4) Extract this package somewhere. Make sure there are no spaces/non-ASCII characters in path (just in case).

5) Within MATLAB, 'cd' to the directory containing stellaris_setup.m and run this script.

You should be good to go.

What this package already has:

Standalone execution on target (driven by ISR)
Execution in PIL mode
PIL mode profiling

Simulink library blocks for:

* GPIO
* Push Buttons
* UART Read/Write
* Built-in temperature sensor
* Generic ADC

What this package would like to have:

Simulink library blocks for:

* PWM, Interrupts, uDMA...
* Timers

More documentation

External Mode support

Cite As

Mikhail (2024). Simulink (Embedded Coder) Target for TI Stellaris LaunchPad (https://github.com/kyak/stellaris_ert), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2017b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Communities

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
1.6.0.0

Validated with R2017b

1.5.0.0

Validated with R2016b

1.4.0.0

Link to Github repo

1.3.0.0

Among various fixes, this release was tested to work with MATLAB R2014a

1.2.0.0

Add ADC support
Update to R2013a
Add documentation

1.1.0.0

Link to the source repository, so people would know where to find a bleeding edge version.

1.0.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.