ARTERY AT-START-F415 User Manual

Getting started with AT32F415RCT7-7

Introduction

The AT-START-F415 is designed to help users explore the high-performance features of the 32-bit microcontroller, AT32F415, embedded with an ARM Cortex®-M4 core, and to assist in developing applications. The AT-START-F415 is an evaluation board based on the AT32F415RCT7-7 chip, featuring LED indicators, buttons, a USB micro-B connector, a USB type A connector, and an Arduino™ Uno R3 extension connector. This evaluation board integrates the AT-Link-EZ debugging/programming tool, eliminating the need for external development tools.

Contents

The manual is structured into the following sections:

List of tables

List of figures

1 Overview

1.1 Features

The AT-START-F415 evaluation board offers the following characteristics:

1.2 Definition of terms

2 Quick start

2.1 Get started

To begin using the AT-START-F415 board, follow these steps:

  1. Check Jumper Positions:
    • JP1: Connect to GND or OFF (BOOT0 pin is 0, with a pull-down resistor on the AT32F415RCT7-7).
    • JP4: Optional or OFF (BOOT1 state is not critical).
    • JP6 and JP7: Select the upper IO.
  2. Connect to PC: Connect the AT-START-F415 board to a PC using a USB cable (Type A to micro-B). The board will be powered via the AT-Link-EZ USB connector (CN6). LED1 (red) will be continuously lit, and LEDs 2 through 4 will blink sequentially.
  3. User Button Interaction: Pressing the user button (B2) changes the blinking frequency of the three user LEDs.

2.2 Toolchains supporting AT-START-F415

3 Hardware and layout

The AT-START-F415 board is centered around the AT32F415RCT7-7 microcontroller in an LQFP64 7x7 mm package. Figure 1 illustrates the connections between the AT-Link-EZ, the AT32F415RCT7-7, and its peripherals, including buttons, LEDs, USB OTG, and extension connectors. Figures 2 and 3 detail these features on the AT-Link-EZ and AT-START-F415 board respectively.

Figure 1. Hardware block diagram Description:

This diagram shows the core components and their interconnections. The central element is the AT32F415RCT7-7 microcontroller. It connects to the AT-LINK-EZ module, which provides programming and debugging capabilities. Peripherals include a Micro-USB connector for power and data, a USB Type-A connector for host functionality, user LEDs (LED2-LED4), a user button, and a reset button. Extension connectors are also shown: an Arduino extension connector and an LQFP64 I/O extension connector. The diagram indicates connections between these blocks, highlighting the microcontroller's I/O ports and debug interfaces.

Figure 2. Top layer Description:

The top layer diagram displays the physical layout of the AT-START-F415 board. Key components labeled include the AT32F415RCT7-7 microcontroller, the AT-LINK-EZ module, USB connectors (Micro-B and Type-A), Arduino Uno R3 extension connectors, LQFP64 I/O extension connectors, user LEDs (LED1-LED4), user and reset buttons, boot mode selection jumpers, the 8 MHz HSE crystal, the 32.768 kHz LSE crystal, and the 20-pin ARM standard JTAG connector. It also indicates jumpers for IDD measurement and IO/USB OTG selection.

Figure 3. Bottom layer Description:

The bottom layer diagram illustrates the component placement and PCB traces on the underside of the AT-START-F415 board. It shows the microcontroller package, various connectors, and other surface-mounted components, along with silkscreen markings for component identification and board revision.

3.1 Power supply selection

The 5 V power supply for the AT-START-F415 can be provided via a USB cable connected to the AT-Link-EZ USB connector (CN6) or the AT-START-F415 USB OTG connector (CN5). Alternatively, an external 5 V power supply (E5V) or a 7~12 V power supply (VIN) can be used, with an on-board 5 V voltage regulator (U1) providing the necessary 5 V. This 5 V supply is then regulated down to 3.3 V by voltage regulator U2 for the microcontroller and peripherals.

The 5 V pin on connector J4 or J7 can also serve as an input power source. The board requires a 5 V power supply unit. The 3.3 V pin on J4, or the VDD pins on J1 and J2, can be used for direct 3.3 V input power, requiring a 3.3 V power supply unit.

Note: The AT-Link-EZ will only be powered if a 5 V supply is provided through its USB connector (CN6); other power supply methods do not power the AT-Link-EZ.

When another application board is connected to J4, the VIN, 5 V, and 3.3 V pins can be used as output power. The J7 5V pin provides 5 V output, and the VDD pins of J1 and J2 provide 3.3 V output.

