Recently Updated Pages
DMA - Memory to Memory transfer
Objective Copy data from one memory block to another memory block using DMA controller Use imp...
UART using GPIO
The objective of this assignment is to emulate UART in software. You will use a GPIO pin to trans...
DMA and Timer Integration
In this assignment, we will use multiple CPU peripherals and allow them to talk to each other...
RTOS Trace
Overview FreeRTOS trace is a third party library developed by Percepio; please check them out he...
Hardware Timer
A hardware timer is a time tracking peripheral that runs independent of the foreground CPU instru...
GPIO - LED and Switch Interface
Objective The objective of the assignment is to access microcontroller's port-pins to manipulate...
Preparation for Labs
C programming basics Functions Structures Pointers Bit Masking Tutorial Basic parts and t...
Unit Testing code that touches the HW registers
This article guides you on how to unit-test code that reads or writes hardware registers of you...
Use single periodic callback if possible
The problem with multiple callbacks is that the higher rate can interrupt a lower rate callback. ...
System Calls
TODO stdio memory
Code Modularity
Code should be broken apart into smaller pieces which has advantages: Small code modules are ea...
Switch / Case Statements
Normally switch / case statements are encouraged. Here is an article that is sort of against it.
Lookup Tables
Objective To discuss lookup tables and how to use them to sacrifice storage space to increase co...
Binary Semaphores
Semaphores are used to signal/synchronize tasks as well as protect resources. A binary semapho...
Structured Bit-fields Register Mapping
Please Review the Following Structures in C: http://www.cplusplus.com/doc/tutorial/structures/ ...
Task Resuming & Suspending
A freeRTOS task that is currently running can be suspended by another task or by its own task. A ...
EventGroups
Event group APIs can be used to monitor a set of tasks. A software watchdog in an embedded system...
Watchdogs
Watchdog is a timer which can continuously check if there is any malfunction in the system operat...