Getting Started With Nuvoton NUC140 32-Bit ARM Cortex-M0 Microcontroller PDF
Getting Started With Nuvoton NUC140 32-Bit ARM Cortex-M0 Microcontroller PDF
About Me
Rohit
My Photo
2014 (4)
July 2014 (1)
Know your chip on NUC140 EVM board
March 2014 (3)
http://nuvotonnuc140.blogspot.sg/
1/7
7/7/2016
The nested vectored interrupt controller (NVIC) supports tail-chaining and late-arrival to assist in
developing true real time embedded applications.
Tail chaining is a method where the ISR, when it has executed and is about to return
back to the main method and is in the process of restoring the state of the registers, if
during that period another ISR occurs then the overhead of restoring and saving of the
state is reduced by directly allowing the NVIC to jump from one ISR to the other and
there by saving time in ISR overheads.
Late-arrival is a method where when one ISR is about to get executed (but not
started), if another higher priority ISR fires then the NVIC allows the higher priority ISR
to execute first there by eliminating any delay to allow the most highest priority ISR to
execute.
No comments:
http://nuvotonnuc140.blogspot.sg/
2/7
7/7/2016
http://nuvotonnuc140.blogspot.sg/
3/7
7/7/2016
http://nuvotonnuc140.blogspot.sg/
4/7
7/7/2016
So the above code could be re-written to replace the delay_loop with systemTick timer in this
manner (main_gpio.c)
------------------------------------------------------------------------------------------------------------------------------Read more
Posted by Rohit at 6:22 PM
3 comments:
Com piler support built into CMSIS: Currently three main compilers are supported by
CMSIS namely , armgcc from ARM REAL v iew, iccarm from IAR EWARM and gcc from GNU
compiler collection. All the functions in the core peripheral access lay er are reentrant and
can be called from different interrupt serv ice routines. The ex ception handers are giv en a
suffix __Handler while the ex ternal interrupt handlers are giv en a suffix __IRQHandler.
Posted by Rohit at 4:04 PM
2 comments:
What is CMSIS?
CMSIS is an acrony m for Cortex
CMSIS is an abstract lay er that supports dev elopers and v endors in creating reusable
software components for ARM Cortex -M based sy stems. This lay er is useable for Cortex M0,M0+, M1 M3/M4 lay ers as well.
http://nuvotonnuc140.blogspot.sg/
5/7
7/7/2016
pipeline,
thumb2
and
big
&
little
endian
Cortex-M3: The ARM Cortex -M3 processor is the industry -leading 32-bit
processor for highly deterministic real-time applications, specifically dev eloped
to enable partners to dev elop high-performance low-cost platforms for a broad
range of dev ices including microcontrollers, automotiv e body sy stems, industrial
control sy stems and wireless networking and sensors.
The Cortex -M3 NVIC is highly configurable at design time to deliv er up
to 240 sy stem interrupts with indiv idual priorities, dy namic
reprioritization and integrated sy stem clock.
Supports 1 NMI and 240 phy sical interrupts with 8 to 256 lev el
priorities.
Supports hardware div ide, single cy cle-multiply and saturated math
support.
Cortex-M4: The ARM Cortex -M4 processor is the latest embedded processor
by ARM specifically dev eloped to address digital signal control markets that
demand an efficient, easy -to-use blend of control and signal processing
capabilities.
Supports 3-stage pipeline with branch prediction and thumb2.
Supports hardware-div ide, 8/1 6 bit SIMD arithmetic.
Supports single precision floating point unit.
Supports Memory protection unit and deterministic operations.
http://nuvotonnuc140.blogspot.sg/
6/7
7/7/2016
addresses, and access methods for common components and functionality that ex ists in
ev ery Cortex -M sy stem. Access to core registers, NVIC, debug subsy stem is prov ided by
this lay er.
Middleware Access Lay er:This layer is defined by ARM, but is also adapted by silicon
vendors for their respective devices.The Middleware Access Layer defines a common API for
accessing peripherals.
Dev ice Peripheral Access Lay er:This lay er is prov ided by the silicon v endor and
contains the hardware register addresses and other dev ice specific access functions.
No comments:
Home
Subscribe to: Posts (Atom)
Search
http://nuvotonnuc140.blogspot.sg/
7/7