Table of Contents
1OVERVIEW......................................................................................................4
2DEVELOPMENT ENVIRONMENT...................................................................5
2.1 Preliminary Preparation................................................................................................ 5
2.2 Keil uVision..................................................................................................................... 5
2.3 IAR Embedded Workbench ......................................................................................... 7
2.4 NuEclipse...................................................................................................................... 10
3DIRECTORY STRUCTURE ...........................................................................16
3.1 First Level Directory Information ............................................................................... 16
3.2 Document ..................................................................................................................... 16
3.3 Library ........................................................................................................................... 16
3.4 SampleCode................................................................................................................. 16
3.4.1 Wormhole Controller (WHC).........................................................................................17
3.4.2 Hardware Semaphore (HWSEM).................................................................................17
3.4.3 External Bus Interface (EBI) .........................................................................................17
3.4.4 General Purpose I/O (GPIO) ........................................................................................17
3.4.5 PDMA Controller (PDMA)..............................................................................................17
3.4.6 Timer Controller (TIMER) ..............................................................................................18
3.4.7 Watchdog Timer (WDT).................................................................................................19
3.4.8 Window Watchdog Timer (WWDT)..............................................................................19
3.4.9 Real Time Clock (RTC)..................................................................................................19
3.4.10Enhanced PWM Generator and Capture Timer (EPWM).........................................19
3.4.11 Enhanced Input Capture Timer (ECAP)......................................................................20
3.4.12Quadrature Encoder Interface (QEI) ...........................................................................20
3.4.13UART Interface Controller (UART) ..............................................................................20
3.4.14Smartcard Host Interface (SC) .....................................................................................21
3.4.15Quad Serial Peripheral Interface (QSPI).....................................................................21
3.4.16Serial Peripheral Interface (SPI) ..................................................................................21
3.4.17I2C Serial Interface Controller (I2C)..............................................................................22
3.4.18I2S Controller (I2S) ..........................................................................................................22
3.4.19M-Controller Area Network (MCAN) ............................................................................23
3.4.20Enhanced 12-bit Analog-to-Digital Converter (EADC) ..............................................23
3.4.21Analog-to-Digital Converter (ADC) ..............................................................................24
3.4.22Keypad Interface (KPI) ..................................................................................................24
3.5 ThirdParty ..................................................................................................................... 24
4LOAD FIRMWARE FOR EXECUTION ..........................................................25
5RESOURCE MANAGEMENT........................................................................26
5.1 SSMCC ......................................................................................................................... 26