Smartfusion2 MSS: Arm® Cortex™-M3 Configuration

Download as pdf or txt
Download as pdf or txt
You are on page 1of 8

SmartFusion2 MSS

ARM® Cortex™-M3 Configuration


SmartFusion2 MSS ARM® Cortex™-M3 Configuration

Table of Contents

Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

1 Configuration Options. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Memory Protection Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Sys Tick Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
System Power Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Trace Port Interface Unit (TPIU) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

2 Port Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

A Product Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Customer Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Customer Technical Support Center . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Technical Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Website . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Contacting the Customer Technical Support Center . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
ITAR Technical Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

2
Introduction
The ARM® Cortex™-M3 offers configurable features as well as available signals at the FPGA fabric
interface.
The values entered in the configurator will be exported into the programming files for programming of the
flash bits that control this functionality. The flash bits are loaded in the system registers at power up (or
when the DEVRST_N external pad is asserted/de-asserted).
For complete details about the ARM® Cortex-M3 feature set offered in the SmartFusion2 devices please
refer to the Microsemi SmartFusion2 User's Guide.

3
1 – Configuration Options

Memory Protection Options


Use Memory Protection Unit - Select this option to enable the MPU block (Figure 1-1).

Figure 1-1 • MPU Configuration

Sys Tick Timer


Calibration Register - The calibration register - STCALIB - is a 26-bit register that determines the
rollover value for the internal SysTick timer to the Cortex-M3 microcontroller.
STCLK - Configure the STCLK frequency as a division (4, 8, 16 or 32) of M3_CLK. This must be
configured so that STCLK is less than half the frequency of M3_CLK. The division factor is loaded into
the STCLK_DIVISOR register (Figure 1-2).

Figure 1-2 • Sys Tick Timer

Events
You can expose the Cortex-M3 RXEV and TXEV signals at the FPGA fabric (Figure 1-3).

Figure 1-3 • RXEV and TXEV FPGA Fabric Interface Configuration

4
System Power Management
The Cortex-M3 provides various power modes. M3_CLK is gated off when in SLEEPING or
SLEEPDEEP mode. SLEEPING and SLEEPDEEP signals are available at the FPGA fabric interface.
Sleep mode extension handshake signals are available at the FPGA fabric interface. Use the System
Power Management options to expose these signals to the FPGA fabric (Figure 1-4).

Figure 1-4 • System Power Management FPGA Fabric Interface Configuration

Trace Port Interface Unit (TPIU)


The TPIU signals TRACECLK and TRACEDATA[3:0] signals can be exposed to the FPGA fabric
(Figure 1-5). You can also select whether the TRACECLK is M3_CLK/2 (check box off) or M3_CLK/4
(check box on).

Figure 1-5 • TPIU FPGA Fabric Interface Configuration

5
2 – Port Description

Table 2-1 • Port Description


Port Name Direction PAD ? Description
RXEV In No Causes the Cortex-M3 to wake up from a WFE (wait for event)
instruction. The event input, RXEV, is registered even when not
waiting for an event, and so affects the next WFE.
TXEV Out No Event transmitted as a result of a Cortex-M3 SEV (send event)
instruction. This is a single-cycle pulse equal to 1 M3_CLK
period.
SLEEP Out No Signal is asserted when the Cortex-M3 is in sleep now or sleep-
on-exit mode, and indicates that the clock to the processor can
be stopped.
DEEPSLEEP Out No Signal is asserted when the Cortex-M3 is in sleep now or sleep-
on-exit mode when the SLEEPDEEP bit of the System Control
Register is set.
SLEEPHOLD* TBD
TRACECLK Out No TBD
TRACEDATA[3:0] Out No TBD

6
A – Product Support
Microsemi SoC Products Group backs its products with various support services, including Customer
Service, Customer Technical Support Center, a website, electronic mail, and worldwide sales offices.
This appendix contains information about contacting Microsemi SoC Products Group and using these
support services.

Customer Service
Contact Customer Service for non-technical product support, such as product pricing, product upgrades,
update information, order status, and authorization.
From North America, call 800.262.1060
From the rest of the world, call 650.318.4460
Fax, from anywhere in the world, 408.643.6913

Customer Technical Support Center


Microsemi SoC Products Group staffs its Customer Technical Support Center with highly skilled
engineers who can help answer your hardware, software, and design questions about Microsemi SoC
Products. The Customer Technical Support Center spends a great deal of time creating application
notes, answers to common design cycle questions, documentation of known issues, and various FAQs.
So, before you contact us, please visit our online resources. It is very likely we have already answered
your questions.

Technical Support
Visit the Customer Support website (www.microsemi.com/soc/support/search/default.aspx) for more
information and support. Many answers available on the searchable web resource include diagrams,
illustrations, and links to other resources on the website.

Website
You can browse a variety of technical and non-technical information on the SoC home page, at
www.microsemi.com/soc.

Contacting the Customer Technical Support Center


Highly skilled engineers staff the Technical Support Center. The Technical Support Center can be
contacted by email or through the Microsemi SoC Products Group website.

Email
You can communicate your technical questions to our email address and receive answers back by email,
fax, or phone. Also, if you have design problems, you can email your design files to receive assistance.
We constantly monitor the email account throughout the day. When sending your request to us, please
be sure to include your full name, company name, and your contact information for efficient processing of
your request.
The technical support email address is soc_tech@microsemi.com.

7
My Cases
Microsemi SoC Products Group customers may submit and track technical cases online by going to My
Cases.

Outside the U.S.


Customers needing assistance outside the US time zones can either contact technical support via email
(soc_tech@microsemi.com) or contact a local sales office. Sales office listings can be found at
www.microsemi.com/soc/company/contact/default.aspx.

ITAR Technical Support


For technical support on RH and RT FPGAs that are regulated by International Traffic in Arms Regulations
(ITAR), contact us via soc_tech_itar@microsemi.com. Alternatively, within My Cases, select Yes in the ITAR
drop-down list. For a complete list of ITAR-regulated Microsemi FPGAs, visit the ITAR web page.

Microsemi Corporation (NASDAQ: MSCC) offers a comprehensive portfolio of semiconductor


solutions for: aerospace, defense and security; enterprise and communications; and industrial
and alternative energy markets. Products include high-performance, high-reliability analog
and RF devices, mixed signal and RF integrated circuits, customizable SoCs, FPGAs, and
complete subsystems. Microsemi is headquartered in Aliso Viejo, Calif. Learn more at
www.microsemi.com.
Microsemi Corporate Headquarters
One Enterprise, Aliso Viejo CA 92656 USA © 2012 Microsemi Corporation. All rights reserved. Microsemi and the Microsemi logo are trademarks of
Within the USA: +1 (949) 380-6100 Microsemi Corporation. All other trademarks and service marks are the property of their respective owners.
Sales: +1 (949) 380-6136
Fax: +1 (949) 215-4996
5-02-00356-0/09.12

You might also like