EIE/ENE 334 Microprocessors

Size: px
Start display at page:

Download "EIE/ENE 334 Microprocessors"

Transcription

1 EIE/ENE 334 Microprocessors Lecture 13: NuMicro NUC140 (cont.) Week #13 : Dejwoot KHAWPARISUTH Adapted from

2 NuMicro NUC140: Technical Ref. Page 2 Week #13 NuMicro NUC130/NUC140 Technical Reference Manual 5 FUNCTIONAL DESCRIPTION 5.1 ARM Cortex -M0 Core 5.2 System Manager 5.3 Clock Controller 5.5 General Purpose I/O (GPIO) 5.6 I2C Serial Interface Controller (Master/Slave) (I2C) 5.7 PWM Generator and Capture Timer (PWM) 5.10 Timer Controller (TMR) 5.11 Watchdog Timer (WDT)

3 NuMicro NUC140: Block Diagram Page 3 Week #13

4 Watchdog Timer (WDT) : Page 4 Week #13 - The purpose of Watchdog Timer is to perform a system reset when system runs into an unknown state - another function -> wake-up chip from power down mode. - The watchdog timer includes an 18-bit free running counter with programmable time-out intervals.

5 WDT : Timing Page 5 Week #13

6 WDT : Block Diagram - User must set WTR (WDTCR [0]) (Watchdog timer reset) high to reset the 18-bit WDT counter to avoid chip from Watchdog timer reset before the delay time expires. WTR bit is cleared automatically by hardware after WDT counter is reset. - WTRF will not be cleared by Watchdog reset. User may poll WTRF by software to recognize the reset source. Page 6 Week #13

7 WDT : WTCR Page 7 Week #13

8 WDT : Program Example Page 8 Week #13

9 Page 9 Week #13 PWM Generator and Capture Timer (PWM) : - 2 groups of PWM supports total 4 sets of PWM Generators which can be configured as 8 independent PWM outputs, PWM0~PWM7, or as 4 complementary PWM pairs, (PWM0, PWM1), (PWM2, PWM3), (PWM4, PWM5) and (PWM6, PWM7) with 4 programmable dead-zone generators - The PWM generators can be configured as one-shot mode to produce only one PWM cycle signal or auto-reload mode to output PWM waveform continuously - PWM Interrupt request synchronized with PWM period

10 PWM : PWM function Page 10 Week #13 - PWM controller is implemented with Dead Zone generator. They are built for power device protection. This function generates a programmable time gap to delay PWM rising output. User can program PPRx.DZI to determine the Dead Zone interval. - When PCR.DZEN01 is set, PWM0 and PWM1 perform complementary PWM paired function; the paired PWM period, duty and dead-time are determined by PWM0 timer and Dead-zone generator 0. Similarly, the complementary PWM pairs of (PWM2, PWM3), (PWM4, PWM5) and (PWM6, PWM7) are controlled by PWM2, PWM4 and PWM6 timers and Dead-zone generator 2, 4 and 6, respectively

11 PWM : Capture Function Page 11 Week #13 - The alternate feature of the PWM-timer is digital input Capture function (PWM output pin is switched as capture input mode) - The Capture0 and PWM0 share one timer which is included in PWM0 and the Capture1 and PWM1 share PWM1 timer, and etc. (Therefore user must setup the PWM-timer before enable Capture feature) - the capture always latched PWM-counter to Capture Rising Latch Register (CRLR) when input channel has a rising transition and latched PWM-counter to Capture Falling Latch Register (CFLR) when input channel has a falling transition - Capture channel 0 interrupt is programmable by setting CCR0.CRL_IE0[1] (Rising latch Interrupt enable) and CCR0.CFL_IE0[2]] (Falling latch Interrupt enable) to decide the condition of interrupt occur. Capture channel 1 has the same feature by setting CCR0.CRL_IE1[17] and CCR0.CFL_IE1[18]. And capture channel 2 to channel 3 on each group have the same feature by setting the corresponding control bits in CCR2. For each group, whenever Capture issues Interrupt 0/1/2/3, the PWM counter 0/1/2/3 will be reload at this moment.

12 PWM : Capture Function Page 12 Week #13 - The maximum captured frequency that PWM can capture is confined by the capture interrupt latency. - When capture interrupt occurred, software will do at least three steps: - Read PIIR to get interrupt source - Read CRLRx/CFLRx(x=0~3) to get capture value - and finally write 1 to clear PIIR to zero. - If interrupt latency will take time T0 to finish, the capture signal mustn t transition during this interval (T0). In this case, the maximum capture frequency will be 1/T0. For example: HCLK = 50 MHz, PWM_CLK = 25 MHz, Interrupt latency is 900 ns So the maximum capture frequency will is 1/900ns 1000 khz

13 PWM : Block Diagram Page 13 Week #13

14 PWM : PWM-Timer Operation Page 14 Week #13 - PWM frequency = PWMxy_CLK/[(prescale+1)*(clock divider)*(cnr+1)]; where xy, could be 01, 23, 45 or 67, depends on selected PWM channel. - Duty ratio = (CMR+1)/(CNR+1) - CMR >= CNR: PWM output is always high - CMR < CNR: PWM low width= (CNR-CMR) unit - PWM high width = (CMR+1) unit - CMR = 0: PWM low width = (CNR) unit; PWM high width = 1 unit Unit = one PWM clock cycle.

15 PWM : PWM-Timer Operation Timing Page 15 Week #13

16 PWM : PWM-Timer Operation Page 16 Week #13 - PWM Timers have double buffering function the reload value is updated at the start of next period without affecting current timer operation. - The PWM counter value can be written into CNRx and current PWM counter value can be read from PDRx. - PWM0 will operate at one-shot mode if CH0MOD bit is set to 0, and operate at auto-reload mode if CH0MOD bit is set to 1. - It is recommend that switch PWM0 operating mode before set CH0EN bit to 1 to enable PWM0 counter start running because the content of CNR0 and CMR0 will be cleared to zero to reset the PWM0 period and duty setting when PWM0 operating mode is changed.

17 PWM : Timer Start Procedure Page 17 Week #13 1. Setup clock source divider select register (CSR) 2. Setup prescaler (PPR) 3. Setup inverter on/off, dead zone generator on/off, auto-reload/one-shot mode and Stop PWM-timer (PCR) 4. Setup comparator register (CMR) for setting PWM duty. 5. Setup PWM down-counter register (CNR) for setting PWM period. 6. Setup interrupt enable register (PIER) (option) 7. Setup corresponding GPIO pins as PWM function (enable POE and disable CAPENR) for the corresponding PWM channel. 8. Enable PWM timer start running (Set CHxEN = 1 in PCR) The value of CNR0 will reload to PWM0 counter when it down count reaches zero. If CNR0 is set to zero, PWM0 counter will be held. PWM1~PWM7 performs the same function as PWM0.

