How kayws426/freertos_c28x works
Main Components
a. Hardware Layer:
• Supported models (F28377S, F28034, F28069)
• Hardware interrupt controllers (PIE - Peripheral Interrupt Expander)
b. FreeRTOS Core Layer:
• Core components from the FreeRTOS directory:
• Task Management (tasks.c)
• Queue Management (queue.c)
• Timer Services (timers.c)
• Event Groups (event_groups.c)
• Management (list.c)
c. Port-Specific Layer:
• C28x port implementation (FreeRTOS/portable/CCS/c28x)
• Both C (port.c) and Assembly (porASM.asm) components
d. Driver Layer:
• Peripheral drivers (PWM, UART, SPI)
• SD Card and FAT filesystem support
e. Application Layer:
• Example applications (blinky, PWM, UART, SD card examples)
Relationships and Data Flow
• Interrupt flows (both kernel-aware and kernel-unaware)
• Task scheduling paths
• Hardware peripheral interactions
• Driver API calls
Architectural Notes
Callouts highlighting:
• Stack sharing between tasks and interrupts
• Critical section handling using IER
• Interrupt priority levels (INT1-INT5)
• Context switching boundaries
Implementation Details
Configuration parameters:
• portCRITICAL_INTERRUPT_MASK usage
• Stack configuration
• Interrupt priority assignments
Remember to include version information:
• FreeRTOS v9.0.0
• Compatible TI MCU families
• CCS v6.1.2 compatibility