Electronic Components Datasheet Search
  English  ▼

X  

R5F3640MNFB Datasheet(PDF) 227 Page - Renesas Technology Corp

Part # R5F3640MNFB
Description  RENESAS MCU M16C FAMILY / M16C/60 SERIES
PDF  398 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  RENESAS [Renesas Technology Corp]
Direct Link  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

R5F3640MNFB Datasheet(HTML) 227 Page - Renesas Technology Corp

Back Button R5F3640MNFB Datasheet HTML 223Page - Renesas Technology Corp R5F3640MNFB Datasheet HTML 224Page - Renesas Technology Corp R5F3640MNFB Datasheet HTML 225Page - Renesas Technology Corp R5F3640MNFB Datasheet HTML 226Page - Renesas Technology Corp R5F3640MNFB Datasheet HTML 227Page - Renesas Technology Corp R5F3640MNFB Datasheet HTML 228Page - Renesas Technology Corp R5F3640MNFB Datasheet HTML 229Page - Renesas Technology Corp R5F3640MNFB Datasheet HTML 230Page - Renesas Technology Corp R5F3640MNFB Datasheet HTML 231Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 227 / 398 page
background image
REJ09B0392-0064 Rev.0.64
Oct 12, 2007
Page 206 of 373
Under development
Preliminary Specification
Specification in this preliminary version is subject to change.
M16C/64 Group
17. Serial Interface
i = 0 to 2, 5 to 7
NOTES:
1. If the source or factor of any interrupt is changed, the IR bit in the interrupt control register for the changed
interrupt may inadvertently be set to 1 (interrupt requested). (Refer to 24.7 “Interrupt”)
If one of the bits shown below is changed, the interrupt source, the interrupt timing, etc. change. Therefore,
always be sure to clear the IR bit to 0 (interrupt not requested) after changing those bits.
Bits SMD2 to SMD0 in the UiMR register, the IICM bit in the UiSMR register, the IICM2 bit in the UiSMR
register, and the CKPH bit in the UiSMR3 register
2. Set the initial value of SDAi output while bits SMD2 to SMD0 in the UiMR register = 000b (serial interface
disabled).
3. Second data transfer to the UiRB register (rising edge of SCLi 9th bit)
4. First data transfer to the UiRB register (falling edge of SCLi 9th bit)
5. See Figure 17.27 “STSPSEL Bit Functions”.
6. See Figure 17.25 “Transfer to UiRB Register and Interrupt Timing”.
7. When using UART0, be sure to set the IFSR26 bit in the IFSR2A register to 1 (factor of interrupt: UART0 bus
collision).
When using UART1, be sure to set the IFSR27 bit in the IFSR2A register to 1 (factor of interrupt: UART1 bus
collision).
Table 17.13
I2C Mode Functions
Function
Clock Synchronous Serial
I/O Mode (SMD2 to SMD0
= 001b, IICM = 0
)
I2C Mode (SMD2 to SMD0 = 010b, IICM = 1)
IICM2 = 0
(NACK/ACK interrupt)
IICM2 = 1
(UART transmit / receive interrupt)
CKPH = 0
(No clock delay)
CKPH = 1
(Clock delay)
CKPH = 0
(No clock delay)
CKPH = 1
(Clock delay)
Factor of Interrupt Number
5, 6, 7, 10, 27, and 28 (1, 5,
7))
-
Start condition detection or stop condition detection
(See Table 17.14 “STSPSEL Bit Functions”)
Factor of Interrupt Number
15, 17, 19, 21, 23, and 24 (1,
6)
UARTi transmission
Transmission started or
completed (selected by
UiIRS)
No acknowledgment
detection (NACK)
Rising edge of SCLi 9th bit
UARTi transmission
Rising edge of SCLi
9th bit
UARTi transmission
Falling edge of SCLi
next to the 9th bit
Factor of Interrupt Number
16, 18, 20, 22, 25, and 26 (1,
6)
UARTi reception
When 8th bit received
CKPOL = 0 (rising edge)
CKPOL = 1 (falling edge)
Acknowledgment detection (ACK)
Rising edge of SCLi 9th bit
UARTi reception
Falling edge of SCLi 9th bit
Timing for Transferring Data
from the UART Reception
Shift Register to the UiRB
Register
CKPOL = 0 (rising edge)
CKPOL = 1 (falling edge)
Rising edge of SCLi 9th bit
Falling edge of SCLi
9th bit
Falling and rising
edges of SCLi 9th bit
UARTi Transmission Out-
put Delay
Not delayed
Delayed
Functions of TXDi / SDAi
TXDi output
SDAi input / output
Functions of RXDi / SCLi
RXDi input
SCLi input / output
Functions of CLKi
CLKi input or output port
selected
− (Cannot be used in I2C mode)
Noise Filter Width
15ns
200ns
Read RXDi and SCLi Pin
Levels
Possible when the corre-
sponding port direction
bit = 0
Always possible no matter how the corresponding port direction bit is set
Initial Value of TXDi and
SDAi Outputs
CKPOL = 0 (“H”)
CKPOL = 1 (“L”)
The value set in the port register before setting I2C mode (2)
Initial and End Values of
SCLi
-
“H”
“L”
“H”
“L”
DMA1 Factor (6)
UARTi reception
Acknowledgment detection (ACK)
UARTi reception
Falling edge of SCLi 9th bit
Store Received Data
1st to 8th bits of the
received data are stored
into bits 0 to 7 in the
UiRB register
1st to 8th bits of the received data are
stored into bits 7 to 0 in the UiRB register
1st to 7th bits of the received data are stored
into bits 6 to 0 in the UiRB register. 8th bit is
stored into bit 8 in the UiRB register
1st to 8th bits are
stored into bits 7 to 0
in the UiRB register (3)
Read Received Data
The UiRB register status is read
Bits 6 to 0 in the UiRB
register are read as
bits 7 to 1. Bit 8 in the
UiRB register is read
as bit 0 (4)



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com