Recently Updated Pages

Lab Assignment: Device Interfacing w/ SPI + Data Structures

To learn how to create a single dynamic thread-safe driver for Synchronous Serial Port and to co...

Revision #29
Created 2 years ago by Admin
Updated 1 year ago by Preet Kang


Lab Assignment: UART

Objective To learn how to communicate between two master devices using UART. Assignment This a...

Revision #14
Created 2 years ago by Admin
Updated 1 year ago by Khalil Estell


C vs. C++

  Typically, C design pattern to create a re-usable module is performed like so: typedef struc...

Revision #1
Created 2 years ago by Preet Kang
Updated 2 years ago by Preet Kang


Task Resuming & Suspending

A freeRTOS task that is currently running can be suspended by another task or by its own task. A ...

Revision #7
Created 2 years ago by Admin
Updated 2 years ago by sree harsha


Critical Section

Objective To go over Critical Sections in an application as well as other kernel API calls that...

Revision #3
Created 2 years ago by Admin
Updated 2 years ago by Preet Kang


Semaphores Family

Binary Semaphore Counting Semaphore Mutex Recursive Mutex

Revision #2
Created 2 years ago by Admin
Updated 2 years ago by Preet Kang


GPIO

Objective To be able to General Purpose Input Output (GPIO), to generate digital output signals ...

Revision #13
Created 2 years ago by Admin
Updated 2 years ago by Khalil Estell


ADC (Analog to Digital Converter)

Objective To learn about the use of ADCs, their different types, their related parameters, and h...

Revision #10
Created 2 years ago by Admin
Updated 2 years ago by Sameer Azer


Pin Selection and Pin Mode

Objective Know how to select a specific functionality of a given LPC17xx pin. Know how to select...

Revision #8
Created 2 years ago by Admin
Updated 2 years ago by Khalil Estell


EventGroups

Event group APIs can be used to monitor a set of tasks. A software watchdog in an embedded system...

Revision #4
Created 2 years ago by Admin
Updated 2 years ago by sree harsha


Watchdogs

Watchdog is a timer which can continuously check if there is any malfunction in the system operat...

Revision #6
Created 2 years ago by Admin
Updated 2 years ago by sree harsha


JTAG

Revision #1
Created 2 years ago by Khalil Estell
Updated 2 years ago by Khalil Estell


External Components

ADC Ultrasonic Proximity Sensor #include “adc0.h” int main(void) { int reading = 0;...

Revision #3
Created 2 years ago by Khalil Estell
Updated 2 years ago by Khalil Estell

z SJ1 Board (Obsolete)
Page is not in a chapter

Block Diagrams

Board Block Diagrams The block diagrams below show the connectivity to various different chips o...

Revision #1
Created 2 years ago by Khalil Estell
Updated 2 years ago by Khalil Estell

z SJ1 Board (Obsolete)
Page is not in a chapter

Adding Additional Source Code

C++ File Adding C++ code is simple. Simply add your *.hpp and *.cpp files and you are good to go...

Revision #1
Created 2 years ago by Khalil Estell
Updated 2 years ago by Khalil Estell

z SJ1 Board (Obsolete)
Page is not in a chapter

Command Line Interface

Add a Terminal Command /* At terminal.cpp, add the following code at the taskEntry() function */...

Revision #2
Created 2 years ago by Khalil Estell
Updated 2 years ago by Khalil Estell

z SJ1 Board (Obsolete)
Page is not in a chapter

FreeRTOS

FreeRTOS void vTaskCode( void * pvParameters ) { /* Grab Parameter */ uint32_t c = (u...

Revision #2
Created 2 years ago by Khalil Estell
Updated 2 years ago by Khalil Estell

z SJ1 Board (Obsolete)
Page is not in a chapter

Debugging a crash

Debugging a Crash When the crash happens, it will print some useful info upon next boot, and it ...

Revision #2
Created 2 years ago by Khalil Estell
Updated 2 years ago by Khalil Estell

z SJ1 Board (Obsolete)
Page is not in a chapter

Services

Timer Services Getting system time using C libraries is an option, but you can also get time dir...

Revision #2
Created 2 years ago by Khalil Estell
Updated 2 years ago by Khalil Estell

z SJ1 Board (Obsolete)
Page is not in a chapter

Basic IO

GPIO  #include "gpio.hpp" #include "utilities.h" int main(void) { /* Use P1.20 as Genera...

Revision #2
Created 2 years ago by Khalil Estell
Updated 2 years ago by Khalil Estell

z SJ1 Board (Obsolete)
Page is not in a chapter
Back to top