18 PWM : Program Example Page 18 Week #13

19 PWM : Program Example Page 19 Week #13

20 PWM : Program Example Page 20 Week #13 Ch1: GPA13=PWM1 Ch2: GPA14=PWM2

21 Page 21 Week #13 PWM : Re-Start Procedure in Single-shot mode - As PWM0 operate at one-shot mode, CMR0 and CNR0 should be written first and then set CH0EN bit to 1 to enable PWM0 counter start running. After PWM0 counter down count from CNR0 value to zero, CNR0 and CMR0 will be cleared to zero by hardware and PWM counter will be held. Software need to write new CMR0 and CNR0 value to set next one-shot period and duty. When re-start next one-shot operation, the CMR0 should be written first because PWM0 counter will auto restart counting when CNR0 is written an non-zero value. 1. Setup comparator register (CMR) for setting PWM duty. 2. Setup PWM down-counter register (CNR) for setting PWM period. After setup CNR, PWM wave will be generated.

22 PWM : Stop Procedure Page 22 Week #13 Method 1: Set 16-bit down counter (CNR) as 0, and monitor PDR (current value of 16- bit down-counter). When PDR reaches to 0, disable PWM-Timer (CHxEN in PCR). (Recommended) Method 2: Set 16-bit down counter (CNR) as 0. When interrupt request happened, disable PWM-Timer (CHxEN in PCR). (Recommended)

23 PWM : Capture Operation Page 23 Week #13 CNR is 8: 1. The PWM counter will be reloaded with CNRx when a capture interrupt flag (CAPIFx) is set. 2. The channel low pulse width is (CNR CRLR). 3. The channel high pulse width is (CNR CFLR).

24 PWM : Interrupt Architecture Page 24 Week #13

25 PWM : Capture Start Procedure Page 25 Week #13 1. Setup clock source divider select register (CSR) 2. Setup prescaler (PPR) 3. Setup channel enabled, rising/falling interrupt enable and input signal inverter on/off (CCR0, CCR2) 4. Setup auto-reload mode, Edge-aligned type and Stop PWM-timer (PCR) 5. Setup PWM down-counter (CNR) 6. Enable PWM timer start running (Set CHxEN = 1 in PCR) 7. Setup corresponding GPIO pins as capture function (disable POE and enable CAPENR) for the corresponding PWM channel.

26 PWM : Program Example Page 26 Week #13

27 PWM : Program Example Page 27 Week #13

28 PWM : Register Map Page 28 Week #13

29 I 2 C Serial Interface Controller : Page 29 Week #13 - is a two-wire, bi-directional serial bus that provides a simple and efficient method of data exchange between devices(master/slave). - There is one SCL clock pulse for each data bit with the MSB being transmitted first. An acknowledge bit follows each transferred byte. Each bit is sampled during the high period of SCL; therefore, the SDA line may be changed only during the low period of SCL and must be held stable during the high period of SCL.

30 I 2 C : features Page 30 Week #13 - The I2C port handles byte transfers autonomously. - To enable this port, the bit ENS1 in I2CON should be set to '1'. - The I2C H/W interfaces to the I2C bus via two pins: SDA and SCL. - Pull up resistor is needed for I2C operation as these are open drain pins. When the I/O pins are used as I2C port, user must set the pins function to I2C in advance. - Built-in a 14-bit time-out counter will request the I2C interrupt if the I2C bus hangs up and timer-out counter overflows. - Supports 7-bit addressing mode - When I2C port is enabled by setting ENS1 (I2CON [6]) to high, the internal states will be controlled by I2CON and I2C logic hardware. Once a new status code is generated and stored in I2CSTATUS, the I2C Interrupt Flag bit SI (I2CON [3]) will be set automatically. If the Enable Interrupt bit EI (I2CON [7]) is set high at this time, the I2C interrupt will be generated. The bit field I2CSTATUS[7:3] stores the internal state code, the lowest 3 bits of I2CSTATUS are always zero and the content keeps stable until SI is cleared by software. The base address is 4002_0000 and 4012_0000.

31 I 2 C : Protocol Page 31 Week #13 1) START or Repeated START signal generation 2) Slave address and R/W bit transfer 3) Data transfer 4) STOP signal generation

32 I 2 C : Register Map Page 32 Week #13

33 I 2 C : Data Register (I2CDAT) Page 33 Week #13 - contains a byte of serial data to be transmitted or a byte which just has been received. - The CPU can read from or write to this 8-bit (I2CDAT [7:0]) directly while it is not in the process of shifting a byte. when I2C is in a defined state and the serial interrupt flag (SI) is set. Data in I2CDAT [7:0] remains stable as long as SI bit is set.

34 I 2 C : Control Register (I2CON) Page 34 Week #13

35 I 2 C : Status Register (I2CSTATUS) Page 35 Week #13

36 I 2 C : I2C Clock Baud Rate Bits (I2CLK) Page 36 Week #13 - The data baud rate of I2C is determines by I2CLK [7:0] register when I2C is in a master mode. - The data baud rate of I2C setting is Data Baud Rate of I2C = (system clock) / (4x (I2CLK [7:0] +1)). If system clock = 16 MHz, the I2CLK [7:0] = 40 (28H), so data baud rate of I2C = 16 MHz/ (4x (40 +1)) = 97.5 Kbits/sec.

37 Page 37 Week #13 I 2 C : Time-out Counter Register (I2CTOC) - a 14-bit time-out counter which can be used to deal with the I2C bus hang-up. If the time-out counter is enabled, the counter starts up counting until it overflows (TIF=1) and generates I2C interrupt to CPU or stops counting by clearing ENTI to 0.

38 I 2 C : Address Registers (I2CADDR) Page 38 Week #13 - I2C port is equipped with four slave address registers I2CADDRn (n=0~3). - The I2C hardware will react if the contents of I2CADDRn are matched with the received slave address. - The I2C ports support the General Call function. If the GC bit (I2CADDRn [0]) is set the I2C port hardware will respond to General Call address (00H). Clear GC bit to disable general call function. - I2C bus controllers support multiple address recognition with four address mask registers I2CADMn (n=0~3). When the bit in the address mask register is set to one, it means the received corresponding address bit is don t-care. If the bit is set to zero, that means the received corresponding register bit should be exact the same as address register.

39 I 2 C : Program Example Page 39 Week #13

40 I 2 C : Program Example Page 40 Week #13

41 I 2 C : Program Example Page 41 Week #13 Write_24LC64(0x temp,temp+11); // temp = 1

42 I 2 C : Program Example Page 42 Week #13 Write_24LC64(0x temp,temp+11); // temp = 1 DrvI2C_Ctrl(I2C_PORT1, 1, 0, 0, 0);//set start

