ML610Q429-NNNTBZ03A7 Rohm Semiconductor, ML610Q429-NNNTBZ03A7 Datasheet - Page 288

no-image

ML610Q429-NNNTBZ03A7

Manufacturer Part Number
ML610Q429-NNNTBZ03A7
Description
MCU 8BIT 48K FLASH 128-TQFP
Manufacturer
Rohm Semiconductor

Specifications of ML610Q429-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
20
Program Memory Size
48KB (24K x 16)
Program Memory Type
FLASH
Ram Size
4K 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
*
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ML610Q429-NNNTBZ03A7
Manufacturer:
Rohm
Quantity:
900
Part Number:
ML610Q429-NNNTBZ03A7
Manufacturer:
Rohm Semiconductor
Quantity:
10 000
22.3 Description of Operation
22.3.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 18, “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 22-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 22-2 Operation Waveform of Melody Driver
XX
XX
1st sound
1st sound
1st sound
waveform
2nd sound
22 – 7
2nd sound
2nd sound
waveform
3rd sound
3rd sound
3rd sound
waveform
ML610Q428/ML610Q429 User’s Manual
Final sound
Final sound
Final sound
Chapter 22 Melody Driver
waveform
Rest data
Rest data

Related parts for ML610Q429-NNNTBZ03A7