TI C2000 Real-Time Microcontroller: Control, Sensing, and Communication Please also see this post about the SCI/UART communication protocol. Serial Communications Interface (SCI) SCI Multiprocessor Wake-Up Modes SCI Summary Serial Communications Interface (SCI) The SCI is a two-wire asynchronous serial port (also known as a UART) that supports communications between the processor and other asynchronous peripherals…
Category: Embedded System
TI C2000: Control – enhanced Capture (eCAP)
TI C2000 Real-Time Microcontroller: Control, Sensing, and Communication Capture Module (eCAP) Reference [1] TMS320F2837xD Microcontroller Workshop Back to top of the page
TI C2000: Control – enhanced Pulse Width Modulation (ePWM)
TI C2000 Real-Time Microcontroller: Control, Sensing, and Communication ePWM Module Signals and Connections ePWM Block Diagram ePWM Time-Base Sub-Module ePWM Compare Sub-Module ePWM Action Qualifier Sub-Module ePWM Dead-Band Sub-Module ePWM Chopper Sub-Module Purpose of the PWM Chopper Allows a high frequency carrier signal to modulate the PWM waveform generated by the Action Qualifier and Dead-Band…
TI C2000: Analog Subsystem – Sigma Delta Filter Module (SDFM)
TI C2000 Real-Time Microcontroller: Control, Sensing, and Communication Sigma Delta Filter Module (SDFM) SDFM Block Diagram Sigma Delta Filter Module (SDFM) The SDFM is a four-channel digital filter designed specifically for current measurement and resolver position decoding in motor control applications. Each channel can receive an independent delta-sigma modulator bit stream which is processed by…
TI C2000: Analog Subsystem – Comparator Subsystem (CMPSS)
TI C2000 Real-Time Microcontroller: Control, Sensing, and Communication Comparator Subsystem (CMPSS) Comparator Subsystem Block Diagram Comparator Subsystem (CMPSS) The F2837xD includes eight independent Comparator Subsystem (CMPSS) modules that are useful for supporting applications such as peak current mode control, switched-mode power, power factor correction, and voltage trip monitoring. The Comparator Subsystem modules have the ability…
STM32 FreeRTOS: FreeRTOS Scheduler
STM32 Microcontroller and FreeRTOS Development The scheduling algorithm is the software routine that decides which ready state task to transition into the running state. Round Robin: this scheduler will ensure tasks that share priority are selected to enter the running state in turn. The Round Robin scheduling algorithm in FreeRTOS does not guarantee time is…
TI C2000: Analog Subsystem – Digital-to-Analog Converter (DAC)
TI C2000 Real-Time Microcontroller: Control, Sensing, and Communication Digital-to-Analog Converter (DAC) Buffered DAC Block Diagram Digital-to-Analog Converter (DAC) The F2837xD includes three buffered 12-bit DAC modules that can provide a programmable reference output voltage capable of driving an external load. Values written to the DAC can take effect immediately or be synchronized with ePWM events….
TI C2000: Interrupts
TI C2000 Real-Time Microcontroller: Control, Sensing, and Communication Interrupt Sources Interrupt Processing IFR, IER, INTM Peripheral Interrupt Expansion (PIE) PIE Block Initialization Interrupt Signal Flow Dual-Core Interrupt Structure Interrupt Response and Latency TMS320F28x7x Interrupt Sources The internal interrupt sources include the general purpose timers 0, 1, and 2, and all of the peripherals on the…
STM32 FreeRTOS: Task API Functions
STM32 Microcontroller and FreeRTOS Development Task Control Block xTaskCreate() xTaskCreate() creates a new FreeRTOS task using dynamically allocated memory. It specifies the task function, task name, stack size, input parameter, priority, and an optional task handle for controlling the task later. The function returns pdPASS when the task is created successfully or an error value…
STM32 FreeRTOS: Introduction to FreeRTOS
STM32 Microcontroller and FreeRTOS Development FreeRTOS is a lightweight, deterministic real-time operating system (RTOS) designed for microcontrollers and small embedded processors where timing, reliability, and resource efficiency are critical. Unlike general-purpose operating systems, FreeRTOS provides a minimal kernel focused on predictable task scheduling, fast interrupt response, and low memory footprint, making it well suited for…