image thumbnail

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.1K Downloads

Updated 25 Oct 2017

From GitHub

View license on GitHub

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 (2021). 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!
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.