ML610Q422-NNNTBZ03A7 Rohm Semiconductor, ML610Q422-NNNTBZ03A7 Datasheet - Page 290

no-image

ML610Q422-NNNTBZ03A7

Manufacturer Part Number
ML610Q422-NNNTBZ03A7
Description
MCU 8BIT 32K FLASH 22CH 120-TQFP
Manufacturer
Rohm Semiconductor
Series
-r

Specifications of ML610Q422-NNNTBZ03A7

Core Processor
nX-U8/100
Core Size
8-Bit
Speed
4.2MHz
Connectivity
I²C, SSP, UART/USART
Peripherals
LCD, Melody Driver, POR, PWM, WDT
Number Of I /o
14
Program Memory Size
32KB (16K x 16)
Program Memory Type
FLASH
Eeprom Size
-
Ram Size
2K x 8
Voltage - Supply (vcc/vdd)
1.1 V ~ 3.6 V
Data Converters
A/D 2x12b, 2x24b
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:
ML610Q422-NNNTBZ03A7
Manufacturer:
ROHM
Quantity:
1 001
Part Number:
ML610Q422-NNNTBZ03A7
Manufacturer:
Rohm Semiconductor
Quantity:
10 000
23.3 Description of Operation
23.3.1
In the case the melody is forcibly terminated, meldy circuit must be reset once by setting DMD0 bit of BLKCON3
register to “1”. Then if you want continue to use the melody function, reset the DMD0 bit to “0” and restart operating
from the aforementioned procedure (1).
Melody is output in the following procedure.
(1) Select melody mode by setting the BZMD bit of the melody 0 control register (MD0CON) to “0”.
(2) Set a melody tempo in the melody 0 tempo code register (MD0TMP).
(3) Set a tone length code in the melody 0 tone length code register (MD0LEN).
(4) Set a scale code in the melody 0 scale code register (MD0TON).
(5) Set bit 2 (ENMLT) of the frequency control register 1(FCON1) to “1” to enable the 2×low-speed clock.
(6) When the M0RUN bit of the melody 0 control register (MD0CON) is set to “1”, the tone length code and scale
The melody 0 signal output pin (MD0) is assigned as the secondary function of Port 2. See Chapter 19, “Port 2,” for
the secondary function settings of Port 2.
In the software processing after melody 0 interrupt, the tone length code and the scale code of the note that are output
next are set to MD0LEN and MD0TON, respectively. When there is no next note to be output, rest data “00H” is set in
MD0TON, the M0RUN bit is set to “0” by the software processing after the next melody 0 interrupt, and melody
output is terminated.
By setting the M0RUN bit to “0”, melody can be terminated forcibly during melody output.
Figure 23-2 shows the operation waveform of the melody driver.
code are transferred to the tone length buffer and scale buffer and melody output is started from the MD0 pin. At
the same time, a melody 0 interrupt (MD0INT) is requested. When an interrupt occurs and program is passed to the
interrupt routine, the interrupt request flag is cleared.
Melody output waveform
Tone length/Tone buffer
Operation of Melody Output
MD0TON
MD0LEN
MD0INT
M0RUN
MD0*
Figure 23-2 Operation Waveform of Melody Driver
XX
XX
1st sound
1st sound
1st sound
waveform
2nd sound
23 – 7
2nd sound
2nd sound
waveform
3rd sound
3rd sound
3rd sound
waveform
ML610Q421/ML610Q422 User’s Manual
Final sound
Final sound
Final sound
Chapter 23 Melody Driver
waveform
Rest data
Rest data

Related parts for ML610Q422-NNNTBZ03A7