You are not logged in

Log in into our community

Log in so you acess some hidden content

* Fields are required.

Register into our community!

Sign up now for some good content

* Fields are required.

Lost something?

Enter your username or email to reset your password.

* Fields are required.


FREE RTOS idle task

Posted on : Wed , 08 2014 by : virusi


Theory on FREE RTOS idle task : The processor always needs something to execute – there must always be at least one task that can enter the Running state. To ensure this is the case an idle task is automatically created by the scheduler when vTaskStartScheduler() is called. The idle task has the lowest possible priority (priority 0) to ens...

FREE RTOS task states

Posted on : Wed , 07 2014 by : virusi


Theory on FREE RTOS task states : Today let’s take a look at all of the states in which a task can be. Fig.1 task states. As you can the task can be in 2 super states (running and ready). In the running state the task is active and running but in the blocking state the task is waiting to go into the running state. Only one task c...

FREE RTOS install

Posted on : Wed , 07 2014 by : virusi


Theory on FREE RTOS : Today the response to the input data should be as fast as possible but because the data that should be processed is to big the program should be organized in such a manger that the processing of the big data should be done slower but the acquisition of the input data should be done faster and RTOS dose solve this proble...

Repetitive Interrupt Timer (RIT)

Posted on : Sat , 03 2014 by : virusi


THEORY ON RIT : The Repetitive Interrupt Timer provides a versatile means of generating interrupts at specified time intervals, without using a standard timer. It is intended for repeating interrupts that aren’t related to Operating System interrupts. However, it could be used as an alternative to the Cortex-M3 System Tick Timer. Repeti...

System Tick Timer

Posted on : Sat , 03 2014 by : virusi


Theory on System Tick Timer : The System Tick Timer is an integral part of the Cortex-M3. The System Tick Timer is intended to generate a fixed 10 millisecond interrupt for use by an operating system or other system management software. The System Tick Timer is a 24-bit timer that counts down to zero and generates an interrupt. The intent...


Posted on : Sun , 02 2014 by : virusi


LPC1768 Joystick Application : In this tutorial will take a look how we can work with a joystick using NXP LPC1768 microcontroller. Fig.1 Joystick Application Ok so let’s take a look at the program. AT INITIALIZATION : 1. Initialize system clock /* initialize clocks */ SystemInit(); 2. Configure PIN’s where joys...

Build Process

Posted on : Sun , 07 2015 by : virusi


THEORY ON BUILD PROCESS : Fig.1 Build Process. The process of converting the source code representation of your embedded software into an executable binary image involves three distinct steps. First, each of the source files must be compiled or assembled into an object file. Second, all of the object files that result from the firs...


Posted on : Sat , 11 2014 by : virusi


Theory on Bootloader : What is a boot-loader ? A boot-loader is an application whose primary purpose is to allow a systems software to be updated without the use of specialized hardware such as a JTAG programmer. The boot-loader allows a company to launch their product with software that only fulfills a portion of their final feature set ...


Posted on : Sun , 09 2014 by : virusi


THEORY ON SIMULATORS AND DEBUGGER: Debugger : A debugger or debugging tool is a computer program that is used to test and debug other programs (the "target" program). The code to be examined might alternatively be running on an instruction set simulator (ISS), a technique that allows great power in its ability to halt when specific condit...

Program Counter

Posted on : Sun , 09 2014 by : virusi


Theory on program counter : The program counter (PC), commonly called the instruction pointer (IP) and sometimes called the instruction address register is a processor register that indicates where a computer is in its program sequence. In most processors, the PC is incremented after fetching an instruction, and holds the memory address of ...

Startup Code

Posted on : Sun , 08 2014 by : virusi


Theory on Startup Code : Startup code is a small block of assembly language code that prepares the way for the execution of software written in a high-level language. Each high-level language has its own set of expectations about the runtime environment. For example, C both utilize an implicit stack. Space for the stack has to be allocated and ...

Watchdog Timer

Posted on : Sun , 03 2014 by : virusi


THEORY ON WATCHDOG TIMER : A watchdog timer (WDT; sometimes called a computer operating properly or COP timer, or simply a watchdog) is an electronic timer that is used to detect and recover from computer malfunctions. During normal operation, the computer regularly restarts the watchdog timer to prevent it from elapsing, or "timing out". If...

MCU Clock

Posted on : Fri , 02 2014 by : virusi


THEORY ON MCU CLOCK : Clock is the heart of the microcontroller. It is impossible for the microcontroller to function without the clock. Depending on the Clock frequency that can be applied to the microcontroller depends how many instruction can be executed in a timeframe. So let’s take a look at different clock sources that can be applied ...

Digital to Analog Convertor

Posted on : Wed , 02 2014 by : virusi


Theory on digital to analog convertor : Digital to analog convertor or abbreviated DAC are the opposite of the Digital to Analog convertor. The same as ADC, one of the most important features is the resolution, this is how accurate DAC will output the voltage from the DAC register. Most used DAC’s are be 8 bit , 10 bit and 12bit. Let’s t...

Analog To Digital Convertor

Posted on : Sun , 02 2014 by : virusi


THEORY ON ANALOG TO DIGITAL CONVERTOR : As you know from the GPIO tutorial some pin can have two or three functions and one of that function is the conversion from Analog Voltage to Digital Voltage and this is very important because microcontrollers are digital devices, they can only differentiate between HIGH (VDD) or LOW (GND) levels on inp...

General Port Input Output

Posted on : Sun , 02 2014 by : virusi


Theory on GPIO : One of the most important features of the microcontroller are the input/output pins used for connection with peripherals. Depending on the price of the microcontroller the number of inputs/output pins can vary from microcontroller to microcontroller. Not all IO pins are bidirectional if you want to know if a specific pin is...

uVision Configuration

Posted on : Sun , 02 2014 by : virusi


uVision Configuration : In our projects we are uVision to compile and build our soft and we have decided to make a tutorial on how to create and compile a new project using uVision. Let’s begin. 1. We need to create our skeleton of our project. Create our core folder where everything will be kept (In our case it is project). After t...

Back to Top