STM32 Microcontroller and FreeRTOS Development Queue Send & Receive Queue Definition xQueueCreate() xQueueCreate() creates a queue using dynamically allocated memory from the FreeRTOS heap. It specifies the maximum number of items the queue can hold and the size of each item. The function returns a valid queue handle when creation succeeds or NULL if there…
TI C2000: Hardware Acceleration Subsystem – Control Law Accelerator (CLA)
TI C2000 Real-Time Microcontroller: Control, Sensing, and Communication Control Law Accelerator (CLA) CLA Memory and Register Access CLA Tasks CLA Registers CLA Initialization CLA Task Programming CLA C Language Implementation and Restrictions CLA Assembly Language Implementation CLA Code Debugging Control Law Accelerator (CLA) The CLA is an independent, fully programmable, 32-bit floating-point math processor. It…
STM32 FreeRTOS: Lists and List Items
STM32 Microcontroller and FreeRTOS Development List & List Item & Mini List Item List: A FreeRTOS list is a doubly linked list used by the kernel to organize tasks and other objects. List Item: A list item is a node that stores a value, links to neighboring items, and can reference its owning object. Mini…
TI C2000: Hardware Acceleration Subsystem – Direct Memory Access (DMA)
TI C2000 Real-Time Microcontroller: Control, Sensing, and Communication Direct Memory Access (DMA) DMA Operation DMA Example DMA Channel Priority Modes DMA Throughput DMA Registers Direct Memory Access (DMA) The DMA module provides a hardware method of transferring data between peripherals and/or memory without intervention from the CPU, effectively freeing up the CPU for other functions….
TI C2000: Multi-Core Communication – Inter-Processor Communications (IPC)
TI C2000 Real-Time Microcontroller: Control, Sensing, and Communication Inter-Processor Communications (IPC) IPC Global Shared RAM IPC Message RAM IPC Message Registers IPC Interrupts and Flags IPC Data Transfer IPC Software Solutions Summary Inter-Processor Communications (IPC) The IPC allows communication between the two CPU subsystems (i.e. CPU1 and CPU2). Message RAMs IPC flags and interrupts IPC…
TI C2000: Communication – Multichannel Buffered Serial Port (McBSP)
TI C2000 Real-Time Microcontroller: Control, Sensing, and Communication Multichannel Buffered Serial Port (McBSP) McBSP Definition Multi-Channel Selection McBSP Summary Multichannel Buffered Serial Port (McBSP) The McBSP provides a high-speed direct interface to codecs, analog interface chips (AICs), and other serially connected A/D and D/A devices. It has double-buffered transmission and triple-buffered reception for supporting continuous…
TI C2000: Communication – Universal Serial Bus (USB)
TI C2000 Real-Time Microcontroller: Control, Sensing, and Communication Please also see this post about the USB communication protocol. Universal Serial Bus (USB) Controller USB Communication Enumeration USB Hardware USB Summary Universal Serial Bus (USB) Controller The USB operates as a full-speed function controller during point-to-point communications with a USB host. It complies with the USB…
TI C2000: Communication – Controller Area Network (CAN)
TI C2000 Real-Time Microcontroller: Control, Sensing, and Communication Please also see this post about the CAN communication protocol. Controller Area Network (CAN) CAN Bus and Node Principles of Operation Message Format and Block Diagram CAN Summary Controller Area Network (CAN) The CAN module is a serial communications protocol that efficiently supports distributed real-time control with…
TI C2000: Communication – Inter-Integrated Circuit (I2C)
TI C2000 Real-Time Microcontroller: Control, Sensing, and Communication Please also see this post about the I2C communication protocol. Inter-Integrated Circuit (I2C) I2C Operating Modes and Data Formats I2C Summary Inter-Integrated Circuit (I2C) The I2C provides an interface between devices that are compliant I2C-bus specification version 2.1 and connect using an I2C-bus. External components attached to…
TI C2000: Communication – Serial Peripheral Interface (SPI)
TI C2000 Real-Time Microcontroller: Control, Sensing, and Communication Please also see this post about the SPI communication protocol. Serial Peripheral Interface (SPI) SPI Transmit / Receive Sequence SPI Summary Serial Peripheral Interface (SPI) The SPI is a high-speed synchronous serial port that shifts a programmable length serial bit stream into and out of the device…