43 I 2 C : Program Example Page 43 Week #13 Write_24LC64(0x temp,temp+11); // temp = 1 I2C1->I2CDAT = 0xA0; DrvI2C_Ctrl(I2C_PORT1, 0, 0, 1, 0); //clr si flag

44 I 2 C : Program Example Page 44 Week #13 Write_24LC64(0x temp,temp+11); // temp = 1 I2C1->I2CDAT = (address>>8)&0xff; DrvI2C_Ctrl(I2C_PORT1, 0, 0, 1, 1); //clr si and set ack

45 I 2 C : Program Example Page 45 Week #13 Write_24LC64(0x temp,temp+11); // temp = 1 I2C1->I2CDAT = address&0xff; DrvI2C_Ctrl(I2C_PORT1, 0, 0, 1, 1); //clr si and set ack

46 I 2 C : Program Example Page 46 Week #13 Write_24LC64(0x temp,temp+11); // temp = 1 I2C1->I2CDAT = data; DrvI2C_Ctrl(I2C_PORT1, 0, 0, 1, 1); //clr si and set ack

47 I 2 C : Program Example Page 47 Week #13 Write_24LC64(0x temp,temp+11); // temp = 1 DrvI2C_Ctrl(I2C_PORT1, 0, 1, 1, 0); //send stop

48 System Manager : Control Registers Page 48 Week #13

49 Nested Vectored Interrupt Controller: (NVIC) - Nested and Vectored interrupt support - Automatic processor state saving and restoration - Reduced and deterministic interrupt latency - The NVIC prioritizes and handles all supported exceptions. - All exceptions are handled in Handler Mode. - This NVIC architecture supports 32 (IRQ[31:0]) discrete interrupts with 4 levels of priority. - All of the interrupts and most of the system exceptions can be configured to different priority levels. - When an interrupt occurs, the NVIC will compare the priority of the new interrupt to the current running one s priority. If the priority of the new interrupt is higher than the current one, the new interrupt handler will override the current handler. - When any interrupts is accepted, the starting address of the interrupt service routine (ISR) is fetched from a vector table in memory. - While the starting address is fetched, NVIC will also automatically save processor state including the registers PC, PSR, LR, R0~R3, R12 to the stack. At the end of the ISR, the NVIC will restore the mentioned registers from stack and resume the normal execution. Page 49 Week #13

50 NVIC: Exception Model Page 50 Week #13

51 NVIC: System Interrupt Map Page 51 Week #13

52 NVIC: Control Registers Page 52 Week #13

ELCT 912: Advanced Embedded Systems

ELCT 912: Advanced Embedded Systems ELCT 912: Advanced Embedded Systems Lecture 5: PIC Peripherals on Chip Dr. Mohamed Abd El Ghany, Department of Electronics and Electrical Engineering The PIC Family: Peripherals Different PICs have different

More information

I2C Demonstration Board I 2 C-bus Protocol

I2C Demonstration Board I 2 C-bus Protocol I2C 2005-1 Demonstration Board I 2 C-bus Protocol Oct, 2006 I 2 C Introduction I ² C-bus = Inter-Integrated Circuit bus Bus developed by Philips in the early 80s Simple bi-directional 2-wire bus: serial

More information

Hello and welcome to this Renesas Interactive Course that provides an overview of the timers found on RL78 MCUs.

Hello and welcome to this Renesas Interactive Course that provides an overview of the timers found on RL78 MCUs. Hello and welcome to this Renesas Interactive Course that provides an overview of the timers found on RL78 MCUs. 1 The purpose of this course is to provide an introduction to the RL78 timer Architecture.

More information

Unit-6 PROGRAMMABLE INTERRUPT CONTROLLERS 8259A-PROGRAMMABLE INTERRUPT CONTROLLER (PIC) INTRODUCTION

Unit-6 PROGRAMMABLE INTERRUPT CONTROLLERS 8259A-PROGRAMMABLE INTERRUPT CONTROLLER (PIC) INTRODUCTION M i c r o p r o c e s s o r s a n d M i c r o c o n t r o l l e r s P a g e 1 PROGRAMMABLE INTERRUPT CONTROLLERS 8259A-PROGRAMMABLE INTERRUPT CONTROLLER (PIC) INTRODUCTION Microcomputer system design requires

More information

Topics Introduction to Microprocessors

Topics Introduction to Microprocessors Topics 2244 Introduction to Microprocessors Chapter 8253 Programmable Interval Timer/Counter Suree Pumrin,, Ph.D. Interfacing with 886/888 Programming Mode 2244 Introduction to Microprocessors 2 8253/54

More information

Microcontrollers: Lecture 3 Interrupts, Timers. Michele Magno

Microcontrollers: Lecture 3 Interrupts, Timers. Michele Magno Microcontrollers: Lecture 3 Interrupts, Timers Michele Magno 1 Calendar 07.04.2017: Power consumption; Low power States; Buses, Memory, GPIOs 20.04.2017 Serial Communications 21.04.2017 Programming STM32

More information

Course Introduction. Content 20 pages 3 questions. Learning Time 30 minutes

Course Introduction. Content 20 pages 3 questions. Learning Time 30 minutes Purpose The intent of this course is to provide you with information about the main features of the S08 Timer/PWM (TPM) interface module and how to configure and use it in common applications. Objectives

More information

NuMicro NUC029 Series Product Brief

NuMicro NUC029 Series Product Brief NuMicro NUC029 Series Product Brief The information described in this document is the exclusive intellectual property of Nuvoton Technology Corporation and shall not be reproduced without permission from

More information

VORAGO Timer (TIM) subsystem application note

VORAGO Timer (TIM) subsystem application note AN1202 VORAGO Timer (TIM) subsystem application note Feb 24, 2017, Version 1.2 VA10800/VA10820 Abstract This application note reviews the Timer (TIM) subsystem on the VA108xx family of MCUs and provides

More information

Review for Final Exam

Review for Final Exam Review for Final Exam Numbers Decimal to Hex (signed and unsigned) Hex to Decimal (signed and unsigned) Binary to Hex Hex to Binary Addition and subtraction of fixed-length hex numbers Overflow, Carry,

More information

a8259 Features General Description Programmable Interrupt Controller

a8259 Features General Description Programmable Interrupt Controller a8259 Programmable Interrupt Controller July 1997, ver. 1 Data Sheet Features Optimized for FLEX and MAX architectures Offers eight levels of individually maskable interrupts Expandable to 64 interrupts

More information

Microprocessor & Interfacing Lecture Programmable Interval Timer

Microprocessor & Interfacing Lecture Programmable Interval Timer Microprocessor & Interfacing Lecture 30 8254 Programmable Interval Timer P A R U L B A N S A L A S S T P R O F E S S O R E C S D E P A R T M E N T D R O N A C H A R Y A C O L L E G E O F E N G I N E E

