Getting Started with CEM102 EVB Tutorial

Getting Started with CEM102 EVB

This article provides a comprehensive guide to getting started with the CEM102 Evaluation Board (EVB). It covers the required hardware and software, setting up the board, importing and building projects in the OnSemi IDE, debugging applications, and monitoring current values using TerraTerm software.

Required Hardware

To get started with the CEM102 EVB, you will need the following hardware:
  • CEM102 Evaluation Board (EVB)
  • J-Link debugger
  • USB cable
  • Power supply (optional)

Required Software

The following software is required to work with the CEM102 EVB:
  • OnSemi IDE (Integrated Development Environment)
  • TerraTerm software for monitoring current values

Setting up the Board

To set up the CEM102 EVB, follow these steps:
  1. Connect the J-Link debugger to the board using a USB cable.
  2. If required, connect an external power supply to the board.
  3. Ensure that the board is properly seated and all connections are secure.

Importing and Building Projects in OnSemi IDE

To import and build projects in the OnSemi IDE, follow these steps:
  1. Create a new project in the OnSemi IDE.
  2. Select the CEM102 EVB as the target device.
  3. Import the required libraries and source files.
  4. Build the project using the OnSemi IDE's build tools.

Debugging Applications

To debug applications on the CEM102 EVB, follow these steps:
  1. Create a new debug configuration in the OnSemi IDE.
  2. Select the J-Link debugger as the target interface.
  3. Set up the debug settings and options according to your requirements.
  4. Start the debugging process using the OnSemi IDE's debug tools.

Monitoring Current Values Using TerraTerm Software

To monitor current values using the TerraTerm software, follow these steps:
  1. Open the TerraTerm application and select the serial port to use.
  2. Set up the communication settings according to your requirements.
  3. Start monitoring the current values at the WE1 channel.
  4. Calibrate the measurements as required.

Measuring Current Values

To measure current values at the WE1 channel, follow these steps:
  1. Insert a resistor between the WE1 pin and ground.
  2. Measure the voltage value at the WE1 pin using the TerraTerm software.
  3. Calculate the theoretical current value using the measured resistance and voltage values.
  4. Compare the calculated value with the actual measurement to ensure accuracy.
Note: The above article is a comprehensive guide to getting started with the CEM102 EVB. It provides detailed information on setting up the board, importing and building projects in the OnSemi IDE, debugging applications, and monitoring current values using TerraTerm software.

CEM102 Setup The CEM102 is a digital signal processing (DSP) development board designed for hands-on learning and experimentation with embedded systems.
Background The CEM102 was developed by Texas Instruments (TI) as part of their TMS320C2000 series of DSP starter kits. The board features a fixed-point TMS320LF2407A DSP processor, which provides a balance between performance and power consumption.
Key Features The CEM102 setup includes:
  • TMS320LF2407A DSP processor
  • 128 KB of onboard flash memory
  • 16 KB of SRAM
  • McASP (Multichannel Audio Serial Port)
  • I2C, SPI, and UART interfaces
Software Development The CEM102 supports a range of software development tools, including the TI Code Composer Studio (CCStudio) integrated development environment (IDE). The board also includes example code and libraries to help users get started with their projects.


Introduction
Welcome to the CEM102 EVB tutorial! This tutorial is designed to help you get started with the CEM102 Evaluation Board (EVB), a development platform for the CEM102, a highly integrated and flexible microcontroller. In this tutorial, we will cover the basics of the CEM102 EVB, its features, and how to use it to develop your own projects.
Hardware Overview
The CEM102 EVB is a compact development board that features the CEM102 microcontroller at its core. The board includes:
• CEM102 microcontroller with 32-bit ARM Cortex-M0+ processor
• 256KB of flash memory and 16KB of SRAM
• USB interface for programming and debugging
• UART, SPI, I2C, and GPIO interfaces for connectivity
• On-board sensors, including an accelerometer and a temperature sensor
Software Overview
The CEM102 EVB supports a range of software tools, including:
• Keil MDK-ARM compiler and debugger
• IAR Systems Embedded Workbench
• ARM DS-5 Debugger
Getting Started
To get started with the CEM102 EVB, follow these steps:
1. Connect the board to your computer using a USB cable.
2. Install the Keil MDK-ARM compiler and debugger software on your computer.
3. Launch the Keil uVision IDE and create a new project for the CEM102 EVB.
4. Write and compile your code using the Keil compiler.
5. Debug your code using the Keil debugger or ARM DS-5 Debugger.
Example Project
In this example project, we will create a simple LED blinker application for the CEM102 EVB.
1. Create a new project in Keil uVision IDE and select the CEM102 EVB as the target device.
2. Write the following code:
#include "cem102.h"
int main(void) {
  // Initialize the GPIO pin
  cem102_gpio_init();
  
  while (1) {
    // Toggle the LED on and off
    cem102_gpio_toggle(LED_PIN);
    // Delay for a short period of time
    delay_ms(500);
  }
}
3. Compile and download the code to the CEM102 EVB.
4. Observe the LED on the board blinking on and off.


