Presentation is loading. Please wait.

Presentation is loading. Please wait.

© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose  This course provides an introduction to the peripheral functions.

Similar presentations


Presentation on theme: "© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose  This course provides an introduction to the peripheral functions."— Presentation transcript:

1 © 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose  This course provides an introduction to the peripheral functions built into R8C/2x Series microcontrollers (MCUs). Objectives  Learn about Serial I/O functions, programmable I/O ports, A/D and D/A converters, LIN Bus  Understand basic clock configurations and low-power modes  Discover facts about flash memory Content  22 pages  (x) questions Learning Time  25 minutes

2 © 2008, Renesas Technology America, Inc., All Rights Reserved 2 Serial I/O Function Multiple channels: UART0 and UART1 and UART2 Feature fully independent operation UART0-2: Two modes  Clock Asynchronous serial I/O mode (UART mode)  Clock Synchronous serial I/O mode SSU Function also available on some R8C devices.  Provides either full I2C or SPI functionality

3 © 2008, Renesas Technology America, Inc., All Rights Reserved 3 Serial I/O Function – Synchronous Connection

4 © 2008, Renesas Technology America, Inc., All Rights Reserved 4 Serial I/O – UARTx Synchronous Operation

5 © 2008, Renesas Technology America, Inc., All Rights Reserved 5 Serial I/O Function – UARTx Asynchronous Data Rates

6 © 2008, Renesas Technology America, Inc., All Rights Reserved 6 Serial I/O – UARTx Asynchronous Operation

7 © 2008, Renesas Technology America, Inc., All Rights Reserved 7 Serial I/O Function – SSU Unit, Clock Synchronous Serial I/O Function

8 © 2008, Renesas Technology America, Inc., All Rights Reserved 8 Serial I/O Function – SSU Unit, I2C Function

9 © 2008, Renesas Technology America, Inc., All Rights Reserved 9 Programmable I/O Ports 71 I/O ports: P0, P1, P3, P5, P6, P7, P8 & P9  Input or Output Each pin also is a peripheral- function  Drive circuits vary  Set by Direction register Programmable internal pull-up resistors  Eliminates external pull-up resistors Direct LED drive capability  8 P2 lines sink 40mA (max ‘High Drive’) Schmitt-trigger circuit on inputs  Ensures good rise time into MCU  Not included on lines that are an analog input function

10 © 2008, Renesas Technology America, Inc., All Rights Reserved 10 A/D Converter Successive-approximation type 12 channels 8-bit/10-bit selectable One-shot mode One conversion performed Software start Interrupt can be generated at conversion end Repeat channel mode Start/Stop by setting conversion start bit No interrupt request generates at conversion complete Sweep channel mode Multiple channel groups available Software start Interrupt can be generated at conversion end Built-in Sample & Hold

11 © 2008, Renesas Technology America, Inc., All Rights Reserved 11 D/A Converter

12 © 2008, Renesas Technology America, Inc., All Rights Reserved 12 Hardware LIN

13 © 2008, Renesas Technology America, Inc., All Rights Reserved 13 Clock Circuit BCLK is CPU Clock

14 © 2008, Renesas Technology America, Inc., All Rights Reserved 14 Clock Circuit On-chip oscillators Sub-clock Main clock

15 © 2008, Renesas Technology America, Inc., All Rights Reserved 15 Clock Circuit

16 © 2008, Renesas Technology America, Inc., All Rights Reserved 16 Clock Circuit WAIT mode STOP mode

17 © 2008, Renesas Technology America, Inc., All Rights Reserved 17 Clock Circuit – State Transitions

18 © 2008, Renesas Technology America, Inc., All Rights Reserved 18 Flash Technology Single-power-supply program and erase In-system programmable-even at low voltage Built-in flash sequences  Reduces program overhead  Controlled by software commands Two programming modes  Standard serial I/O  CPU rewrite Byte programmable Block Erasure Serial ID code protection and parallel programmer block security implemented

19 © 2008, Renesas Technology America, Inc., All Rights Reserved 19 Flash Memory Map

20 © 2008, Renesas Technology America, Inc., All Rights Reserved 20 CPU Rewrite Mode

21 © 2008, Renesas Technology America, Inc., All Rights Reserved 21 Flash Security Flash memory ID Code protection  Unless the ID code sent by the external serial programmer matches the one the user has programmed into the R8C MCU’s on-chip flash, erase/write operations cannot occur.

22 © 2008, Renesas Technology America, Inc., All Rights Reserved 22 Course Completion Serial I/O function Programmable I/O ports A/D converter Clock circuit On-chip flash memory


Download ppt "© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose  This course provides an introduction to the peripheral functions."

Similar presentations


Ads by Google