PWM ON SAMSUNG's S3C2410X. Building Embedded LINUX SYSTEM Outline SAMSUNG's S3C2410X components CLOCK & POWER MANAGEMENT PWM TIMER I/O PORTS Finally Project.

Slides:



Advertisements
Similar presentations
MICROPROCESSORS AND MICROCONTROLLERS
Advertisements

Lizard Labs Peripheral Reflex System
Khaled A. Al-Utaibi  Computers are Every Where  What is Computer Engineering?  Design Levels  Computer Engineering Fields  What.
嵌入式微處理機 Embedded Processors 國立中興大學 電機工程學系 微控實驗室 蔡智強.
Slide 1 Freescale Semiconductor. Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are.
TigerSHARC and Blackfin Different Applications. Introduction Quick overview of TigerSHARC Quick overview of Blackfin low power processor Case Study: Blackfin.
IO Controller Module Arbitrates IO from the CCP Physically separable from CCP –Can be used as independent data logger or used in future projects. Implemented.
HT46 A/D Type MCU Series Data Memory (Byte) Program Memory HT46R22 (OTP) HT46C22 (Mask) 2Kx Kx16 4Kx HT46R23 (OTP) HT46C23 (Mask) HT46R24.
1 ECE 263 Embedded System Design Lessons 2, 3 68HC12 Hardware Overview, Subsystems, and memory System.
Microcontroller based system design
BLDC MOTOR SPEED CONTROL USING EMBEDDED PROCESSOR
NS Training Hardware. System Controller Module.
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
CS4101 嵌入式系統概論 Freescale Tower System Prof. Chung-Ta King Department of Computer Science National Tsing Hua University, Taiwan ( Materials from
3-1 System peripherals & Bus Structure Memory map of the LPC2300 device is one contiguous 32-bit address range. However, the device itself is made up of.
Todd Moore for the DES CollaborationPS TalkJune 13 th, DES DHE CRATE SYSTEM MANAGEMENT & CONTROL Todd Moore University of Illinois, at Urbana-Champaign.
MSP432™ MCUs Training Part 5: Digital Peripherals
Department of Electronic & Electrical Engineering Embedded system Aims: Introduction to: Hardware. Software Ideas for projects ? Robotics/Control/Sensors.
Handheld Devices (portable but still explicit usage) Laptops Personal Digital Assistants (Palm, PocketPC) TabletPC Smart Phones.
Arduino Josh Villbrandt February 4, Digital Circuits Analog versus digital – What’s the difference? – How to represent an analog signal in a computer?
SC200x Peripherals Broadband Entertainment Division DTV Source Applications July 2001.
System Clocks.
LPC2148 Programming Using BLUEBOARD
16F877A. Timer 0 The Timer0 module timer/counter has the following features: –8-bit timer/counter –Readable and writable –8-bit software programmable.
Samsung ARM S3C4510B Product overview System manager
Microcontroller based system design Asst. Prof. Dr. Alper ŞİŞMAN.
AT91 Embedded Peripherals
Typical Microcontroller Purposes
SC2005 Product Overview DTV Source Applications Broadband Entertainment Division July 2001.
The IT700 PIM only supports up to network layer, all other above layers must be executed by other processor. Therefore in the PLC control network two types.
EGRE 6311 Midsize Microcontrollers and Microprocessors The 8051 is an example of a small inexpensive microcontroller intended for simple applications.
Other Chapters From the text by Valvano: Introduction to Embedded Systems: Interfacing to the Freescale 9S12.
Microprocessor-based Systems
MICROPROCESSOR AND MICRO CONTROLLER
ATtiny23131 A SEMINAR ON AVR MICROCONTROLLER ATtiny2313.
Embedded Network Interface (ENI). What is ENI? Embedded Network Interface Originally called DPO (Digital Product Option) card Printer without network.
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. ID 416C:SH-2A Graphics for Low- to Mid-level Graphics Applications.
Emblinux DC-MOTOR. 利用 tftp 把 host 和 target 連接 Run kernel Run rootfs.
Preface Freescale ARM Corex-M Embedded Programming by Mazidi et al.
THE EMBEDDED SYSTEMDESIGN PROCESS. W HAT IS A PS O C M IXED S IGNAL D EVICE ? P rogrammable S ystem o n C hip PSoC combines: the familiarity of a microcontroller.
Lecture 7: Overview Microprocessors / microcontrollers.
ECE 371 Microprocessor Interfacing
Lecture 4 General-Purpose Input/Output NCHUEE 720A Lab Prof. Jichiang Tsai.
Chapter 12 Some PIC Microcontroller Advances The aims of this chapter are to introduce: To introduce in overview two microcontrollers which show some enhanced.
Timer 1 and 2 operation, PWM Principles. Timer 1 Operation.
SGDRS Software System Design Justin A. King WWU EET Senior project 2013.
Components of a typical full-featured microcontroller.
MICROCONTROLLER INTERFACING WITH STEPPER MOTOR MADE BY: Pruthvirajsinh Jadeja ( ) COLLEGE:DIET BRANCH:EC.
Networked Embedded Systems Pengyu Zhang EE107 Spring 2016 Lecture 8 Serial Buses.
CEng3361/18 CENG 336 INT. TO EMBEDDED SYSTEMS DEVELOPMENT Spring 2007 Recitation 01.
 The LPC2xxx devices currently have two on- chip UARTS.  Except UART1 has additional modem support.
Case Study #1 Microcontroller System. What is a microcontroller? A microcontroller can be considered a self-contained system with a processor, memory.
2D-Graphic Accelerator
AT91SAM: ARM-based controllers
Introduction to Microcontroller Technology
Handheld User Interface Unit for Saliva Analysis Device
Popular Microcontrollers and their Selection by Lachit Dutta
Chapter2 ARM 프로세서를 이용한 SoC설계 구조 이해
Microcontrollers & GPIO
Multi-Media Room Bridge Adapter Design
UNIT – Microcontroller.
NS Training Hardware.
Programming Microcontroller
Programming Microcontroller GPIO – General Purpose Input/Output
Subject Name: Microcontroller Subject Code: 10ES42
Introduction to Microprocessors and Microcontrollers
University of Illinois, at Urbana-Champaign
嵌入式微控制器编程 Embedded Microcontroller Programming
Wireless Embedded Systems
Presentation transcript:

PWM ON SAMSUNG's S3C2410X

Building Embedded LINUX SYSTEM Outline SAMSUNG's S3C2410X components CLOCK & POWER MANAGEMENT PWM TIMER I/O PORTS Finally Project

Building Embedded LINUX SYSTEM SAMSUNG's S3C2410X components(1/4) 1.8V core, 3.3V memory, 3.3V external I/O microprocessor with 16KB I-Cache/16KB D-Cache/MMU External memory controller (SDRAM Control and Chip Select logic) LCD controller (STN and TFT) with 1-ch LCD-dedicated DMA 4-ch DMAs with external request pins 3-ch UART (IrDA1.0, 16-Byte Tx FIFO, and 16-Byte Rx FIFO) / 2-ch SPI

Building Embedded LINUX SYSTEM SAMSUNG's S3C2410X components(2/4) 1-ch multi-master IIC-BUS/1-ch IIS-BUS controller SD Host interface version 1.0 & Multi-Media Card Protocol version 2.11 compatible 2-port USB Host /1- port USB Device (ver 1.1) 4-ch PWM timers & 1-ch internal timer Watch Dog Timer 117-bit general purpose I/O ports / 24-ch external interrupt source Power control: Normal, Slow, Idle and Power-off mode

Building Embedded LINUX SYSTEM SAMSUNG's S3C2410X components(3/4) 8-ch 10-bit ADC and Touch screen interface RTC with calendar function On-chip clock generator with PLL

Building Embedded LINUX SYSTEM SAMSUNG's S3C2410X components(4/4)

Building Embedded LINUX SYSTEM CLOCK & POWER MANAGEMENT(1/3) The Clock control logic in S3C2410X can generate the required clock signals including FCLK for CPU, HCLK for the AHB bus peripherals, and PCLK for the APB bus peripherals. FCLK is used by ARM920T. HCLK is used for AHB bus, which is used by the ARM920T, the memory controller, the interrupt controller, the LCD controller, the DMA and the USB host block.

Building Embedded LINUX SYSTEM CLOCK & POWER MANAGEMENT(2/3) PCLK is used for APB bus, which is used by the peripherals such as WDT, IIS, I2C, PWM timer, MMC interface, ADC, UART, GPIO, RTC and SPI. The power management block controls the system clocks by software for the reduction of power consumption in the S3C2410X. These schemes are related to PLL, clock control logics (FCLK, HCLK, and PCLK) and wakeup signals.

Building Embedded LINUX SYSTEM CLOCK & POWER MANAGEMENT(3/3)

Building Embedded LINUX SYSTEM PWM TIMER(1/4) Five 16-bit timers Timer 0, 1, 2, and 3 have Pulse Width Modulation (PWM) function. Timer 4 has an internal timer only with no output pins. Two 8-bit prescalers & Two 4-bit divider The timer 0 and 1 share an 8-bit prescaler, while the timer 2, 3 and 4 share other 8-bit prescaler. Each timer has a clock divider which 5 different divided signals (1/2, 1/4, 1/8, 1/16, and TCLK ).

Building Embedded LINUX SYSTEM PWM TIMER(2/4) Programmable duty control of output waveform (PWM) Dead-zone generator The dead zone is for the PWM control in a power device.

Building Embedded LINUX SYSTEM PWM TIMER(3/4)

Building Embedded LINUX SYSTEM PWM TIMER(4/4)

Building Embedded LINUX SYSTEM I/O PORTS The S3C2410X has 117 multi-functional input/output port pins. The ports are: Port A (GPA): 23-output port Port B (GPB): 11-input/output port Port C (GPC): 16-input/output port Port D (GPD): 16-input/output port Port E (GPE): 16-input/output port Port F (GPF): 8-input/output port Port G (GPG): 16-input/output port Port H (GPH): 11-input/output port

Building Embedded LINUX SYSTEM Finally Project 撰寫一個驅動程式, 透過 PWM 裝置驅動馬達, 調整馬達 的輸出功率. Embedded system S3C2410 GPIO control line PWM Motor Controller