3.2 IDD

To measure the power consumption of the AT32F415RCT7-7, JP3 should be OFF (symbol IDD) and R13 should be ON. If JP3 is OFF and R13 is OFF, an ammeter must be connected to measure power consumption; otherwise, the microcontroller cannot be powered.

3.3 Programming and debugging

3.3.1 Embedded AT-LINK-EZ

The evaluation board includes the Artery AT-Link-EZ, a tool for programming and debugging the AT32F415RCT7-7. The AT-Link-EZ supports SWD interface mode and virtual COM ports (VCP) to connect to the USART1_TX/USART1_RX (PA9/PA10) pins of the AT32F415RCT7-7. When used this way, PA9 and PA10 are affected by the AT-Link-EZ: PA9 is weakly pulled up by the VCP RX pin, and PA10 is strongly pulled up by the VCP TX pin. Removing resistors R9 or R10 allows PA9 and PA10 to be used without these restrictions.

The SWO debug port of AT-Link-EZ connects to the TRACESWO (PB3) pin via R53. If SWO debug is disabled, PB3 remains unaffected. For concerns, R53 can be set to OFF.

Refer to the AT-Link User Manual for detailed operations, firmware upgrades, and precautions.

The AT-Link-EZ PCB can be separated from the AT-START-F415 board by bending along a joint. The AT-START-F415 can then connect to the AT-Link-EZ's CN7 via CN2 (if not mounted) or connect to another AT-Link for programming and debugging.

3.3.2 20-pin ARM® standard JTAG connector

The AT-START-F415 also provides standard JTAG or SWD connectors for programming and debugging. To use these interfaces, either detach the AT-Link-EZ or set resistors R41, R44, and R46 to OFF. Then, connect the programming/debugging tool to CN3 (if not mounted).

3.4 Boot mode selection

Three boot modes can be selected at startup via pin configuration. Table 1 details the jumper settings:

Jumper Boot mode selection pins Settings
BOOT1 BOOT0
JP1 connected to GND or OFF;
JP4 optional or OFF
X 0 Boot from the internal Flash memory (Factory default setting)
JP1 connected to VDD;
JP4 connected to GND
0 1 Boot from the system memory
JP1 connected to VDD;
JP4 connected to VDD
1 1 Boot from SRAM

3.5 External clock source

3.5.1 HSE clock source

Three hardware modes are available for setting the external high-speed clock sources:

3.5.2 LSE clock source

Three hardware modes are available for setting the external low-speed clock sources:

3.6 LED indicators

3.7 Buttons

3.8 USB OTG

The AT-START-F415 board supports USB full-speed/low-speed host or full-speed device communication via its USB micro-B connector (CN5). In device mode, the AT32F415RCT7-7 connects directly to a host via USB micro-B, with VBUS supplying 5 V to the board. In host mode, an external USB OTG cable is needed, and the board controls the USB micro-B connector's power supply via a PD2 port and transistor S8550.

An additional USB type A connector (CN1) is present, serving as a USB host connector primarily for U disks and other devices, without requiring an OTG cable. This USB type A connector does not have power switch control.

Figure 4. USB OTG interface appearance Description:

This figure shows the USB connectors on the board. It labels the USB Type-A connector as 'USB HOST' (CN1) and the USB Micro-B connector as 'CN5'. It also indicates pins like VBUS, GND, and data lines (USB_P, USB_M) for both connectors, along with associated resistors and jumpers (JP6, JP7) for OTG functionality selection.

When PA9 or PA10 of AT32F415RCT7-7 are used for OTG_FS_VBUS or OTG_FS_ID functions, JP6 or JP7 must select the lower OTG_FS setting. This configuration connects PA9 or PA10 to the USB micro-B connector and disconnects them from the Arduino Uno R3 and LQFP64 I/O extension connectors, as well as the AT-Link connector.

3.9 0 Ω resistors

Table 2 details the configuration and function of various 0 Ω resistors on the board:

