Get from Ico-github-logo

Highlights from
Simulink (Embedded Coder) Target for TI Stellaris LaunchPad

  • sl_customization(cm)
    SL_CUSTOMIZATION for TI Stellaris LaunchPad PIL connectivity config
  • slblocks
  • stellarisAfterMakeHook( m...
    Check the model if a target_paths.mk should be created
  • stellarisBeforeMakeHook( ...
    Check the model if a target_paths.mk should be created
  • stellaris_adc_ssena(blk,S...
  • stellaris_adc_stepconfig(...
  • stellaris_callback_handle...
    Setup the hardware configuration
  • stellaris_customcode(buil...
    Add startup_ccs.c to list of source files
  • stellaris_download(modelN...
    CompilerRoot = getpref('stellaris','CompilerRoot');
  • stellaris_make_rtw_hook(h...
  • stellaris_setup()
    Generate blocks
  • stellaris_timer
  • stellaris_tmf(varargin)
    Possibly will separate in future...
  • stellaris.Communicator
  • stellaris.ConnectivityConfig
    CONNECTIVITYCONFIG is TI Stellaris LaunchPad PIL configuration class
  • stellaris.Launcher
    LAUNCHER is TI Stellaris LaunchPad class for launching a PIL application
  • stellaris.TargetApplicati...
    TARGETAPPLICATIONFRAMEWORK is TI LaunchPad application framework for PIL
  • stellaris.Timer
  • adc.m
    Analog to Digital Converter
  • blocks.m
    Simulink blocks provided by this target
  • buttons.m
    Push Buttons support
  • genhelp.m
    re-add help to path to refresh menu
  • gpio.m
    GPIO support
  • gs.m
    Getting started with TI Stellaris LaunchPad
  • index.m
    TI Stellaris LaunchPad
  • lct_genblocks.m
    GPIO Write
  • pil.m
    Processor-in-the-Loop (PIL) simulation with TI Stellaris LaunchPad
  • sa.m
    Standalone execution driven by ISR on TI Stellaris LaunchPad
  • tempsensor.m
    Built-in Temperature Sensor support
  • test_rtiostreamserial.m
    See "Test an rtiostream Driver":
  • uart.m
    UART support
  • stellaris_fft
  • stellaris_fft_system
  • stellaris_lib
  • stellaris_pil_mdlref
  • stellaris_pil_mdlref_mr
  • stellaris_pil_topmodel
  • stellaris_test_adc
  • stellaris_test_adc_xpc
  • stellaris_test_blink
  • stellaris_test_buttons
  • stellaris_test_gpio
  • stellaris_test_gpio_xpc
  • stellaris_test_pil
  • stellaris_test_pil_profile
  • stellaris_test_pilcov
  • stellaris_test_tempsensor
  • stellaris_test_uart
  • stellaris_test_uart_nb
  • View all files

5.0

5.0 | 4 ratings Rate this file 30 Downloads (last 30 days) File Size: 358 KB File ID: #40069
image thumbnail

Simulink (Embedded Coder) Target for TI Stellaris LaunchPad

by

 

29 Jan 2013 (Updated )

Simulink (Embedded Coder) Target for TI Stellaris LaunchPad

| Watch this File

File Information
Description

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

Required Products Embedded Coder
MATLAB release MATLAB 8.3 (R2014a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (4)
28 Jul 2014 shiguang wen

that's great!

01 Jul 2014 cheng  
07 May 2014 sest sent  
07 May 2014 sest sent  
Updates
22 Mar 2013

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

05 Apr 2013

Add ADC support
Update to R2013a
Add documentation

02 Apr 2014

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

06 Jun 2014

Link to Github repo

Contact us