More information

The Need. Reliable, repeatable, stable time base. Memory Access. Interval/Event timers ADC DAC

The Need. Reliable, repeatable, stable time base. Memory Access. Interval/Event timers ADC DAC Timers The Need Reliable, repeatable, stable time base Memory Access /Event timers ADC DAC Time Base: Crystal Oscillator Silicon Dioxide forms a piezoelectric crystal that can deform in eclectic field,

More information

EVDP610 IXDP610 Digital PWM Controller IC Evaluation Board

EVDP610 IXDP610 Digital PWM Controller IC Evaluation Board IXDP610 Digital PWM Controller IC Evaluation Board General Description The IXDP610 Digital Pulse Width Modulator (DPWM) is a programmable CMOS LSI device, which accepts digital pulse width data from a

More information

EE 308 Apr. 24, 2002 Review for Final Exam

EE 308 Apr. 24, 2002 Review for Final Exam Review for Final Exam Numbers Decimal to Hex (signed and unsigned) Hex to Decimal (signed and unsigned) Binary to Hex Hex to Binary Addition and subtraction of fixed-length hex numbers Overflow, Carry,

More information

NuMicro Family NUC029 Series Product Brief

NuMicro Family NUC029 Series Product Brief ARM Cortex -M0 32-bit Microcontroller NuMicro Family Series Product Brief The information described in this document is the exclusive intellectual property of Nuvoton Technology Corporation and shall not

More information

Serial Communication AS5132 Rotary Magnetic Position Sensor

Serial Communication AS5132 Rotary Magnetic Position Sensor Serial Communication AS5132 Rotary Magnetic Position Sensor Stephen Dunn 11/13/2015 The AS5132 is a rotary magnetic position sensor capable of measuring the absolute rotational angle of a magnetic field

More information

NuMicro Family M051 DN/DE Series Product Brief

NuMicro Family M051 DN/DE Series Product Brief SERIES PRODUCT BRIEF ARM Cortex -M0 32-bit Microcontroller NuMicro Family Series Product Brief The information described in this document is the exclusive intellectual property of Nuvoton Technology Corporation

More information

IZ602 LCD DRIVER Main features: Table 1 Pad description Pad No Pad Name Function

IZ602 LCD DRIVER Main features: Table 1 Pad description Pad No Pad Name Function LCD DRIVER The IZ602 is universal LCD controller designed to drive LCD with image element up to 128 (32x4). Instruction set makes IZ602 universal and suitable for applications with different types of displays.

More information

I2C Encoder. HW v1.2

I2C Encoder. HW v1.2 I2C Encoder HW v1.2 Revision History Revision Date Author(s) Description 1.0 22.11.17 Simone Initial version 1 Contents 1 Device Overview 3 1.1 Electrical characteristics..........................................

More information

INF8574 GENERAL DESCRIPTION

INF8574 GENERAL DESCRIPTION GENERAL DESCRIPTION The INF8574 is a silicon CMOS circuit. It provides general purpose remote I/O expansion for most microcontroller families via the two-line bidirectional bus (I 2 C). The device consists

More information

STELLARIS ERRATA. Stellaris LM3S8962 RevA2 Errata

STELLARIS ERRATA. Stellaris LM3S8962 RevA2 Errata STELLARIS ERRATA Stellaris LM3S8962 RevA2 Errata This document contains known errata at the time of publication for the Stellaris LM3S8962 microcontroller. The table below summarizes the errata and lists

More information

ZKit-51-RD2, 8051 Development Kit

ZKit-51-RD2, 8051 Development Kit ZKit-51-RD2, 8051 Development Kit User Manual 1.1, June 2011 This work is licensed under the Creative Commons Attribution-Share Alike 2.5 India License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/2.5/in/

More information

PIC Functionality. General I/O Dedicated Interrupt Change State Interrupt Input Capture Output Compare PWM ADC RS232

PIC Functionality. General I/O Dedicated Interrupt Change State Interrupt Input Capture Output Compare PWM ADC RS232 PIC Functionality General I/O Dedicated Interrupt Change State Interrupt Input Capture Output Compare PWM ADC RS232 General I/O Logic Output light LEDs Trigger solenoids Transfer data Logic Input Monitor

More information

General-Purpose OTP MCU with 14 I/O LInes

General-Purpose OTP MCU with 14 I/O LInes General-Purpose OTP MCU with 14 I/O LInes Product Specification PS004602-0401 PRELIMINARY ZiLOG Worldwide Headquarters 910 E. Hamilton Avenue Campbell, CA 95008 Telephone: 408.558.8500 Fax: 408.558.8300

More information

CprE 288 Introduction to Embedded Systems (Output Compare and PWM) Instructors: Dr. Phillip Jones

CprE 288 Introduction to Embedded Systems (Output Compare and PWM) Instructors: Dr. Phillip Jones CprE 288 Introduction to Embedded Systems (Output Compare and PWM) Instructors: Dr. Phillip Jones 1 Announcements HW8: Due Sunday 10/29 (midnight) Exam 2: In class Thursday 11/9 This object detection lab

More information

EEL 4744C: Microprocessor Applications Lecture 8 Timer Dr. Tao Li

EEL 4744C: Microprocessor Applications Lecture 8 Timer Dr. Tao Li EEL 4744C: Microprocessor Applications Lecture 8 Timer Reading Assignment Software and Hardware Engineering (new version): Chapter 14 SHE (old version): Chapter 10 HC12 Data Sheet: Chapters 12, 13, 11,

More information

Reading Assignment. Timer. Introduction. Timer Overview. Programming HC12 Timer. An Overview of HC12 Timer. EEL 4744C: Microprocessor Applications

Reading Assignment. Timer. Introduction. Timer Overview. Programming HC12 Timer. An Overview of HC12 Timer. EEL 4744C: Microprocessor Applications Reading Assignment EEL 4744C: Microprocessor Applications Lecture 8 Timer Software and Hardware Engineering (new version): Chapter 4 SHE (old version): Chapter 0 HC Data Sheet: Chapters,,, 0 Introduction

More information

EEL 4744C: Microprocessor Applications. Lecture 9. Part 2. M68HC12 Serial I/O. Dr. Tao Li 1

EEL 4744C: Microprocessor Applications. Lecture 9. Part 2. M68HC12 Serial I/O. Dr. Tao Li 1 EEL 4744C: Microprocessor Applications Lecture 9 Part 2 M68HC12 Serial I/O Dr. Tao Li 1 Reading Assignment Software and Hardware Engineering (new version): Chapter 15 SHE (old version): Chapter 11 HC12

More information

3-Channel Fun LED Driver

