This latest release extends the software package for the company’s M4K group of MCUs, which is ready to use out-of-the-box with Arm Keil MDK, IAR Embedded Workbench for Arm, and now SEGGER Embedded Studio.
The M4K MCUs are based on the Arm Cortex-M4 core with floating-point unit, operating up to 160MHz. Variants are available from 128KB to 256KB code flash and 32KB data flash with 100K write-cycles endurance, 24KB SRAM, and 64-pin to 100-pin package options.
The software package provides the drivers and sample code that developers need to interact with MCU peripherals, permitting a fast start to new projects and helping accelerate completion.
The package includes low-level drivers with a well-defined API and examples for all on-chip peripherals. These samples include software to configure the analogue-to-digital converter (ADC) for voltage measurements, control the communication interfaces (UART, SPI, I2C) for various data transmission scenarios, show how the code and data flash memory is used for storage and data protection, and manage other peripherals including the digital noise filter, watchdog timer, oscillator-frequency detection and trimming, and cyclic redundancy check (CRC) function.
The M4K MCUs contain special features for motor-control applications, including a high-resolution encoder input, three advanced programmable motor control circuits, and Toshiba’s advanced vector engine plus (A-VE+). These features are accessed for development through Toshiba’s dedicated environment, MCU Motor Studio, which comprises a PC-based development environment and firmware for popular motor control techniques and fault protection.
The M4K group peripheral sample software package is ready to download from Toshiba's website. The software is delivered as fully developed and tested source code.