Getting Started with ADSP-CM41x Mixed-Signal Control Processors

Document created by John_M Employee on Feb 16, 2016Last modified by PrasanthR on Jul 25, 2017
Version 9Show Document
  • View in full screen mode

ADSP-CM41xF Mixed-Signal Control Processors 

The ADSP-CM41xF family of mixed-signal control processors is based on the ARM® Cortex-M4 processor core with floatingpoint unit operating at frequencies up to 240 MHz, and the ARM® Cortex-M0TM processor core operating at frequencies up to 100 MHz. The processors integrate up to 160K Bytes of SRAM memory with ECC, up to 1M Byte of flash memory with ECC, accelerators and peripherals optimized for motor control and photo-voltaic (PV) inverter control, and an analog module consisting of up to two 16-bit SAR-type ADCs, one 14-bit on M0 ADC and one 12-bit DAC. The ADSP-CM41xF family operates from a single voltage supply, generating its own internal voltage supplies using internal voltage regulators and an external pass transistor.

Where can I find the information for ADSP-CM41xF? 

http://www.analog.com/cm4xx.html 

 

What do I need in order to evaluate the ADSP-CM41xF Processors?

To evaluate the ADSP-CM41xF processors, you will need:

 

  • ADSP-CM419F Evaluation Hardware

The ADSP-CM419F Evaluation Hardware provides a low cost hardware solution for users to evaluate the Analog Devices ADSP-CM41xF microcontroller family, and includes the J-LINK LITE ARM emulator from Segger, and necessary cables. To determine whether the ADSP-CM41xF is right for your application, please reference the ADSP-CM41xF datasheet, to understand the difference between the package options.

 

 

 Note: Currently, we provide ADSP-CM419F EZ-KIT in order to assist in evaluating the entire ADSP-CM41xF family. ADSP-CM419F  can be considered as a superset product having all the features. Please visit datasheet for other package options.

 

The ADSP-CM419F Board Design Database contains all of the electronic information required for the design, layout, fabrication and assembly of the ADSP-CM419F EZ-KIT boards.

 

