Stellaris Family Specifics

The Stellaris family of microcontrollers are the first ARMĀ® Cortex-M3 based microcontrollers, and feature :

When using Stellaris family, user should be aware of the following :

Locking pins

All MCUs, except x00 family, provide a layer of protection against accidental programming of critical hardware peripherals. Protection is currently provided for the NMI pin (PB7) and the four JTAG/SWD pins (PC[3:0]).
Therefore these pins need to be unlocked before their function can be changed. Refer to GPIO Library for GPIO handling routines.

Caution : It is possible to create a software sequence that prevents the debugger from connecting to the StellarisĀ® microcontroller.
If the program code loaded into flash immediately changes the JTAG pins to their GPIO functionality, the debugger may not have enough time to connect and halt the controller before the JTAG pin functionality switches.

As a result, the debugger may be locked out of the part. This issue can be avoided with a software routine that restores JTAG functionality based on an external or software trigger.
Or, if possible, by simply adding few seconds delay at the beginning of your code.

Start-up

Upon reset, MCU will execute Start-up sequence in order to configure the oscillator block.
Start-up sequence will configure Reset and Clock Control registers (RCC and RCC2) using the settings given in the Edit Project window.

Advanced Peripheral Bus and Advanced High-Performance Bus

Advanced Peripheral Bus (APB) interfaces to any peripherals that are low-bandwidth and do not require the high performance of a pipelined bus interface; the APB has unpipelined protocol.
All signal transitions are only related to the rising edge of the clock to enable the integration of APB peripherals easily into any design flow. Every transfer takes at least two cycles.

APB is designed for low bandwidth control accesses, for example register interfaces on system peripherals and is optimized for minimal power consumption and reduced interface complexity.
APB bus has an address and data phase similar to AHB, but a much reduced low complexity signal list, for example no bursts.

The Advanced High-Performance (AHB) is a new level of bus which sits above the APB and implements the features required for high-performance, including:

Copyright (c) 2002-2012 mikroElektronika. All rights reserved.
What do you think about this topic ? Send us feedback!
Want more examples and libraries? 
Find them on LibStock - A place for the code