Getting Started with ADSP-CM40x Mixed-Signal Control Processors

Document created by LindaJ on Sep 10, 2013Last modified by LindaJ on Jul 15, 2014
Version 14Show Document
  • View in full screen mode

ADSP-CM40x Mixed-Signal Control Processors


The ADSP-CM40x offers new levels of industry leading mixed-signal performance with a 240MHz core clock – an industry high for ARM Cortex M4 – and dual SAR 16 bit, no missing codes A to D converters with 380ns conversion speed, by far the highest performance integrated ADC available on the market today.


A video highlighting the advanced features and functionality of this new series of mixed-signal control processors can be found here .



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

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


  • ADSP-CM40x Evaluation Hardware


The ADSP-CM40x Evaluation Hardware provides a low cost hardware solution for users to evaluate the Analog Devices ADSP-CM40x microcontroller family, and includes the ADSP-CM403F and ADSP-CM408F EZ-Boards, the J-LINK LITE ARM emulator from Segger, Analog 120-Pin Probing Board and the PWM 180-Pin Probing Board. To determine whether the CM403F or CM408F EZ–Board is right for your application, please reference the ADSP-CM40x datasheet, to understand the difference between the 120LQFP and 176LQFP package options.



The ADSP-CM403F EZ-KIT Lite and the ADSP-CM408F EZ-KIT Lite include all hardware necessary to immediately being evaluation. i.e:



    • the J-LINK LITE ARM JTAG/SWD emulator from Segger, which can only be purchased directly from ADI as part of the EZ-KIT Lites.


The ADSP-CM403F and the ADSP-CM408F EZ-Boards can also be purchased separately, if a compatible emulator is already available.

ADSP-CM40x Board Design Database contains all of the electronic information required for the design, layout, fabrication and assembly of the ADSP-CM40x EZ-Boards, and is available to download from the Products Download area.


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.


An Anybus® board and/or a memory/FPGA extender card can also be connected to the EZ-Boards.


  • IAR Embedded Workbench for ARM (EWARM) v 6.5, or later


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. Free evaluation versions are available for download.



  • ADSP-CM40X Enablement Software v 1.1.0


The ADSP-CM40x Enablement Software package is free to download, and does not need a separate license to be installed in EWARM. It requires IAR Embedded Workbench for ARM 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-CM40x processors and to debug ADSP-CM40x applications.


It is also designed to work with the Micrium uC/OS-III RTOS, TCP-IP Stack and USB Device Stack.


Installing this software package:      


    • adds ADSP-CM40x 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 the Release Note and User’s Guide.



  • J-LINK Software and Documentation Pack v 4.76a


In order to download this pack from Segger, you are required to enter the serial number on the back of your J-LINK emulator on the downloads 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-CM40x Processors?


  • Install and License the EWARM Software.


When starting EWARM for the first time, you will be prompted to register for an evaluation license. EWARM has the following evaluation license options:


    • A 30-day time-limited but fully functional evaluation license
    • A size-limited Kickstart license without any time limit


Further information on EWARM Evaluation Licenses can be found here.

The evaluation license can be upgraded to a standard license of the product, which must be purchased directly from IAR.

Information about other types of EWARM license can be found here.


  • Install the ADSP-CM40X Enablement Software package.

  • Install the J-LINK software and documentation pack.


  • Connect the Evaluation Hardware – see Figure 2 in the ADSP-CM40x Enablement Software Package User's Guide, and the ADSP-CM40x EZ-KIT Lite Evaluation System Manual, section “IAR Embedded Workbench and Board Installation”.


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


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




Version 5 of Keil's Motorcontroller Development Kit (MDK), along with the Keil > Analog Devices ARM Corex-M4 Family Device Support pack, now supports the ADSP-CM40x processors.


Ethernet and USB Device Stacks, and RTOS


The ADSP-CM40x family of processors is supported by the following products, which must be purchased directly from Micrium:


  • uC/TCP-IP Stack
  • uC/USB Device Stack
  • uC/OS-III RTOS for Cortex-M4


Emulators/Debug Probes


As well as the J-Link Lite, we have also tested with the J-Link and J-Trace Cortex-M emulators.



What resources are available to help with my evaluation?



  • Documentation


ADSP-CM40x datasheet

ADSP-CM40x manuals

ADSP-CM40x application notes


IAR EWARM documentation can be found here, and from within the EWARM IDE. IAR Systems also provide a number of Technical Notes and Application Notes.


The J-LINK Software and Documentation Pack includes a user’s guide for the J-Link, which provides an overview over the major features of J-Link, gives background information about JTAG, ARM and Tracing in general and describes J-Link related software packages available from Segger. In addition, it provides FAQs for troubleshooting common problems.


The ADSP-CM40x Software Package User's Guide includes instructions on configuring Micrium μC/OS-III applications in chapter 12: Micrium μC/OS-III RTOS Configuration, with additional configuration options detailed in section 6.3.2 of the IAR Workbench Project Options section.

  • Training Material and Examples


The ADSP-CM40x Software Enablement package includes a number of examples, located within the “CM403F_CM408F_EZ-KIT\examples\” folder within the installation directory.


Within the Code Examples section of the ADSP-CM40x Software Enablement 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-CM403F or ADSP-CM408F 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, Ethernet and USB, and the Power-On Self Test demo - which tests the many peripherals of the ADSP-CM408F Board - that is pre-programmed on the EZ-KITs during production. An “RTOS_thread” example is available to demonstrate how to initialize the Micrium μC/OS-III RTOS, and create a thread.


In addition to the documentation provided with the IAR EWARM tools and ADSP-CM40x 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 1

IAR Embedded Workbench Overview Part 2



How do I contact technical support?


  • Questions about the ADSP-CM40x 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.


1 person found this helpful