Two expansion connectors are available for connecting probing boards that extend the system’s evaluation capabilities:

    • The Analog 120-Pin Probing Board (Part# ADZS-120ANA-SAM) which provides a point for probing any signal of the 120-pin expansion interface connector.
    • The PWM 180-Pin Probing Board (Part# ADZS-180PWM-SAM) provides probing points for any signal of the 180-pin expansion interface connector.
       

These probing boards are available to purchase separately.

 

  • IAR Embedded Workbench for ARM (EWARM) v 7.60.1 

 

IAR Embedded Workbench a complete high-performance C/C++ compiler and debugger toolchain that incorporates a compiler, an assembler, a linker and a debugger into one easy-to-use IDE. It is required for development and purchased directly from IAR Systems

 

Note: currently we do not support 8.x releases of IAR EWARM

 

  • ADSP-CM41x Board Support Package for IAR - (Rev. 1.2.0)

 

The ADSP-CM41x Board Support Package for IAR package is free to download, and does not need a separate license to be installed in EWARM. It requires IAR Embedded Workbench for ARM (version 7.6 or above) to build, load and debug projects. The installer will add various required system files to the IAR installation. These system files allow the IAR tool chain to recognize, generate code for the ADSP-CM419F processors and to debug ADSP-CM419F applications.

 

Installing this software package automatically:     

 

  • Adds ADSP-CM41x IAR configuration files into the IAR Embedded Workbench installation folder. The IAR configuration files consist of files for linking, flash loading and debugging.
  • Adds startup code, device drivers (source code and libraries), examples and documentation into the Analog Devices installation folder.

 

More information can be found in

  • Release Notes
  • User’s Guide (is found after you install the BSP)

 

Installation requirements:

Install the following software in their order given below:

  1. Install IAR EWARM first
  2. Install ADSP-CM41xF Board Support package
  3. Install Segger J-LINK Software (only if newer versions required)

 

  • J-LINK Software and Documentation Pack - Typically, IAR EWARM 7.x itself contains the necessary J-Link software for the out of box experience with the evaluation board. However, user may re install or install newer versions which can replace what is provided inside the IAR directory.
  • In order to download this pack from Segger, you may be required to enter the serial number on the back of your J-LINK emulator on the download page.

         Installing this package:

    • Installs the Windows Drivers for the Segger J-Link Emulator
    • Installs J-Link application files, device support and documentation to the Program Files directory.

 

How do I begin evaluating the ADSP-CM41x Processors?

 

  • Connect the Evaluation Hardware to J-LINK LITE – see Figures 2&3 in the ADSP-CM41x Board Support Package User's Guide, and the ADSP-CM41x EZ-KIT Lite Evaluation System Manual, section “IAR Embedded Workbench Setup”.
  • Security - Be aware that security features are enabled by default for the processor. Therefore you need to follow certain sequences to connect to debugger. These sequences are listed in ""Section 8, Security" in the ADSP-CM41x Board Support Package User's Guide. It is required to install the Cross Core Serial Flash programmer from ADI. Please follow the instructions in the above section in User's Guide as well as the "Cross Core Serial Flash Programmer Release Notes, section ADSP-CM41x". As explained in the instructions, a USB cable is required to be connected to the board in order to erase the flash and unlock to connect to debugger, via Boot Mode 3.

 

  • Configure the IAR EWARM Session, as detailed in the ADSP-CM41x Board Support Package User's Guide, section 6 “IAR Embedded Workbench Project Options”.  Additional information is available in the ADSP-CM41x EZ-KIT Lite Evaluation System Manual section “IAR Project Options”.

 

Are any other development tools available for the ADSP-CM41x Processors?

 

 

Version 5 of Keil's Motorcontroller Development Kit (MDK), along with the Analog Devices ARM Cortex-M4 and ARM Cortex-M0 CM41x Family , now supports the ADSP-CM41x processors. The pack file is available here.

 

More information can be found in

 

Installation requirements:

Install the following software in their order given below:

  1. Install Keil MDK first
  2. Install ADSP-CM41xF Board Support Package
  3. Install Segger J-LINK Software (only if newer versions required)

 

Please follow the instructions for security enablement similar to the case of IAR tool (including Cross Core Serial Flash Programmer)

 

Training Material and Examples

The ADSP-CM41x Board Support Package  includes a number of examples, located within the “ADSP-CM41x-EZ-KIT\examples\” folder within the installation directory. Within the Code Examples section of the ADSP-CM41x Board Support package User's Guide, there is documentation on the use of the provided code examples and software drivers, and each example includes a readme file providing a description of the example and instructions for its use.

 

These examples are designed to run on the ADSP-CM419F EZ-Kit, using a Segger J-Link emulator to load and run the application, and include Device Driver and System Service examples for a variety of peripherals, and the Power-On Self Test demo - which tests the many peripherals of the ADSP-CM419F Board - that is pre-programmed on the EZ-KITs during production.

 

In addition to the documentation provided with the IAR EWARM tools and ADSP-CM41x Board Software Package User's Guide, IAR provide Video Tutorials, Articles, Datasheets, etc, including a two-part IAR Embedded Workbench Overview providing an overview and some of the important features of the IAR EWARM IDE, as well as demonstrating a download and debug session:

 

IAR Embedded Workbench Overview Part 1http://www.youtube.com/watch?v=wcjy2vXN0Xg

IAR Embedded Workbench Overview Part 2

 

How do I contact technical support?

 

  • Questions about the ADSP-CM41xF processor architecture, peripherals, programming, applications and hardware design, can be posted to the ADSP-CM4XX Processors community
  • Questions specific to evaluation hardware, should be posted to the Hardware Tools community.
  • Email support is also available for these topics, here.
  • Questions about IAR Embedded Workbench for ARM should be directed here: Technical support - IAR
  • Questions about the Keil Microcontroller Development Kit should be directed here: Keil Product Support

Attachments

    Outcomes