Resistors State(1) Description
R13 (Microcontroller power consumption measurement) ON
OFF
When JP3 is OFF, 3.3V is connected to the microcontroller for power supply.
When JP3 is OFF, 3.3V allows an ammeter to be connected for power consumption measurement (if no ammeter, the AT32F415RCT7-7 cannot be powered).
R4 (VBAT power supply) ON
OFF
VBAT is connected to VDD.
VBAT can be powered by pin_1 VBAT of J2.
R1, R14, R15, R16 (HSE) ON, OFF, ON, OFF
OFF, ON, OFF, ON
HSE clock source uses crystal Y2 on the board.
HSE clock source is from external PD0 or PD0 and PD1 are used as GPIO.
R5, R6, R7, R8 (LSE) OFF, ON, ON, OFF
ON, OFF, OFF, ON
LSE clock source uses crystal Y1 on the board.
LSE clock source is from external PC14 or PC14 and PC15 are used as GPIO.
R19, R21 (User button B2) ON, OFF
OFF, ON
User button B2 is connected to PA0.
User button B2 is connected to PC13.
R29, R30 (PA11, PA12) OFF, OFF
ON, ON
When PA11 and PA12 are used as USB, they are not connected to pin_12 and pin_13 of J1.
When PA11 and PA12 are not used as USB, they can be connected to pin_12 and pin_13 of J1.
R31, R32, R33, R34 (Arduino™ A4, A5) OFF, ON, OFF, ON
ON, OFF, ON, OFF
Arduino™ A4 and A5 are connected to ADC1_IN11, and ADC1_IN10.
Arduino™ A4 and A5 are connected to I2C1_SDA and I2C1_SCL.
R35, R36 (Arduino™ D10) OFF, ON
ON, OFF
Arduino™ D10 is connected to SPI1_SS.
Arduino™ D10 is connected to PWM (TMR4_CH1).
R9 (USART1_RX) ON
OFF
USART1_RX of AT32F415RCT7-7 is connected to VCP TX of AT-LINK-EZ.
USART1_RX of AT32F415RCT7-7 is disconnected from VCP TX of AT-LINK-EZ.
R10 (USART1_TX) ON
OFF
USART1_TX of AT32F415RCT7-7 is connected to VCP RX of AT-LINK-EZ.
USART1_TX of AT32F415RCT7-7 is disconnected from VCP RX of AT-LINK-EZ.

(1) The factory default Rx state is shown in BOLD.

3.10 Extension connectors

3.10.1 Arduino™ Uno R3 extension connector

Female plugs J3-J6 and male J7 support standard Arduino™ Uno R3 connectors, making most Arduino™ Uno R3 compatible daughter boards suitable for the AT-START-F415.

Note 1: The I/O ports of AT32F415RCT7-7 are 3.3 V compatible with Arduino™ Uno R3, but 5 V is incompatible.

Note 2: Pin 8 of J3 is VDDA, which has the same level as VDD and lacks the AFEF function defined by Arduino™ Uno R3.

Connector Pin number Arduino pin name AT32F415 pin name Functions
J4
(Power supply)
1 NC
2 IOREF 3.3V reference
3 RESET NRST External reset
4 3.3V 3.3V 3.3V input/output
5 5V 5V 5V input/output
6 GND Ground
7 GND Ground
8 VIN 7~12V input/output
J6
(Analog input)
1 A0 PA0 ADC1_IN0
2 A1 PA1 ADC1_IN1
3 A2 PA4 ADC1_IN4
4 A3 PB0 ADC1_IN8
5 A4 PC1 or PB9(1) ADC1_IN11 or I2C1_SDA
6 A5 PC0 or PB8(1) ADC1_IN10 or I2C1_SCL
J5
(Logic
input/output low
byte)
1 D0 PA3 USART2_RX
2 D1 PA2 USART2_TX
3 D2 PA10 -
4 D3 PB3 TMR2_CH2
5 D4 PB5 TMR3_CH1
6 D5 PB4 TMR2_CH3
7 D6 PB10 TMR2_CH3
8 D7 PA8 -
J3
(Logic
input/output high
byte)
1 D8 PA9 TMR1_CH2
2 D9 PC7 TMR1_CH2
3 D10 PA15 or PB6(1) SPI1_NSS or TMR4_CH1
4 D11 PA7 TMR3_CH2 or SPI1_MOSI
5 D12 PA6 SPI1_MISO
6 D13 PA5 SPI1_SCK
7 GND Ground
8 VDDA VDDA output
9 SDA PB9 I2C1_SDA
10 SCL PB8 I2C1_SCL

3.10.2 LQFP64 I/O port extension connector

The extension connectors J1 and J2 allow the AT-START-F415 to connect to external prototype or packing boards. The I/O ports of the AT32F415RCT7-7 are accessible through these connectors. J1 and J2 can also be used for measurements with an oscilloscope, logic analyzer, or voltmeter probe.