3-Channel Fun LED Driver 3-Channel Fun LED Driver Description is a 3-channel fun LED driver which features two-dimensional auto breathing mode. It has One Shot Programming mode and PWM Control mode for RGB lighting effects. The

More information

Using the Z8 Encore! XP Timer

Using the Z8 Encore! XP Timer Application Note Using the Z8 Encore! XP Timer AN013104-1207 Abstract Zilog s Z8 Encore! XP microcontroller consists of four 16-bit reloadable timers that can be used for timing, event counting or for

More information

Roland Kammerer. 13. October 2010

Roland Kammerer. 13. October 2010 Peripherals Roland Institute of Computer Engineering Vienna University of Technology 13. October 2010 Overview 1. Analog/Digital Converter (ADC) 2. Pulse Width Modulation (PWM) 3. Serial Peripheral Interface

More information

8253 functions ( General overview )

8253 functions ( General overview ) What are these? The Intel 8253 and 8254 are Programmable Interval Timers (PITs), which perform timing and counting functions. They are found in all IBM PC compatibles. 82C54 which is a superset of the

More information

DS1803 Addressable Dual Digital Potentiometer

DS1803 Addressable Dual Digital Potentiometer www.dalsemi.com FEATURES 3V or 5V Power Supplies Ultra-low power consumption Two digitally controlled, 256-position potentiometers 14-Pin TSSOP (173 mil) and 16-Pin SOIC (150 mil) packaging available for

More information

HT1620 HT1621 HT1622 HT16220 HT1623 HT1625 HT1626 HT1627 HT16270 COM

HT1620 HT1621 HT1622 HT16220 HT1623 HT1625 HT1626 HT1627 HT16270 COM RAM Mapping 48 16 LCD Controller for I/O µc LCD Controller Product Line Selection Table HT162X HT1620 HT1621 HT1622 HT16220 HT1623 HT1625 HT1626 HT1627 HT16270 COM 4 4 8 8 8 81 16 16 16 SEG 32 32 32 32

More information

DS4000 Digitally Controlled TCXO

DS4000 Digitally Controlled TCXO DS4000 Digitally Controlled TCXO www.maxim-ic.com GENERAL DESCRIPTION The DS4000 digitally controlled temperature-compensated crystal oscillator (DC-TCXO) features a digital temperature sensor, one fixed-frequency

More information

DS1075 EconOscillator/Divider

DS1075 EconOscillator/Divider EconOscillator/Divider www.dalsemi.com FEATURES Dual Fixed frequency outputs (30 KHz - 100 MHz) User-programmable on-chip dividers (from 1-513) User-programmable on-chip prescaler (1, 2, 4) No external

More information

The ST7588T is a driver & controller LSI for graphic dot-matrix liquid crystal display systems. It contains 132 segment and 80

The ST7588T is a driver & controller LSI for graphic dot-matrix liquid crystal display systems. It contains 132 segment and 80 ST Sitronix ST7588T 81 x 132 Dot Matrix LCD Controller/Driver INTRODUCTION The ST7588T is a driver & controller LSI for graphic dot-matrix liquid crystal display systems. It contains 132 segment and 80

More information

16 Channels LED Driver

16 Channels LED Driver 16 Channels LED Driver Description The SN3216 is a fun light LED controller with an audio modulation mode. It can store data of 8 frames with internal RAM to play small animations automatically. SN3216

More information

DS1075. EconOscillator/Divider PRELIMINARY FEATURES PIN ASSIGNMENT FREQUENCY OPTIONS

DS1075. EconOscillator/Divider PRELIMINARY FEATURES PIN ASSIGNMENT FREQUENCY OPTIONS PRELIMINARY EconOscillator/Divider FEATURES Dual Fixed frequency outputs (200 KHz 100 MHz) User programmable on chip dividers (from 1 513) User programmable on chip prescaler (1, 2, 4) No external components

More information

INSTITUTO SUPERIOR TÉCNICO. Architectures for Embedded Computing

INSTITUTO SUPERIOR TÉCNICO. Architectures for Embedded Computing UNIVERSIDADE TÉCNICA DE LISBOA INSTITUTO SUPERIOR TÉCNICO Departamento de Engenharia Informática Architectures for Embedded Computing MEIC-A, MEIC-T, MERC Lecture Slides Version 3.0 - English Lecture 23

More information

Nuvoton SMBus GPIO Controller W83L603G W83L604G

Nuvoton SMBus GPIO Controller W83L603G W83L604G Nuvoton SMBus GPIO Controller W83L603G W83L604G Revision: 1.1 Date: July, 2008 W83L603G/W83L604G Datasheet Revision History PAGES DATES VERSION WEB VERSION MAIN CONTENTS 1 N.A. Aug./06 1.0 1.0 Initial

More information

Utilizing the Trigger Routing Unit for System Level Synchronization

Utilizing the Trigger Routing Unit for System Level Synchronization Engineer-to-Engineer Note EE-360 Technical notes on using Analog Devices DSPs, processors and development tools Visit our Web resources http://www.analog.com/ee-notes and http://www.analog.com/processors

More information

PCA9564 Parallel bus to I 2 C-bus controller INTEGRATED CIRCUITS Jun 25. Product data sheet Supersedes data of 2003 Apr 02

PCA9564 Parallel bus to I 2 C-bus controller INTEGRATED CIRCUITS Jun 25. Product data sheet Supersedes data of 2003 Apr 02 INTEGRATED CIRCUITS Supersedes data of 2003 Apr 02 2004 Jun 25 Philips Semiconductors FEATURES Parallel-bus to I 2 C-bus protocol converter and interface Both master and slave functions Multi-master capability

More information

DS1073 3V EconOscillator/Divider

DS1073 3V EconOscillator/Divider 3V EconOscillator/Divider wwwmaxim-iccom FEATURES Dual fixed-frequency outputs (30kHz to 100MHz) User-programmable on-chip dividers (from 1 to 513) User-programmable on-chip prescaler (1, 2, 4) No external

More information

JTAG pins do not have internal pull-ups enabled at power-on reset. JTAG INTEST instruction does not work

JTAG pins do not have internal pull-ups enabled at power-on reset. JTAG INTEST instruction does not work STELLARIS ERRATA Stellaris LM3S2110 RevA2 Errata This document contains known errata at the time of publication for the Stellaris LM3S2110 microcontroller. The table below summarizes the errata and lists

More information

20-, 40-, and 60-Bit IO Expander with EEPROM

20-, 40-, and 60-Bit IO Expander with EEPROM 20-, 40-, and 60-Bit IO Expander with EEPROM Features I 2 C interface logic electrically compatible with SMBus Up to 20 (CY8C9520A), 40 (CY8C9540A), or 60 () IO data pins independently configurable as

More information

