Electronic Components Datasheet Search
  English  ▼

X  

R5F3640MNFB Datasheet(PDF) 231 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) 231 Page - Renesas Technology Corp

Back Button 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 R5F3640MNFB Datasheet HTML 232Page - Renesas Technology Corp R5F3640MNFB Datasheet HTML 233Page - Renesas Technology Corp R5F3640MNFB Datasheet HTML 234Page - Renesas Technology Corp R5F3640MNFB Datasheet HTML 235Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 231 / 398 page
background image
REJ09B0392-0064 Rev.0.64
Oct 12, 2007
Page 210 of 373
Under development
Preliminary Specification
Specification in this preliminary version is subject to change.
M16C/64 Group
17. Serial Interface
17.1.3.4
Transfer Clock
The transfer clock is used to transmit and receive data as is shown in Figure 17.25 Transfer to UiRB
Register and Interrupt Timing.
The CSC bit in the UiSMR2 register is used to synchronize the internally generated clock (internal
SCLi) and an external clock supplied to the SCLi pin. In cases when the CSC bit is set to 1 (clock
synchronization enabled), if a falling edge on the SCLi pin is detected while the internal SCLi is high,
the internal SCLi goes low, at which time the value of the UiBRG register is reloaded with and starts
counting in the low-level interval. If the internal SCLi changes state from low to high while the SCLi
pin is low, counting stops, and when the SCLi pin goes high, counting restarts.
In this way, the UARTi transfer clock is equivalent to AND of the internal SCLi and the clock signal
applied to the SCLi pin. The transfer clock works between a half cycle before the falling edge of the
internal SCLi 1st bit and the rising edge of the 9th bit. To use this function, select an internal clock for
the transfer clock.
The SWC bit in the UiSMR2 register determines whether the SCLi pin is fixed to be or freed from low-
level output at the falling edge of the 9th clock pulse.
If the SCLHI bit in the UiSMR4 register is set to 1 (enabled), SCLi output is turned off (placed in the
high-impedance state) when a stop condition is detected.
Setting the SWC2 bit in the UiSMR2 register = 1 (0 output) makes it possible to forcibly output a low-
level signal from the SCLi pin even while sending or receiving data. Clearing the SWC2 bit to 0
(transfer clock) allows the transfer clock to be output from or supplied to the SCLi pin, instead of out-
putting a low-level signal.
If the SWC9 bit in the UiSMR4 register is set to 1 (SCL hold low enabled) when the CKPH bit in the
UiSMR3 register = 1, the SCLi pin is fixed to low-level output at the falling edge of the clock pulse
next to the 9th. Setting the SWC9 bit = 0 (SCL hold low disabled) frees the SCLi pin from low-level
output.
17.1.3.5
SDA Output
The data written to bits 7 to 0 (D7 to D0) in the UiTB register is output in descending order from D7.
The 9th bit (D8) is ACK or NACK.
Set the initial value of SDAi transmit output when IICM = 1 (I2C mode) and bits SMD2 to SMD0 in the
UiMR register = 000b (serial interface disabled).
Bits DL2 to DL0 in the UiSMR3 register allow to add no delays or a delay of 2 to 8 UiBRG count
source clock cycles to SDAi output.
Setting the SDHI bit in the UiSMR2 register = 1 (SDA output disabled) forcibly places the SDAi pin in
the high-impedance state. Do not write to the SDHI bit at the rising edge of the UARTi transfer clock.
This is because the ABT bit may inadvertently be set to 1 (detected).
17.1.3.6
SDA Input
When the IICM2 bit = 0, the 1st to 8th bits (D7 to D0) of received data are stored in bits 7 to 0 in the
UiRB register. The 9th bit (D8) is ACK or NACK.
When the IICM2 bit = 1, the 1st to 7th bits (D7 to D1) of received data are stored in bits 6 to 0 in the
UiRB register and the 8th bit (D0) is stored in bit 8 in the UiRB register. Even when the IICM2 bit = 1,
providing the CKPH bit = 1, the same data as when the IICM2 bit = 0 can be read. To read the data,
read the UiRB register after the rising edge of 9th bit of the corresponding clock pulse.



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