TI C2000 Real-Time Microcontroller: Control, Sensing, and Communication Capture Module (eCAP) Example: eCAP1 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 ePWM Trip-Zone and Digital Compare Sub-Module ePWM Event-Trigger Sub-Module Hi-Resolution PWM (HRPWM) Example: ePWM1A ePWM Module Signals and Connections ePWM Block Diagram ePWM…
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 Example: DACOUTB 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…
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…
TI C2000: Analog Subsystem – Analog-to-Digital Converter (ADC)
TI C2000 Real-Time Microcontroller: Control, Sensing, and Communication ADC Subsystem ADC Module Block Diagram ADC SOCx Functional Diagram ADC Triggering ADC Ping-Pong Triggering ADC Conversion Priority Example – Round Robin Priority Example – High Priority Example – Round Robin Burst Mode with High Priority ADC Post Processing Block ADC Clocking Flow ADC Converter Registers ADC…