HT162X HT1620 HT1621 HT1622 HT16220 HT1623 HT1625 HT1626 COM

HT162X HT1620 HT1621 HT1622 HT16220 HT1623 HT1625 HT1626 COM RAM Mapping 328 LCD Controller for I/O MCU PATENTED PAT No. : 099352 Technical Document Application Note Features Operating voltage: 2.7V~5.2V Built-in RC oscillator 1/4 bias, 1/8 duty, frame frequency

More information

Review for Final Exam

Review for Final Exam Review for Final Exam Numbers Decimal to Hex (signed and unsigned) Hex to Decimal (signed and unsigned) Binary to Hex Hex to Binary Addition and subtraction of fixed-length hex numbers Overflow, Carry,

More information

For reference only Refer to the latest documents for details

For reference only Refer to the latest documents for details STM32F3 Technical Training For reference only Refer to the latest documents for details General Purpose Timers (TIM2/3/4/5 - TIM12/13/14 - TIM15/16/17 - TIM6/7/18) TIM2/5 TIM3/4/19 TIM12 TIM15 TIM13/14

More information

MICROCONTROLLER TUTORIAL II TIMERS

MICROCONTROLLER TUTORIAL II TIMERS MICROCONTROLLER TUTORIAL II TIMERS WHAT IS A TIMER? We use timers every day - the simplest one can be found on your wrist A simple clock will time the seconds, minutes and hours elapsed in a given day

More information

HT162X HT1620 HT1621 HT1622 HT16220 HT1623 HT1625 HT1626 COM

HT162X HT1620 HT1621 HT1622 HT16220 HT1623 HT1625 HT1626 COM RAM Mapping 328 LCD Controller for I/O C Features Operating voltage: 2.7V~5.2V Built-in RC oscillator 1/4 bias, 1/8 duty, frame frequency is 64Hz Max. 328 patterns, 8 commons, 32 segments Built-in internal

More information

GUJARAT TECHNOLOGICAL UNIVERSITY

GUJARAT TECHNOLOGICAL UNIVERSITY Type of course: Engineering (Elective) GUJARAT TECHNOLOGICAL UNIVERSITY ELECTRICAL ENGINEERING (09) ADVANCE MICROCONTROLLERS SUBJECT CODE: 260909 B.E. 6 th SEMESTER Prerequisite: Analog and Digital Electronics,

More information

IS31FL CHANNEL FUN LED DRIVER July 2015

IS31FL CHANNEL FUN LED DRIVER July 2015 1-CHANNEL FUN LED DRIVER July 2015 GENERAL DESCRIPTION IS31FL3191 is a 1-channel fun LED driver which has One Shot Programming mode and PWM Control mode for LED lighting effects. The maximum output current

More information

Timer A. Last updated 8/7/18

Timer A. Last updated 8/7/18 Last updated 8/7/18 Advanced Timer Functions Output Compare Sets a flag and/or creates an interrupt when the counter value matches a value programmed into a separate register Input Capture Captures the

More information

Block Diagram , E I F = O 4 ) + J H 6 E E C + E H? K E J +,, H E L A H * E = I + E H? K E J + + % 8,, % 8 +, * * 6 A. H A G K A? O

Block Diagram , E I F = O 4 ) + J H 6 E E C + E H? K E J +,, H E L A H * E = I + E H? K E J + + % 8,, % 8 +, * * 6 A. H A G K A? O PAT No. : 099352 RAM Mapping 488 LCD Controller for I/O MCU Technical Document Application Note Features Operating voltage: 2.7V~5.2V Built-in LCD display RAM Built-in RC oscillator R/W address auto increment

More information

8-bit Microcontroller with 2K Bytes In-System Programmable Flash. ATtiny20

8-bit Microcontroller with 2K Bytes In-System Programmable Flash. ATtiny20 Features High Performance, Low Power AVR 8-bit Microcontroller Advanced RISC Architecture 112 Powerful Instructions Most Single Clock Cycle Execution 16 x 8 General Purpose Working Registers Fully Static

More information

DS1621. Digital Thermometer and Thermostat FEATURES PIN ASSIGNMENT

DS1621. Digital Thermometer and Thermostat FEATURES PIN ASSIGNMENT DS1621 Digital Thermometer and Thermostat FEATURES Temperature measurements require no external components Measures temperatures from 55 C to +125 C in 0.5 C increments. Fahrenheit equivalent is 67 F to

More information

I2C Demonstration Board LED Dimmers and Blinkers PCA9531 and PCA9551

I2C Demonstration Board LED Dimmers and Blinkers PCA9531 and PCA9551 I2C 2005-1 Demonstration Board LED Dimmers and Blinkers PCA9531 and PCA9551 Oct, 2006 Intelligent I 2 C LED Controller RGBA Dimmer/Blinker /4/5 Dimmer PCA9531/2/3/4 1 MHz I²C Bus PCA963X PCA9533 PCA9533

More information

µtasker Document µtasker Hardware Timers

µtasker Document µtasker Hardware Timers Embedding it better... µtasker Document utaskerhwtimers.doc/0.07 Copyright 2016 M.J.Butcher Consulting Table of Contents 1. Introduction...3 2. Timer Control Interface...3 3. Configuring a Single-Shot

More information

DS1807 Addressable Dual Audio Taper Potentiometer

DS1807 Addressable Dual Audio Taper Potentiometer Addressable Dual Audio Taper Potentiometer www.dalsemi.com FEATURES Operates from 3V or 5V Power Supplies Ultra-low power consumption Two digitally controlled, 65-position potentiometers Logarithmic resistor

More information

IN1307N/D/IZ1307 CMOS IC of Real Time Watch with Serial Interface, 56 Х 8 RAM

IN1307N/D/IZ1307 CMOS IC of Real Time Watch with Serial Interface, 56 Х 8 RAM CMOS IC of Real Time Watch with Serial Interface, 56 Х 8 RAM The IN307 is a low power full BCD clock calendar plus 56 bytes of nonvolatile SRAM. Address and data are transferred serially via a 2-wire bi-directional

More information

IS31FL3190 IS31FL CHANNEL FUN LED DRIVER. Preliminary Information November 2015

IS31FL3190 IS31FL CHANNEL FUN LED DRIVER. Preliminary Information November 2015 1-CHANNEL FUN LED DRIVER GENERAL DESCRIPTION IS31FL3190 is a 1-channel fun LED driver which has One Shot Programming mode and PWM Control mode for LED lighting effects. The maximum output current can be

More information

I2C Digital Input RTC with Alarm DS1375. Features

I2C Digital Input RTC with Alarm DS1375. Features Rev 2; 9/08 I2C Digital Input RTC with Alarm General Description The digital real-time clock (RTC) is a low-power clock/calendar that does not require a crystal. The device operates from a digital clock