Q1: What is CEM102 EVB? The CEM102 EVB (Evaluation Board) is a development board designed for the CEM102, a highly integrated and efficient power management IC.
Q2: What is the purpose of this tutorial? This tutorial provides a step-by-step guide to help users get started with the CEM102 EVB, including setting up the board, connecting it to a computer, and running example projects.
Q3: What are the system requirements for this tutorial? A Windows or Linux-based computer with a USB port, a CEM102 EVB board, and a suitable power supply (5V, 1A) are required to complete this tutorial.
Q4: How do I connect the CEM102 EVB to my computer? Connect the USB cable provided with the EVB board to your computer's USB port. The board will be automatically detected and recognized by the operating system.
Q5: What software is required for this tutorial? The CEM102 EVB comes with a pre-installed bootloader, which allows users to upload and run example projects using a USB-UART bridge. No additional software is required.
Q6: How do I power the CEM102 EVB? The board can be powered through the USB connection or an external 5V, 1A power supply. Make sure to use a suitable power source to avoid damaging the board.
Q7: What are the example projects provided with this tutorial? The CEM102 EVB comes with several pre-loaded example projects, including LED blinker, button press detection, and temperature sensing. These examples demonstrate how to interact with the board's peripherals.
Q8: Can I write my own code for the CEM102 EVB?
Q9: How do I debug my code on the CEM102 EVB? The board comes with a built-in UART interface, which allows for serial communication between the board and your computer. You can use this interface to print debug messages or interact with the board.
Q10: What if I encounter issues during the tutorial? If you encounter any issues during the tutorial, refer to the CEM102 EVB user manual or contact our support team for assistance.




Pioneers/Companies Description
1. Analog Devices (ADI) Developed the CEM102 EVB, a evaluation board for their CEM102 power management IC.
2. Texas Instruments (TI) Offers a range of power management ICs and evaluation boards, including the TPS63051 EVM.
3. Maxim Integrated Provides a variety of power management ICs and evaluation boards, such as the MAX77827 EVKIT.
4. ON Semiconductor Develops and manufactures power management ICs, including the NCV8872 evaluation board.
5. STMicroelectronics (STM) Offers a range of power management ICs and evaluation boards, such as the STEVAL-ISA121V1.
6. NXP Semiconductors Provides power management ICs and evaluation boards, including the LPC55S16-EVK.
7. Dialog Semiconductor Develops and manufactures power management ICs, including the DA9062 evaluation board.
8. Microchip Technology Offers a range of power management ICs and evaluation boards, such as the MCP16331 EVB.
9. Renesas Electronics Provides power management ICs and evaluation boards, including the RAA230121 evaluation board.
10. Infineon Technologies Develops and manufactures power management ICs, including the IRPS5401 evaluation board.




Hardware Requirements
  • CEM102 EVB (Evaluation Board)
  • Power Supply (5V, 2A)
  • USB Cable (Micro-USB to USB-A)
  • Computer with Windows, macOS, or Linux
Software Requirements
  • CEM102 EVB Software (available on the manufacturer's website)
  • Serial Terminal Emulator (e.g. PuTTY, CoolTerm, or Screen)
  • Text Editor or IDE (optional)
Setup and Connections
  1. Connect the power supply to the CEM102 EVB.
  2. Connect the USB cable to the CEM102 EVB and the computer.
  3. Install the CEM102 EVB Software on the computer if not already installed.
  4. Launch the Serial Terminal Emulator and configure it to connect to the CEM102 EVB's serial interface (typically at 115200 baud, 8N1).
Boot Process
  1. The CEM102 EVB will automatically boot into the bootloader when powered on.
  2. The bootloader will wait for a short period (typically 5 seconds) for a user to press the 'c' key to enter the command mode.
  3. If the 'c' key is not pressed, the bootloader will load the default firmware image from flash memory and start executing it.
Command Mode
  • In command mode, users can interact with the CEM102 EVB using a set of predefined commands (e.g. 'help', 'info', 'flash', etc.).
  • Users can also use this mode to update the firmware image or load custom applications.
Firmware Update
  1. To update the firmware, users need to enter the 'flash' command in the command mode.
  2. The bootloader will then prompt the user to select the firmware image file and confirm the update process.
  3. Once confirmed, the bootloader will erase the existing firmware image and program the new one into flash memory.