arm cortex-m3 microcontroller board arm cortex-m3 microcontroller board l 3 preface the stm32...

Download ARM Cortex-M3 Microcontroller board ARM Cortex-M3 microcontroller board l 3 Preface The STM32 evaluation boards provide complete development platforms for the STM32F103 ARM Cortex™-

Post on 04-May-2018

251 views

Category:

Documents

4 download

Embed Size (px)

TRANSCRIPT

  • JX-STM32 ARM Cortex-M3 microcontroller board l 1

    JX-STM32 ARM Cortex-M3

    Microcontroller boardDocumentation

    INNOVATIVE EXPERIMENT

    www.inexglobal.com

    http://www.inexglobal.com

  • 2 l JX-STM32 ARM Cortex-M3 microcontroller board

  • JX-STM32 ARM Cortex-M3 microcontroller board l 3

    PrefaceThe STM32 evaluation boards provide complete development platforms for the

    STM32F103 ARM Cortex -M3 core-based microcontrollers. They provide cost effective,flexible and open design solutions ideal for demonstrating device capabilities and rapidlyevaluating features and peripherals. They include an STM32 microcontroller with highperformance ARM Cortex-M3 core, full speed USB 2.0 interface, CAN 2.0A/B compliantinterface, I2C, SPI, USART and Graphic LCD

    The JX-STM32 boards include a complete range of hardware features forevaluating microcontroller performance and starting development of a wide range ofapplications. Features include SD card, GLCD, USB, CAN, I2C, RS-232, audio amplifiercircuit.

    The boards feature industry standard JTAG connector allowing developers tochoose from a wide choice of development tools from third-party tool suppliers. Inaddition, the JX-STM32 board includes a high density 20-pin connector so that users cantake advantage of tools offering runtime trace.

    The software devleopment tools includes third-party solutions that come completewith an integrated development environment and in-circuit debugger/programmerfeaturing JTAG application interface. Developers who are new to this family and theCortex core can also benefit from the range of starter kits that are specially designedto help developers evaluate device features and start their own applications.

    Thanks to ST firmware libraries and a comprehensive set of application notes,the STM32 microcontrollers offer total software control and improved time to market.The superb combination of the state-of-the-art and efficient library of software driversand extensive support for all major tool providers offers a fast route to best-fit and anoptimized development process.

  • 4 l JX-STM32 ARM Cortex-M3 microcontroller board

    Example project files summary forSTM32F103VBT6 in Raisonance Rkit-ARM7tool suit

    Main folderC:\Program Files\Raisonance\Ride\Lib\ARM\STM32F10x_LIB\examples

    ADC (Analog to Digital converter module)C:\Program Files\Raisonance\Ride\Lib\ARM\STM32F10x_LIB\examples\ADC

    The most examplefiles can work with the JX-STM32 board (5 examples) except3ADCs_DMA example.

    Backup registerC:\Program Files\Raisonance\Ride\Lib\ARM\STM32F10x_LIB\examples\BKP

    All example files can work with JX-STM32 board (2 examples)

    CAN (Control Area Network module)C:\Program Files\Raisonance\Ride\Lib\ARM\STM32F10x_LIB\examples\CAN

    All example files can work with JX-STM32 board (1 example)

    Cortex-M3 processorC:\Program Files\Raisonance\Ride\Lib\ARM\STM32F10x_LIB\examples\CortexM3

    All example files can work with JX-STM32 board (2 examples)

    DMA (Direct Access Memory)C:\Program Files\Raisonance\Ride\Lib\ARM\STM32F10x_LIB\examples\DMA

    The most examplefiles can work with the JX-STM32 board (4 examples) exceptFSMC example.

    EXTI (External Interrupt)C:\Program Files\Raisonance\Ride\Lib\ARM\STM32F10x_LIB\examples\EXTI

    All example files can work with JX-STM32 board (1 example)

    Flash memoryC:\Program Files\Raisonance\Ride\Lib\ARM\STM32F10x_LIB\examples\FLASH

    All example files can work with JX-STM32 board (2 examples)

  • JX-STM32 ARM Cortex-M3 microcontroller board l 5

    GPIO (General purpose Inout/Output port)C:\Program Files\Raisonance\Ride\Lib\ARM\STM32F10x_LIB\examples\GPIO

    All example files can work with JX-STM32 board (2 examples)

    I2C (Inter-Integrated bus)C:\Program Files\Raisonance\Ride\Lib\ARM\STM32F10x_LIB\examples\I2C

    The most examplefiles can work with the JX-STM32 board (4 examples) exceptM24C08_EEPROM example.

    IWDG (Independent Watchdog module)C:\Program Files\Raisonance\Ride\Lib\ARM\STM32F10x_LIB\examples\IWDG

    All example files can work with JX-STM32 board (1 example)

    LIB_DebugC:\Program Files\Raisonance\Ride\Lib\ARM\STM32F10x_LIB\examples\DEBUG

    All example files can work with JX-STM32 board (1 example)

    NVIC (Nested Vectored Interrupt Controller)C:\Program Files\Raisonance\Ride\Lib\ARM\STM32F10x_LIB\examples\NVIC

    All example files can work with JX-STM32 board (6 examples)

    Power save mode operationC:\Program Files\Raisonance\Ride\Lib\ARM\STM32F10x_LIB\examples\PWR

    All example files can work with JX-STM32 board (2 examples)

    RCC (Real Counter Controller)C:\Program Files\Raisonance\Ride\Lib\ARM\STM32F10x_LIB\examples\RCC

    JX-STM32 can support this example files by removing (desodering) 8MHz crystalfrom the JX-STM32 board. Requires the desoldering skill for removing the crystal frommicrocontroller board.

    RTC (Real-Time Clock module)C:\Program Files\Raisonance\Ride\Lib\ARM\STM32F10x_LIB\examples\RTC

    Only Calender example files can work with JX-STM32 board (1 example)

    SPI (Serial Peripheral Interface)C:\Program Files\Raisonance\Ride\Lib\ARM\STM32F10x_LIB\examples\SPI

    The most examplefiles can work with the JX-STM32 board (5 examples) exceptM25P64_FLASH example by connecting the SPI port pin that connected with SDcard socket.

  • 6 l JX-STM32 ARM Cortex-M3 microcontroller board

    SysTickC:\Program Files\Raisonance\Ride\Lib\ARM\STM32F10x_LIB\examples\SysTick

    All example files can work with JX-STM32 board (1 example)

    TIM (Timer/Counter)C:\Program Files\Raisonance\Ride\Lib\ARM\STM32F10x_LIB\examples\TIM

    All example files can work with JX-STM32 board (15 examples).

    Requires the Oscilloscope for measuring the signal waveform.

    USART (Universal Synchronous/Asynchronous Receiver Transmitter)C:\Program Files\Raisonance\Ride\Lib\ARM\STM32F10x_LIB\examples\UART

    Most example files can work with the JX-STM32 (9 exmaples) except IRDA,Smartcard and Synchronous example.

    WWDG (Window Watchdog)C:\Program Files\Raisonance\Ride\Lib\ARM\STM32F10x_LIB\examples\WWDG

    All example files can work with JX-STM32 board (1 example)

  • JX-STM32 ARM Cortex-M3 microcontroller board l 7

    1.1 Technical featuresl CPU core : 32-bit ARM Cortex-M3 Maximum clock frequency 72MH with Single-

    cycle multiplication and hardware division

    l Memory : Flash 128KB and Static RAM 20KB

    l Clock frequency : 4 to 16MHz in Crystal oscillator, 8MHz Internal RC, 40kHzInternal RC, 32kHz Internal clock for Real-time clock module and Phase-lock-loop for CPUclock up to 72MHz.

    l Supply voltagr : 2.0 to 3.6Vdc

    l Power management : Power-On Reset (POR), Power-Down Reset (PDR),Programmable voltage detector (PVD). Support 3 power-save modes; Sleep, Stop andStandby

    l VBAT supply for RTC and backup registers

    l ADC module : Speed 1ms. 2 of 12-bit resolution ADC module, 16 channelstotal. Support input voltage 0 to 3.6Vdc. 2 of sample and hold circuit and on-chiptemperature sensor.

    l DMA : 7 channels. Support Timer, ADC, SPI,m I2C bus and USART moduels

    l Input/Output port : 80-pin high speed anmd +5V tolerance

    l Debug : Support Serial wire debug (SWD) and JTAG

    l Timer : 7 units- Up to three 16-bit timers, each with up to 4 IC/OC/PWM or pulse counter- 16-bit, 6-channel advanced control timer:

    up to 6 channels for PWM output, deadtime generation andemergency stop

    2 watchdog timers (Independent and Window) SysTick timer: a 24-bit downcounter

    l Serial interface module : 9 communication interfaces- 2 of I2C bus interfaces; support SMBus and PMBus- 3 of USART; support ISO 7816, LIN, IrDA and modem control signal- 2 of SPI speed 18Mbit/second- CAN 2.0B Active type- - USB 2.0 full speed

    More information available at http://www.st.com

    1 : STM32F103BVT6 The ARM Cortex-M3microcontroller from STMicroelectronics

    http://www.st.com

  • 8 l JX-STM32 ARM Cortex-M3 microcontroller board

    1.2 STM32F103VBT6 architechtureThe figure 1-1 shows STM321F103VBT6 microcontroller operation diagram.

    1.2.1 Embedded memorySTM32F103VBT6 embedded 128 Kbytes of embedded Flash is available for storing

    programs and data. and embedded SRAM 20 Kbytes of embedded SRAM accessed(read/write) at CPU clock speed with 0 wait states. The figure 1-2 show flash memory-mapping of STM32F103VBT6.

    1.2.2 Nested vectored interrupt controller (NVIC)The STM32F103xx performance line embeds a Nested Vectored Interrupt

    Controller able to handle up to 43 maskable interrupt channels (not including the 16interrupt lines of Cortex-M3) and 16 priority levels.

    l Closely coupled NVIC gives low latency interrupt processingl Interrupt entry vector table address passed directly to the corel Closely coupled NVIC core interfacel Allows early processing of interruptsl Processing of late arriving higher priority interruptsl Support for tail-chainingl Processor state automatically savedl Interrupt entry restored on interrupt exit with no instruction overhead

    This hardware block provides flexible interrupt management features with minimalinterrupt latency.

    1.2.3 External interrupt/event controller (EXTI)The external interrupt/event controller consists of 16 edge detectors lines used

    to generate interrupt/event requests. Each line can be independently configured toselect the trigger event (rising edge, falling edge, both) and can be maskedindependently. A pending register maintains the status of the interrupt requests. TheEXTI can detect external line with pulse width lower than the Internal APB2 clock period.Up to 80 GPIOs are connected to the 16 external interrupt lines.

    1.2.4 Clocks and startupSystem clock selection is performed on startup,

Recommended

View more >