More information

Microcontroller: Timers, ADC

Microcontroller: Timers, ADC Microcontroller: Timers, ADC Amarjeet Singh February 1, 2013 Logistics Please share the JTAG and USB cables for your assignment Lecture tomorrow by Nipun 2 Revision from last class When servicing an interrupt,

More information

20-, 40-, and 60-Bit I/O Expander with EEPROM

20-, 40-, and 60-Bit I/O Expander with EEPROM 20-, 40-, and 60-Bit I/O Expander with EEPROM Features I 2 C interface logic electrically compatible with SMBus Up to 20 (CY8C9520A), 40 (CY8C9540A), or 60 (CY8C9560A) I/O data pins independently configurable

More information

TKT-3500 Microcontroller systems

TKT-3500 Microcontroller systems TKT-3500 Microcontroller systems Lec 4 Timers and other peripherals, pulse-width modulation Ville Kaseva Department of Computer Systems Tampere University of Technology Fall 2010 Sources Original slides

More information

MSP430 Teaching Materials

MSP430 Teaching Materials MSP430 Teaching Materials Lecture 11 Communications Introduction & USI Module Texas Instruments Incorporated University of Beira Interior (PT) Pedro Dinis Gaspar, António Espírito Santo, Bruno Ribeiro,

More information

DS1307ZN. 64 X 8 Serial Real Time Clock PIN ASSIGNMENT FEATURES

DS1307ZN. 64 X 8 Serial Real Time Clock PIN ASSIGNMENT FEATURES DS1307 64 8 Serial Real Time Clock FEATURES Real time clock counts seconds, minutes, hours, date of the month, month, day of the week, and year with leap year compensation valid up to 2100 56 byte nonvolatile

More information

LM12L Bit + Sign Data Acquisition System with Self-Calibration

LM12L Bit + Sign Data Acquisition System with Self-Calibration LM12L458 12-Bit + Sign Data Acquisition System with Self-Calibration General Description The LM12L458 is a highly integrated 3.3V Data Acquisition System. It combines a fully-differential self-calibrating

More information

Built-in LCD display RAM Built-in RC oscillator

Built-in LCD display RAM Built-in RC oscillator PAT No. : TW 099352 RAM Mapping 488 LCD Controller for I/O MCU Technical Document Application Note Features Operating voltage: 2.7V~5.2V Built-in LCD display RAM Built-in RC oscillator R/W address auto

More information

SC16C550B. 1. General description. 2. Features. 5 V, 3.3 V and 2.5 V UART with 16-byte FIFOs

SC16C550B. 1. General description. 2. Features. 5 V, 3.3 V and 2.5 V UART with 16-byte FIFOs Rev. 05 1 October 2008 Product data sheet 1. General description 2. Features The is a Universal Asynchronous Receiver and Transmitter (UART) used for serial data communications. Its principal function

More information

RayStar Microelectronics Technology Inc. Ver: 1.4

RayStar Microelectronics Technology Inc. Ver: 1.4 Features Description Product Datasheet Using external 32.768kHz quartz crystal Supports I 2 C-Bus's high speed mode (400 khz) The serial real-time clock is a low-power clock/calendar with a programmable

More information

Chapter 6 PROGRAMMING THE TIMERS

Chapter 6 PROGRAMMING THE TIMERS Chapter 6 PROGRAMMING THE TIMERS Force Outputs on Outcompare Input Captures Programmabl e Prescaling Prescaling Internal clock inputs Timer-counter Device Free Running Outcompares Lesson 2 Free Running

More information

R/W address auto increment External Crystal kHz oscillator

R/W address auto increment External Crystal kHz oscillator RAM Mapping 328 LCD Controller for I/O MCU PATENTED PAT No. : 099352 Features Operating voltage: 2.7V~5.2V R/W address auto increment External Crystal 32.768kHz oscillator Two selectable buzzer frequencies

More information

GC221-SO16IP. 8-bit Turbo Microcontroller

GC221-SO16IP. 8-bit Turbo Microcontroller Total Solution of MCU GC221-SO16IP 8-bit Turbo Microcontroller CORERIVER Semiconductor reserves the right to make corrections, modifications, enhancements, improvements, and other changes to its products

More information

Motor Control using NXP s LPC2900

Motor Control using NXP s LPC2900 Motor Control using NXP s LPC2900 Agenda LPC2900 Overview and Development tools Control of BLDC Motors using the LPC2900 CPU Load of BLDCM and PMSM Enhancing performance LPC2900 Demo BLDC motor 2 LPC2900

More information

Z86C04/C08 1 CMOS 8-BIT LOW-COST 1K/2K-ROM MICROCONTROLLERS

Z86C04/C08 1 CMOS 8-BIT LOW-COST 1K/2K-ROM MICROCONTROLLERS PRELIMINARY PRODUCT SPECIFICATION Z86C04/C08 CMOS 8-BIT LOW-COST K/2K-ROM MICROCONTROLLERS FEATURES Part Number Z86C04 Z86C08 ROM (KB) 2 RAM* (Bytes) 25 25 Note: * General-Purpose Speed (MHz) 2 2 Auto

More information

EE445L Fall 2014 Quiz 2A Page 1 of 5

