MCUSW
Loading...
Searching...
No Matches
Getting Started

MCUSW

SoC's such as AM62X/AM62A/AM62P/AM62D/AM275 integrate an MicroController Unit Subsystem (MCU SS) as an chip-in-chip. It operates using a separate voltage supply, clock sources and resets and includes the components needed for device management. This allows the MCUSS to function continuously regardless of the state of the rest of the device. MCU SS has one or more DUAL core Cortex R5F (number of instances varies on the variant of the device, please refer the device reference manual)

MCAL is expected to run on Main domain R5F0_0 core for AM275X and Mcu domain R5F0_0 core for AM62DX/AM62AX.

MCUSW consists of two main components, Microcontroller abstraction layer (MCAL) & Demonstration applications (MCUSS Demos). Its is expected to be hosted on Cortex R5F 0 in MCU Domain or other Cortex R5F in main domain. The table below lists SoC/Cores on which MCUSW can be hosted.


Supported Devices

Device Family Devices Also known by other names
Sitara MPU AM62AX -
Sitara MPU AM62X -
Sitara MPU AM62P -
Sitara MPU AM62DX -
Sitara SPMCU AM275X -

Core Naming Conventions

SoC Family Cores Names Referred as Comments
AM62AX/AM62P/AM62DX MCU R5F Core 0 mcu 0 0 Please refer the "MCAL_SitaraMPU_release_notes.html" to determine if this release supports this platform. Note that all computing cores might not be supported in MCUSW
AM275X MAIN R5F Core 0 mcu 0 0 Please refer the "MCAL_SitaraSPMCU_release_notes.html" to determine if this release supports this platform. Note that all computing cores might not be supported in MCUSW
AM62X DM R5F Core 0 mcu 0 0 Please refer the "MCAL_SitaraMPU_release_notes.html" to determine if this release supports this platform. Note that all computing cores might not be supported in MCUSW

Getting access to MCAL

In case of Sitara MPU/SPMCU, MCUSW is released seperatly and is not part of SDK.

  1. Configurator and Compliance Support Package (CSP)
    1. Configurator package is required to update/modify MCAL configurations
    2. For SMPU/SPMCU platforms, CSP and plugins will be present inside the release package not as separate installer.
  1. Refer (Installation Steps) for detailed installation steps

License for Configurator

EB Tresos is an AUTOSAR-compliant tool used for configuring and generating basic software modules.
A valid license is required to access and use EB Tresos. For EB License and other EB-related information, please check: Access to EB Tresos Tool and License.

Back To Top


Package Contents

MCU Demos

Demonstrates usage of various drivers / software provided for MCU SS. These applications could employ FREERTOS as OS and use MCAL and/or PDK drivers.

Please note, these demos are currently not supported on Sitara MPU/SPMCU Family of Devices.


MCAL

MCAL is the lowest layer of the AUTOSAR Basic Software architecture. MCAL contains drivers with direct access to the μC internal peripherals. MCAL is a hardware specific layer that ensures a standard interface to the Basic Software.

This user guide details procedure that are common to all MCAL drivers, please refer driver specific user guide for finer details of driver.


Supported Drivers

Driver Comments Refer Supported SoC Supported Cores
Can Driver for built-in CAN peripheral (Can User Guide) AM62X/AM62AX/AM62P/AM62DX/AM275X MCU 0 0
Cdd Ipc Driver for inter-processor communication (Cdd Ipc User Guide) AM62X/AM62AX/AM62P/AM62DX/AM275X MCU 0 0
Eth Driver for built in CPSW 2G port (Eth & EthTrcv User Guide) AM62X/AM62AX/AM62P/AM62DX/AM275X MCU 0 0
EthTrcv Driver for Ethernet Transceiver and tested with DP83867 (Eth & EthTrcv User Guide) AM62X/AM62AX/AM62P/AM62DX/AM275X MCU 0 0
Fls Driver for external Flash Device (Fls User Guide) AM62X/AM62AX/AM62P/AM62DX/AM275X MCU 0 0
Gpt Driver for General purpose timer (Gpt User Guide) AM62X/AM62AX/AM62P/AM62DX/AM275X MCU 0 0
Spi Driver for Serial Peripheral Interface (Spi User Guide) AM62X/AM62AX/AM62P/AM62DX/AM275X MCU 0 0
Dio Driver for control of GPIO (Dio User Guide) AM62X/AM62AX/AM62P/AM62DX/AM275X MCU 0 0
Wdg Driver for built in WWDT(Windowed Watchdog Timer) (Wdg User Guide) AM62X/AM62AX/AM62P/AM62DX/AM275X MCU 0 0
Mcu Driver for built in MCU (CLOCK hardware) (Mcu User Guide) AM62X/AM62AX/AM62P/AM62DX/AM275X MCU 0 0
Cdd Uart Driver for built in Cdd Uart (Cdd Uart User Guide) AM62AX/AM62DX/AM275X MCU 0 0
Pwm Driver for built in PWM (Pwm User Guide) AM62AX/AM62P/AM62DX/AM275X MCU 0 0
Icu Driver for built in ICU (Icu User Guide) AM62AX/AM62P/AM62DX/AM275X MCU 0 0
Adc Driver for built in Adc peripheral (Adc User Guide) AM275X MCU 0 0

