+ All Categories
Home > Engineering > Rtos for system integration

Rtos for system integration

Date post: 15-Apr-2017
Category:
Upload: jaideep-dadi
View: 120 times
Download: 4 times
Share this document with a friend
23
WORKSHOP ON RTOS FOR SYSTEM INTEGRATION Submitted by: Name : jayadeepu.dadi
Transcript
Page 1: Rtos for system integration

WORKSHOP ON RTOS FOR SYSTEM INTEGRATION 

Submitted by:Name : jayadeepu.dadi

Page 2: Rtos for system integration

Experiment - 1

Introduction to mbed NXP LPC11U24

• The mbed NXP LPC11U24 Microcontroller in particular is designed for prototyping low cost USB devices, battery powered applications and 32-bit ARM® Cortex™-M0 based designs.

MISO (Master In Slave Out) - The Slave line for sending data to the master,MOSI (Master Out Slave In) - The Master line for sending data to the peripherals,SCK (Serial Clock) - The clock pulses which synchronize data transmission generated by the master

Page 3: Rtos for system integration

• // control busDigitalOut rs(p34);DigitalOut rw(p35);DigitalOut en(p36);

• // busy flagDigitalIn busy(p28);

• // data busBusOut DataPins(p21,p22,p23,p24,p25,p26,p27,p28);

• NXP LPC11U24 MCULow power ARM® Cortex™-M0 Core48MHz, 8KB RAM, 32KB FLASHUSB Device, 2xSPI, I2C , UART, 6xADC, GPIO

• Prototyping form-factor40-pin 0.1" pitch DIP package, 54x26mm5V USB, 4.5-9V supply or 2.4-3.3V batteryBuilt-in USB drag 'n' drop FLASH programmer

• mbed.org Developer WebsiteLightweight Online CompilerHigh level C/C++ SDKCookbook of published libraries and projects

• Running at frequencies of up to 50 MHz - Nested Vectored Interrupt Controller (NVIC) - Non Maskable Interrupt (NMI) - System tick timer

• Memory: - Up to 32 kB on-chip flash program memory.

• Up to 4 kB on-chip EEPROM data memory; byte erasable and byte programmable.

• Up to 10 kB SRAM data memory.• 16 kB boot ROM. ROM-based USB drivers. Flash

updates via USB supported. ROM-based 32-bit integer division routines

• //wait_ms(5);

Page 4: Rtos for system integration

Experiment - 2

Blinking of internal led using lpc11u24

The mbed Microcontrollers are a series of ARM microcontroller development boards designed for rapid prototyping.

Page 5: Rtos for system integration

#include "mbed.h"

DigitalOut myled(LED1);

int main() { while(1) { myled = 1; wait(0.6); myled = 0; wait(0.6); }}

Page 6: Rtos for system integration

Experiment - 3

Counter control using led’s#include "mbed.h"BusOut myleds(LED1,LED2,LED3,LED4);DigitalIn enable(p25);int main() { unsigned char j=0; while(1) { if(enable) { myleds=j; wait(0.2); j++; if(j==15) j=0; } }}

Page 7: Rtos for system integration

Experiment - 4

Lcd interfacing with lpc11u24

Page 8: Rtos for system integration
Page 9: Rtos for system integration
Page 10: Rtos for system integration

Interfacing seven segment display with LPC 11u24

Experiment - 5

Page 11: Rtos for system integration

Common cathode

Page 12: Rtos for system integration
Page 13: Rtos for system integration

Multiple seven segment display

Experiment - 6

Page 14: Rtos for system integration
Page 15: Rtos for system integration

Experiment - 7

ADC interfacing

Page 16: Rtos for system integration
Page 17: Rtos for system integration
Page 18: Rtos for system integration

Introduction to lpc 214x

• LPC2141 microcontroller is based on 32 bit ARM7TDMI-S CPU

• Due to their tiny size and low power consumption, LPC2141/2/4/6/8 are ideal for applications where miniaturization is a key requirement, such as access control and point-of-sale.

• Its applications are mainly on Industrial control, Medical systems, Access control, point of sale, communication gateway, general purpose applications

jaideep dadi
Page 19: Rtos for system integration
Page 20: Rtos for system integration

Introduction to keil and proteussix- bit binary counter control

Page 21: Rtos for system integration

Six bit binary control using proteus software

Page 22: Rtos for system integration

Seven segment using keil software

Page 23: Rtos for system integration

Seven segment display using proteus software


Recommended