Stellaris LaunchPad Development

Page discussing Linux tools
Hackaday post on dev tools
Recursive Labs post on dev under Linux
Linux eclipse dev setup


Launchpad frequency analyzer project
ver2, 2048 sample FFT

2nd Launchpad freq analyzer project github code


Getting started on Linux with Launchpad development

Windows setup
Install CCS v6.0.1

Run the add in and update installations.

Install the Stellaris package:
SW-LM3S-LM4F: Legacy StellarisWare® for LM3S and LM4F MCUs – September 2012 Release (v9453)

Follow instructions for creating a new project:
Creating new CCS v5 Project with Stellarisware

Import projects driverlib-cm4f and usblib-cm4f.

RTOS

Time for tasks with CCS

Adjusting the clock rate to 80 MHz:
FreeRTOSConfig.h
configCPU_CLOCK_HZ –set to 80000000
in main()
ROM_SysCtlClockSet –change SYSCTL_SYSDIV_4 to SYSCTL_SYSDIV_2_5

Adjusting the Tick period:
FreeRTOSConfig.h
configTICK_RATE_HZ to 10000
StellarisWare/third_party/FreeRTOS/Source/portable/CCS/ARM_CM4F/portmacro.h
#define portTICK_RATE_MS ( ( portTickType ) 10000 /configTICK_RATE_HZ )
–These two values must match!

Examples from Embedded Systems: Introduction to ARM Cortex M Microcontrollers Fifth Edition
Working with TI’s CCS
Profiling

PL2303hx USB to TTL (UART adapter)

USB Serial Adapter on Mac OS X
Adafruit link
Sparkfun serial adapter page
CoolTerm, a serial terminal

On OS X

ls /dev/tty.*

should see /dev/tty.usbserial

cntr-a, cntr-k to quit

 

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>