Back To Top


Dependencies

Dependencies can be categorized as listed below. Please note that depending on the intended use, the dependencies vary (e.g. for integration vs running demo applications only)

  1. Hardware Dependencies (Hardware Dependencies)
  2. Software Dependencies (Software Dependencies)

Hardware Dependencies

Please refer to the Sitara MPU/SPMCU Device SDK Getting Started Page. (For example, for am275x visit https://www.ti.com/tool/download/AM275-FREERTOS-SDK, under documentation there will be SDK Getting Started Page).

Built in emulator

Sitara MPU/SPMCU Device EVMs includes an on-board XDS110 USB emulator, which could be used with CCS. Please refer to ti.com or contact your FAE for documents describing the EVM.

Emulator

An external emulator such as Spectrum Digital XDS560V2 could be used, all steps remain identical to steps listed in (Built in emulator) with creation of Target Configuration being the exception.

While creating the target, please select the emulator that is being used.


Software Dependencies

For Sitara MPU/SPMCU Family of Devices:

Please refer MCU+SDK Documentation Getting Started Page to begin with SDK installation. Please refer to release notes for updated information on supported Compilers.

MCU+SDK

Get required MCU Plus SDK release version from below locations, and place it in same location as mcusw folder.

This is required for building and validating MCAL Applications.

  1. [TI Website for AM62X] (https://www.ti.com/tool/download/MCU-PLUS-SDK-AM62X)
  2. [TI Website for AM62AX] (https://www.ti.com/tool/PROCESSOR-SDK-AM62A)
  3. [TI Website for AM62PX] (https://www.ti.com/tool/PROCESSOR-SDK-AM62P)
  4. [TI Website for AM62DX - (AM62D-AWE-SDK)] (https://www.ti.com/tool/AUDIO-AM62D-EVM)
  5. [TI Website for AM275X] (https://www.ti.com/tool/download/AM275-FREERTOS-SDK)

MCAL Example Application

  1. SCI Client: To request interrupt numbers as resources.
  2. Hwip: To register MCAL modules' interrupts.
  3. UART Driver: To print output on the console.
  4. CacheP_init(): To initialize cache settings required for efficient memory access.
  5. MpuP_init(): To configure MPU settings to ensure memory protection and access control.
  6. Pinmux_init(): To configure pin multiplexing required for proper functionality of peripherals. See Generate Pinmux: Configuring Ports with MCU+ SDK.

Back To Top


MCAL Configurator : Elektrobit Tresos

Elektrobit Tresos (EB) is used to configure the MCAL modules, please refer EB Tresos Information for details.

This tool would be required to re configure the MCAL modules provided by TI.

Back To Top


IDE (CCS)

Code Composer Studio is an integrated development environment (IDE) that supports TI's Microcontroller and Embedded Processors portfolio.

Please refer to Release Notes to find the supported CCS Version. Please refer to SDK User Guides for CCS Setup instructions.

In MCU+SDK user-guide inside Getting Started there will be a section called CCS Launch, Load and Run this will have CCS Theia related information, on how to use, setup, build and run applications via CCS-Theia ({SDK_user_guide} >> Getting Started >> CCS Launch, Load and Run).

Back To Top