Renesas Electronics America Inc.© 2012 Renesas Electronics America Inc.. © 2012 Renesas Electronics America Inc... © 2012 Renesas Electronics America Inc... ‘Enabling The Smart Society’
Trang 1Renesas Electronics America Inc.
© 2012 Renesas Electronics America Inc All rights reserved.
Embedding Audio into your RX Application
Trang 2Renesas Technology & Solution Portfolio
Trang 3© 2012 Renesas Electronics America Inc All rights reserved.
3
Microcontroller and Microprocessor Line-up
Wide Format LCDs Industrial & Automotive, 130nm 350µA/MHz, 1µA standby
44 DMIPS, True Low Power Embedded Security, ASSP
25 DMIPS, Low Power
10 DMIPS, Capacitive Touch
Industrial & Automotive, 150nm
190µA/MHz, 0.3µA standby
Industrial, 90nm
242µA/MHz, 0.2µA standby
Automotive & Industrial, 90nm
600µA/MHz, 1.5µA standby
Automotive & Industrial, 65nm
600µA/MHz, 1.5µA standby Automotive, 40nm
500µA/MHz, 35µA deep standby
Industrial, 40nm
242µA/MHz, 0.2µA standby
Industrial, 90nm
1mA/MHz, 100µA standby
Industrial & Automotive, 130nm
144µA/MHz, 0.2µA standby
Trang 4Microcontroller and Microprocessor Line-up
44 DMIPS, True Low Power Embedded Security, ASSP
25 DMIPS, Low Power
10 DMIPS, Capacitive Touch
Industrial & Automotive, 150nm
190µA/MHz, 0.3µA standby
Industrial, 90nm
242µA/MHz, 0.2µA standby
Automotive & Industrial, 90nm
600µA/MHz, 1.5µA standby
Automotive & Industrial, 65nm
600µA/MHz, 1.5µA standby Automotive, 40nm
500µA/MHz, 35µA deep standby
Industrial, 40nm
242µA/MHz, 0.2µA standby
Industrial, 90nm
1mA/MHz, 100µA standby
Industrial & Automotive, 130nm
144µA/MHz, 0.2µA standby
Trang 5© 2012 Renesas Electronics America Inc All rights reserved.
5
Microcontroller and Microprocessor Line-up
Wide Format LCDs Industrial & Automotive, 130nm 350µA/MHz, 1µA standby
44 DMIPS, True Low Power Embedded Security, ASSP
25 DMIPS, Low Power
10 DMIPS, Capacitive Touch
Industrial & Automotive, 150nm
190µA/MHz, 0.3µA standby
Industrial, 90nm
242µA/MHz, 0.2µA standby
Automotive & Industrial, 90nm
600µA/MHz, 1.5µA standby
Automotive & Industrial, 65nm
600µA/MHz, 1.5µA standby Automotive, 40nm
500µA/MHz, 35µA deep standby
Industrial, 40nm
242µA/MHz, 0.2µA standby
Industrial, 90nm
1mA/MHz, 100µA standby
Industrial & Automotive, 130nm
144µA/MHz, 0.2µA standby
Trang 6‘Enabling The Smart Society’
Challenge:
“Improving the interface to the new smart machines is one
of the important concepts of the Smart Society Audio is an effective way of improving information delivery”
“This class will show you how simple it can be to add various levels of audio to your next project”
Trang 7© 2012 Renesas Electronics America Inc All rights reserved.
7
Agenda
DAC
PWM
Lab
Trang 8Audio Experience
BMW pursuing better acoustics to improve efficiency
servo motors used to raise the windows and adjust the
seats, then compare them with sounds made by a BMW and other competitor
Trang 9© 2012 Renesas Electronics America Inc All rights reserved.
9
Audio Considerations
Trang 11© 2012 Renesas Electronics America Inc All rights reserved.
© 2010 Renesas Electronics America Inc All rights reserved
Trang 12Telephone or Voice quality
Spectrum of Audio Clip
Trang 13© 2012 Renesas Electronics America Inc All rights reserved.
13
Bandwidth, Storage and Dynamic Range
Trang 14Dynamic Range – How many bits?
48 dB = 8 bit
60 dB = 10 bit
96 dB = 16 bit
144 dB = 24 bit
Trang 15© 2012 Renesas Electronics America Inc All rights reserved.
15
Improving Dynamic Range
Trang 16Signal Compression - ADPCM
Trang 17© 2012 Renesas Electronics America Inc All rights reserved.
17
Audio Data Compression
Format (compression type) Bitrate (Kbps) Filesize (KB/min)
Trang 18Hardware requirements
Trang 19© 2012 Renesas Electronics America Inc All rights reserved.
19
DAC or PWM Output
Trang 20Filter Considerations
filter design
the unwanted higher frequencies
Trang 21© 2012 Renesas Electronics America Inc All rights reserved.
21
PWM vs DAC Resolution
so all 1024 states of 10 bit DAC available
“skipped” while still using PWM carrier
© 2010 Renesas Electronics America Inc All rights reserved
Trang 22DAC Output Resistance
DAC
Vload
Trang 23© 2012 Renesas Electronics America Inc All rights reserved.
23
DAC Filter
Frequency / Hertz500m 1 2 5 10 20 50 100 200 500 1k 2k 5k 10k 20k 50k 100k
10m20m50m100m200m500m1
2.5 kHz First Order Filter
Trang 25© 2012 Renesas Electronics America Inc All rights reserved.
25
RX Audio Demo
Trang 26Renesas RX63N RDK
J-Link debugger
Speaker Stereo headphone
jack
SD-Card
Graphics LCD User push
buttons
Trang 27© 2012 Renesas Electronics America Inc All rights reserved.
27
RX Audio Demo
Trang 28RX Audio Demo - supported formats
Trang 29© 2012 Renesas Electronics America Inc All rights reserved.
29 © 2012 Renesas Electronics America Inc All rights reserved.
RX Audio Demo
Decode path block diagram
Trang 31
© 2012 Renesas Electronics America Inc All rights reserved.
31 © 2012 Renesas Electronics America Inc All rights reserved
Trang 32RX Audio Demo
MCU peripherals used
Two synchronizable "TPU" timer channels for PWM audio rendering
Data Transfer Controller (DTC) for streaming PWM timer data to the TPU timers.
RSPI channel for SDCard communication
12-bit ADC to measure the potentiometer setting for audio playback volume
1 Compare Match Timer (CMT) channel for timed delays in SDCard driver code
Real-time clock (RTC) used for file time stamp
Trang 33© 2012 Renesas Electronics America Inc All rights reserved.33
Lab Time !
Trang 34Summary
Trang 35© 2012 Renesas Electronics America Inc All rights reserved.
35
Questions?
Trang 36‘Enabling The Smart Society’
Challenge:
“Improving the interface to the new smart machines is one
of the important concepts of the Smart Society Audio is one of the most effective ways of improving information delivery”
“This class will show you how simple it can be to add various levels of audio to your next project”
Trang 37Renesas Electronics America Inc.
© 2012 Renesas Electronics America Inc All rights reserved.