ML610Q408-NNNTBZ03A7 Rohm Semiconductor, ML610Q408-NNNTBZ03A7 Datasheet - Page 141

no-image

ML610Q408-NNNTBZ03A7

Manufacturer Part Number
ML610Q408-NNNTBZ03A7
Description
MCU 8BIT 16K FLASH 8CH 100-TQFP
Manufacturer
Rohm Semiconductor
Series
-r

Specifications of ML610Q408-NNNTBZ03A7

Core Processor
nX-U8/100
Core Size
8-Bit
Speed
2MHz
Connectivity
SSP, UART/USART
Peripherals
LCD, Melody Driver, POR, PWM, WDT
Number Of I /o
22
Program Memory Size
16KB (8K x 16)
Program Memory Type
FLASH
Eeprom Size
-
Ram Size
1K x 8
Voltage - Supply (vcc/vdd)
1.25 V ~ 3.6 V
Data Converters
A/D 2x16b
Oscillator Type
Internal
Operating Temperature
-20°C ~ 70°C
Package / Case
100-TFQFP
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ML610Q408-NNNTBZ03A7
Manufacturer:
Rohm Semiconductor
Quantity:
10 000
9.3.3
300
600
1200
2400
4800
9600
19200
38400
Baud-rate[bps]
(UA0BRTH, UA0BRTL) should be set as:
using the fixed value of 500kHz cannot make accurate baud-rate. To compensate it, count the frequency in the frequency
measurement mode to set the baud-rate again before operating UART communication.
register and TM3C register will be:
128 equals frequency ratio (N2) between the frequency of HTBCLK and 9600Hz. For the calculation, the accuracy of
baud-rate depends on truncating (1) or rounding (2) the data.
UART0 baud rate registers H and L are:
(See Section 14.3.2.)
① Round data in calculation
② Truncate data in calculation (the accuracy of baud-rate becomes worse)
Table 9-5 shows the baud rate and accuracy (theoretical) when the baud rate clock is set to 500KHz. Table 9-6 shows the
baud rate and accuracy (theoretical) when the baud rate clock is set to 2MHz.
As (437 / 32768) sec is equivalent to 128 clocks at 9600Hz (more precisely, 9598Hz), a division of the count (N1) by
For example, when the target baud-rate is 9600bps and the clock is HSCLK(500kHz), the UART0 baud-rate register
However, actual 500kHz RC oscillation clock has temperature variation and production tolerance, the calculation by
After finishing the clock count in the frequency measurement mode, assuming HTBCLK is 451kHz, data of TM2C
UA0BRTH, UA0BRTL = (frequency ratio between HTBCLK clock and baud rate) - 1 = (N1/128)-1 = N2 -1
N1 = 1011101111110 (binary)
N2 = 101111 (binary) = 47 (decimal) = 2F (hexadecimal)
Set N2-1 (= 2E) to UA0BRTH and UA0BRTL registers. In this case, the actual baud-rate will be 9595.744681.. [bps],
so the accuracy = ((9595.744681/9600) -1)* 100= -0.04..[%].
N1 = 1011101111110 (binary)
N2 = 101110 (binary) = 46 (decimal) = 2E (hexadecimal)
Set N2-1 (= 2D) to UA0BRTH and UA0BRTL registers. In this case, the actual baud-rate will be 9804.347826.. [bps],
so the accuracy = ((9804.347826/9600) -1)* 100= 2.12..[%].
UA0BRTH, UA0BRTL = 500000/9600 – 1 = 51 (decimal) = 33 (hexadecimal) (See Section 14.3.2.)
N1 = 451000 × 437 / 32768
16-bit timer frequency measurement mode application for setting uart baud-rate
= 6014 (Decimal)
= 177E (Hexadecimal)
= 1011101111110 (Binary)
Table 9-5 Baud Rate and Accuracy (theoretical) for Baud Rate Clock Set to 500KHz
Round off {N1/4 (2bit right-shift) } - (minus) 1.
Round off {N1/8 (3bit right-shift) } - (minus) 1.
Round off {N1/16 (4bit right-shift) } - (minus) 1.
Round off {N1/32 (5bit right-shift) } - (minus) 1.
Round off {N1/64 (6bit right-shift) } - (minus) 1.
Round off {N1/128 (7bit right-shift) } - (minus) 1.
Round off {N1/256 (8bit right-shift) } - (minus) 1.
Round off {N1/512 (9bit right-shift) } - (minus) 1.
Data setting to UA0BRTH register and UA0BRTH register
9-23
ML610Q407/ML610Q408/ML610Q409 User's Manual
Theoretical
accuracy
~ ±2%
±2% ~ 2.5%
±2.5% ~
Chapter 9 Timer

Related parts for ML610Q408-NNNTBZ03A7