Connector Pin number Arduino pin name AT32F415 pin name Functions
J7
(Others)
1 MISO PB14 SPI2_MISO
2 5V 5V input/output
3 SCK PB13 SPI2_SCK
4 MOSI PB15 SPI2_MOSI
5 RESET NRST External reset
6 GND Ground
7 NSS PB12 SPI2_NSS
8 PB11

(1) 0 Ω resistor setting is shown in Table 2.

4 Schematic

The schematic section provides detailed circuit diagrams for various parts of the AT-START-F415 board.

Figure 5. Schematic (AT-Link-EZ) Description:

This schematic illustrates the AT-Link-EZ module, including its USB interface components (Micro-USB connector, USB data lines, VBUS), the AT32F415 microcontroller used within the AT-Link-EZ, its programming/debugging interfaces (SWD, SWO, JTAG), status LEDs, and associated passive components like resistors and capacitors.

Figure 6. Schematic (microcontroller) Description:

This schematic details the connections of the main AT32F415RCT7-7 microcontroller. It shows its power and ground connections, clock sources (8 MHz crystal, 32.768 kHz crystal, and external oscillator inputs), boot mode selection jumpers (BOOT0, BOOT1), reset circuitry, and the pin assignments for GPIO, USART, SPI, I2C, ADC, and timer functions, connecting to various board peripherals and extension headers.

Figure 7. Schematic (power supply and peripherals) Description:

This schematic covers the power supply circuitry, including voltage regulators (5V and 3.3V), input connectors (DC JACK, USB), and power distribution. It also details the circuits for peripherals such as the USB host (Type-A connector), user buttons, LEDs, USART1 interface for ISP, and the 20-pin ARM standard JTAG connector. Test points are also indicated.

Figure 8. Schematic (extension connectors) Description:

This schematic illustrates the pinouts and connections for the extension connectors on the board. It specifically details the Arduino Uno R3 connectors (J3, J4, J5, J6, J7) and the LQFP64 I/O port extension connectors (J1, J2), showing how the microcontroller's pins are mapped to these headers for external interfacing.

5 Revision history

Table 4 outlines the document's revision history:

Date Revision Changes
2019.8.16 1.0 Initial release.
2020.6.1 1.1 1. Modified CB8 to 1 µF.
2. Corrected silkscreen on the back side to AT32F415RCT7-7.
3. Replaced 8 MHz crystal.
4. Optimized solder bridge direction.
5. Changed LED3 to yellow.
2020.9.29 1.20 1. Changed document revision code to 3 digits (AT-START hardware version + document version).
2. Updated AT-Link-EZ to version 1.1 for SWO debug support; added SWO description.
2020.11.19 1.30 1. Updated AT-Link-EZ to version 1.2, adjusted CN7 signals, and modified silkscreen.
2. Modified CN2 silkscreen to align with Artery development tools.
3. Added GND test pin ring for measurement facilitation.

Important Notice

Purchasers understand and agree that they are solely responsible for the selection and use of Artery's products and services. Artery's products and services are provided "AS IS", and Artery disclaims all warranties, express or implied, including but not limited to implied warranties of merchantability, satisfactory quality, non-infringement, or fitness for a particular purpose.

Purchasers acquire no right, title, or interest in Artery's products, services, or intellectual property. Artery's products are not authorized for use in critical applications such as medical devices, life support systems, automotive safety systems, nuclear facilities, air traffic control, weapons systems, or any application where product failure could lead to death, bodily injury, or catastrophic property damage.

© 2020 ARTERY Technology Corporation - All rights reserved.

For more information, visit www.arterytek.com

Models: AT32F415RCT7-7, AT-START-F415, AT-START-F415 32 Bit Microcontroller, 32 Bit Microcontroller, Microcontroller

File Info : application/pdf, 21 Pages, 1.28MB

PDF preview unavailable. Download the PDF instead.

ARTERY START F415 USERMANUAL

References

Microsoft Word 2013 Microsoft Word 2013

Related Documents

Preview AT-START-F407 User Manual - Artery Technology
Comprehensive user manual for the Artery AT-START-F407 evaluation board, detailing its features, hardware layout, programming, debugging, connectivity options, and technical specifications.
Preview AT32F403A/407 Series Reference Manual: ARM Cortex-M4F MCUs
Comprehensive reference manual detailing the features, specifications, and operation of the AT32F403A/407 series of ARM Cortex-M4F microcontrollers, including memory, peripherals, timers, and communication interfaces.