EE445L Fall 2014 Quiz 2A Page 1 of 5 EE445L Fall 2014 Quiz 2A Page 1 of 5 Jonathan W. Valvano First: Last: November 21, 2014, 10:00-10:50am. Open book, open notes, calculator (no laptops, phones, devices with screens larger than a TI-89 calculator,

More information

8-bit Microcontroller with 512/1024 Bytes In-System Programmable Flash. ATtiny4/5/9/10

8-bit Microcontroller with 512/1024 Bytes In-System Programmable Flash. ATtiny4/5/9/10 Features High Performance, Low Power AVR 8-Bit Microcontroller Advanced RISC Architecture 54 Powerful Instructions Most Single Clock Cycle Execution 16 x 8 General Purpose Working Registers Fully Static

More information

High Resolution Pulse Generation

High Resolution Pulse Generation High Resolution Pulse Generation An Application Note for the NS9360 Processor www.digi.com 90001138 2009 Digi International Inc. All Rights Reserved. Digi, Digi International, and the Digi logo are trademarks

More information

INTEGRATED CIRCUITS. Control signals. 8 bits

INTEGRATED CIRCUITS. Control signals. 8 bits INTEGRATED CIRCUITS µ Controller, µ Processor, DSP or ASIC Control signals 8 bits PCA9564 SDA SCL Abstract Philips Semiconductors family of bus controllers are detailed in this application note. PCA9564

More information

PATENTED. PAT No. : HT1622/HT1622G RAM Mapping 32 8 LCD Controller for I/O MCU. Features. General Description.

PATENTED. PAT No. : HT1622/HT1622G RAM Mapping 32 8 LCD Controller for I/O MCU. Features. General Description. RAM Mapping 328 LCD Controller for I/O MCU PATENTED PAT No. : 099352 Features Operating voltage: 2.7V~5.2V Built-in RC oscillator 1/4 bias, 1/8 duty, frame frequency is 64Hz Max. 328 patterns, 8 commons,

More information

DS1307ZN. 64 X 8 Serial Real Time Clock

DS1307ZN. 64 X 8 Serial Real Time Clock 64 X 8 Serial Real Time Clock www.dalsemi.com FEATURES Real time clock counts seconds, minutes, hours, date of the month, month, day of the week, and year with leap year compensation valid up to 2100 56

More information

NuMicro M051 Series M058/M0516 Data Sheet

NuMicro M051 Series M058/M0516 Data Sheet ARM Cortex -M0 32-BIT MICROCONTROLLER NuMicro M051 Series M058/M0516 Data Sheet - 1 - Revision V2.00 TABLE OF CONTENTS 1 GENERAL DESCRIPTION 6 2 FEATURES 7 3 BLOCK DIAGRAM 11 4 SELECTION TABLE 12 5 PIN

More information

READ THIS FIRST: *One physical piece of 8.5x11 paper (you may use both sides). Notes must be handwritten.

READ THIS FIRST: *One physical piece of 8.5x11 paper (you may use both sides). Notes must be handwritten. READ THIS FIRST: We recommend first trying this assignment in a single sitting. The midterm exam time period is 80 minutes long. Find a quiet place, grab your cheat sheet* and a pencil, and set a timer.

More information

EE445L Fall 2014 Quiz 2B Page 1 of 5

EE445L Fall 2014 Quiz 2B Page 1 of 5 EE445L Fall 2014 Quiz 2B Page 1 of 5 Jonathan W. Valvano First: Last: November 21, 2014, 10:00-10:50am. Open book, open notes, calculator (no laptops, phones, devices with screens larger than a TI-89 calculator,

More information

Fixed-function (FF) implementation for PSoC 3 and PSoC 5 devices

Fixed-function (FF) implementation for PSoC 3 and PSoC 5 devices 2.40 Features 8- or 16-bit resolution Multiple pulse width output modes Configurable trigger Configurable capture Configurable hardware/software enable Configurable dead band Multiple configurable kill

More information

16-Port I/O Expander with LED Intensity Control, Interrupt, and Hot-Insertion Protection

16-Port I/O Expander with LED Intensity Control, Interrupt, and Hot-Insertion Protection 19-3059; Rev 5; 6/11 EVALUATION KIT AVAILABLE 16-Port I/O Expander with LED Intensity General Description The I 2 C-compatible serial interfaced peripheral provides microprocessors with 16 I/O ports. Each

More information

AN2424 Application note

AN2424 Application note Application note STMPE2401 - Port expander PWM controller Introduction STMPE2401 is the first in the family of ST port-expander logic products. The principle of a basic expander logic is to provide additional

More information

DS1065 EconOscillator/Divider

DS1065 EconOscillator/Divider wwwdalsemicom FEATURES 30 khz to 100 MHz output frequencies User-programmable on-chip dividers (from 1-513) User-programmable on-chip prescaler (1, 2, 4) No external components 05% initial tolerance 3%

More information

RL78 Motor Control. YRMCKITRL78G14 Starter Kit. Renesas Electronics Europe. David Parsons Application Engineering Industrial Business Group.

RL78 Motor Control. YRMCKITRL78G14 Starter Kit. Renesas Electronics Europe. David Parsons Application Engineering Industrial Business Group. RL78 Motor Control YRMCKITRL78G14 Starter Kit Renesas Electronics Europe David Parsons Application Engineering Industrial Business Group July 2012 Renesas MCU for 3-phase Motor Control Control Method Brushless

More information

Lecture 12 Timer Functions

Lecture 12 Timer Functions CPE 390: Microprocessor Systems Spring 2018 Lecture 12 Timer Functions Bryan Ackland Department of Electrical and Computer Engineering Stevens Institute of Technology Hoboken, NJ 07030 Adapted from HCS12/9S12

More information

LM4: The timer unit of the MC9S12DP256B/C

LM4: The timer unit of the MC9S12DP256B/C Objectives - To explore the Enhanced Capture Timer unit (ECT) of the MC9S12DP256B/C - To program a real-time clock signal with a fixed period and display it using the onboard LEDs (flashing light) - To

More information

TC35894FG Mobile Peripheral Devices

TC35894FG Mobile Peripheral Devices CMOS Digital Integrated Circuit Silicon Monolithic TC35894FG Mobile Peripheral Devices Overview The TC35894FG is IO Expander LSI which has I 2 C bus slave for host interface, PWM/Timer control, GPIO control,

More information

SC28L General description. 3.3 V, 5 V UART, Mbit/s, with 256-byte FIFO

SC28L General description. 3.3 V, 5 V UART, Mbit/s, with 256-byte FIFO Rev. 01 31 October 2005 Product data sheet 1. General description The is a high performance UART. Its functional and programming features closely match but greatly extend those of previous Philips UARTs.

More information

OBSOLETE. Bus Compatible Digital PWM Controller, IXDP 610 IXDP 610

OBSOLETE. Bus Compatible Digital PWM Controller, IXDP 610 IXDP 610 Bus Compatible Digital PWM Controller, IXDP 610 Description The IXDP610 Digital Pulse Width Modulator (DPWM) is a programmable CMOS LSI device which accepts digital pulse width data from a microprocessor

More information

DALI slave, one to four channels PWM and I2C output

DALI slave, one to four channels PWM and I2C output DALI slave, one to four channels PWM and I2C output 1. Features DALI to PWM and I2C controller Pin selectable 1 to 4 channels Access to raw arc power values via I2C Access to mapped brightness values via

More information

Fixed-function (FF) implementation for PSoC 3 and PSoC 5LP devices

Fixed-function (FF) implementation for PSoC 3 and PSoC 5LP devices 3.30 Features 8- or 16-bit resolution Multiple pulse width output modes Configurable trigger Configurable capture Configurable hardware/software enable Configurable dead band Multiple configurable kill

More information

PCA bit I 2 C LED driver with programmable blink rates INTEGRATED CIRCUITS May 05. Product data Supersedes data of 2003 Feb 20

PCA bit I 2 C LED driver with programmable blink rates INTEGRATED CIRCUITS May 05. Product data Supersedes data of 2003 Feb 20 INTEGRATED CIRCUITS 8-bit I 2 C LED driver with programmable blink rates Supersedes data of 2003 Feb 20 2003 May 05 Philips Semiconductors 8-bit I 2 C LED driver with programmable blink rates FEATURES

More information