ARM and Cortex-M3 are the trademarks of ARM Limited in the EU and other countries.
FM3Family
32-BIT MICROCONTROLLER
FM3 family Application Note
Simple AV System Board
User Manual
AN706-00040-2v0-E
1
All Rights Reserved.
The contents of this document are subject to change without notice. Customers are advised to consult with
FUJITSU sales representatives before ordering.
The information, such as descriptions of function and application circuit examples, in this document are
presented solely for the purpose of reference to show examples of operations and uses of Fujitsu
semiconductor device; Fujitsu does not warrant proper operation of the device with respect to use based on
such information. When you develop equipment incorporating the device based on such information, you
must assume any responsibility arising out of such use of the information. Fujitsu assumes no liability for
any damages whatsoever arising out of the use of the information.
Any information in this document, including descriptions of function and schematic diagrams, shall not be
construed as license of the use or exercise of any intellectual property right, such as patent right or
copyright, or any other right of Fujitsu or any third party or does Fujitsu warrant non-infringement of any
third-party‟s intellectual property right or other right by using such information. Fujitsu assumes no liability
for any infringement of the intellectual property rights or other rights of third parties which would result from
the use of information contained herein.
The products described in this document are designed, developed and manufactured as contemplated for
general use, including without limitation, ordinary industrial use, general office use, personal use, and
household use, but are not designed, developed and manufactured as contemplated (1) for use
accompanying fatal risks or dangers that, unless extremely high safety is secured, could have a serious
effect to the public, and could lead directly to death, personal injury, severe physical damage or other loss
(i.e., nuclear reaction control in nuclear facility, aircraft flight control, air traffic control, mass transport
control, medical life support system, missile launch control in weapon system), or (2) for use requiring
extremely high reliability (i.e., submersible repeater and artificial satellite).
Please note that Fujitsu will not be liable against you and/or any third party for any claims or damages
arising in connection with above-mentioned uses of the products.
Any semiconductor devices have an inherent chance of failure. You must protect against injury, damage or
loss from such failures by incorporating safety design measures into your facility and equipment such as
redundancy, fire protection, and prevention of over-current levels and other abnormal operating conditions.
If any products described in this document represent goods or technologies subject to certain restrictions on
export under the Foreign Exchange and Foreign Trade Law of Japan, the prior authorization by Japanese
government will be required for export of those products from Japan.
The company names and brand names herein are the trademarks or registered trademarks of their
respective owners.
This application note is described about below products;
(TYPE0)
AN706-00040-2v0-E
AN706-00040-2v0-E
7
Image/Audio File Read
Image/Audio File Read
Image Output
Image Output
Touch Panel Control
Touch Panel Control
Audio Output
Audio Output
Image/Audio File Decode
Image/Audio File Decode
Switch Detection
Switch Detection
Image/Audio File Read
Image/Audio File Read
Image Output
Image Output
Touch Panel Control
Touch Panel Control
Audio Output
Audio Output
Image/Audio File Decode
Image/Audio File Decode
Switch Detection
Switch Detection
1 INTRODUCTION
This user manual contains specifications and information on how to use the simple AV
system board.
2 OVERVIEW OF SIMPLE AV SYSTEM BOARD
The simple AV system board plays the following 2 types of music media files and performs
1 type of image output. Music media files are however not played simultaneously; The
format of played music file is set in accordance with compile options.
① MP3/JPEG
JPEG files in a USB memory are imported by the file system, and the data decoded
by the JPEG encoder/decoder are output and displayed on the LCD.
The MP3 file to be played is selected on the touch panel. It is then imported from the
USB memory by the file system, and is played by outputting the data decoded by the
MP3 decoder to the DAC. You can select and play MP3 files by switch operation as
well.
② AAC
The AAC file to be played is selected by switch operation and the AAC file is imported
from the USB memory by the file system. The imported AAC file is decoded by AAC
decoder and the data is output to the DAC and played.
If playing an AAC file, image output to the LCD and touch panel control do not work.
Figure 1 System Overview
AN706-00040-2v0-E
8
No.
Name
Pcs.
Remarks
1
Simple AV System Board
1
Consists of microcontroller board (KEIL
MCB9BF500), LCD board and power supply
cable
2
2 Pin power connection line
1
2.54mm pitch
3
ICE 1 KEIL ULINK2
4
USB memory
1
BUFFALO RUF-C2GS-BL/U2
5
USB cable
1
ELECOM U2C-B07BK
Microcontroller Board
LCD Board
Power Supply
Cable
3 PREPARATIONS
3.1 System Items
A list of system items of the simple AV system board is given in Table 1, a photograph the
external appearance of the AV system board is shown in Figure 2, a photograph the external
appearance of ICE is shown in Figure 3, a photograph of the external appearance of the
USB memory is shown in Figure 4 and a photograph the external appearance of the USB
cable is shown in Figure 5.
Table 1 List of System Items
Figure 2 Simple AV System Board
AN706-00040-2v0-E
9
Figure 3 ICE
Figure 4 USB memory
Figure 5 USB cable
AN706-00040-2v0-E
10
No.
Name
pcs.
Specifications / Remarks
1
PC
1
Use USB host port for power supply.
If using ICE, use USB host port.
No.
Name
pcs.
Specifications / Remarks
1
Earphones or speakers
1
For audio output
3.2 Equipment Other than System Item Required
A list of equipment other than system items required is given in Table 2, and equipment
used as need is given in Table 3.
Table 2 Equipment other than system items required
Table 3 List of Equipment Used as Needed
AN706-00040-2v0-E
11
3.3 Board Appearance
A photograph of the external appearance of the simple AV system board is shown in
Figure 6.
Figure 6 Photograph of External Appearance of Simple AV System Board
AN706-00040-2v0-E
12
Select your favorite music!
USB Connector for Power Supply
USB Cable (B Connector Side)
3.4 Power Supply Method
USB bus power of the PC is used as the power supply for the simple AV system board.
Connect the Type A side of the USB cable (with Type A - Type B connector) to the USB
port of the PC and connect the Type B side to the USB power supply connector of the simple
AV system board.
Press down the power switch with the USB cable connected. The power supply switch is
self-locking and stays depressed while the power is on. To turn the power off, press the
power switch again.
Figure 7 USB Cable Insertion Position for Power Supply
AN706-00040-2v0-E
13
4 PROGRAM EXECUTION METHOD
4.1 Program Execution Using Debugger
4.1.1 Activation of KEIL Integrated Development Environment
Double-clicking “AV_demo.uvproj” inside the Project folder activates the KEIL integrated
development environment and opens the simple AV system project.
(1) Designation of Compile Options (MP3 and AAC Switch)
Figure 8 Designation Operations of Compile Options
As shown in Figure 8, right-clicking on “AV_demo” of the project and then left-clicking
“Options for Target „AV_demo‟…” opens the option settings screen.
AN706-00040-2v0-E
14
Setting values
-MUSIC_MP3
-MUSIC_AAC
Setting values
-MUSIC_MP3
-MUSIC_AAC
Setting values
-MUSIC_MP3
-MUSIC_AAC
Setting values
-MUSIC_MP3
-MUSIC_AAC
In the case of MP3, set “MUSIC_MP3” for “Define” of the “C/C++” and “Asm” tabs of the
option screen; in the case of AAC, set “MUSIC_AAC”. (Figure 9, Figure 10)
Figure 9 C/C++ Compile Options Designation Method
Figure 10 ASM Compile Options Designation Method
15
プログラムをリビルド
プログラムをビルド
Builds program.
Rebuilds program.
プログラムをリビルド
プログラムをビルド
Builds program.
Rebuilds program.
(2) Program Build
AN706-00040-2v0-E
Figure 11 Simple AV System Build
Click the location shown in Figure 11 to build or rebuild the program. After successfully
building or rebuilding, the sample program can be exported to the microcontroller.
16
マイコンへプログラムを書き込み
Writes program in microcontroller.
4.1.2 Start of Sample Program Export and Debug
(1) ICE Connection
The equipment connection diagram for exporting the program to the microcontroller
is shown in Figure 12.
The PC and simple AV system board are connected via ICE.
AN706-00040-2v0-E
Figure 12 Equipment Connections for Exporting Program
(2) Exporting the Program to the Microcontroller
Click the location shown in Figure 13 to export the program to the microcontroller.
Figure 13 Exporting the Program to the Microcontroller
AN706-00040-2v0-E
17
Starts debug.
(3) Debug Activation
Click the location shown in Figure 14 and activate the debugger. Debugging can then be
started.
Figure 14 Operation of Debug Activation
AN706-00040-2v0-E
18
Execute
4.1.3 Program Execution Using Debugger
When the debugger is activated, the screen appears as shown in Figure 15. Press
“Execute” to start executing the program.
Figure 15 Screen When Debugger is Activated
For other debugger operations, see help.
4.2 Standalone Program Execution
When the program is exported and debugging is completed by the procedure given in “4.1
Program Execution Using Debugger,” turn the board's power off with the power switch and
remove ICE from the simple AV system board.
After doing so, the program is run by standalone by turning the power on with the power
switch on the simple AV system board.
AN706-00040-2v0-E
19
No.
Recognition Media
Capacity
Applicable Formats
Remarks
1
Max. 256Mbyte
FAT16 / FAT32
2 256M to 8Gbyte
FAT32
No.
Item
Description
Remarks
1
File format
MP3 or AAC
MP3 and AAC cannot be
handled simultaneously. (*)
2
File name
“music1.mp3” to “music5.mp3”
“music1.aac” to “music5.aac”
3
Sampling
rate
8k/11.025k/12k/16k/22.05k/24k/
32k/44.1k/48k
Unit: Hz
4
Bit rate
8k to 320kbps
VBR not supported
Sampling rate is up to
160kbps in the case of
5.1 Formats that can be Used for USB Memory
The USB memory formats that can be used by the file system are given in Table 4. If using
a file system (middleware), a separate contract is required.
Table 4 Recognition Media Capacity and Applicable Formats
5.2 Audio Data
The items of audio data for the software development environment offered as a sample
are given in Table 5. If using MP3/AAC file decoder (middleware), a contract is required.
Table 5 Corresponding Audio Data
* Cannot be assembled simultaneously due to restriction of microcontroller built-in RAM
size.
AN706-00040-2v0-E
20
No.
Item
Description
Remarks
1
File format
JPEG
2
File name
“picture1.jpg” to “picture5.jpg”
“select.jpg”
3
Resolution
240×320 to 3840×5120
5.3 Image Data
The items of image data supported by the sample program are given in Table 6. If using a
JPEG encoder/decoder (middleware), a contract is required.
Table 6 Image Data Supported by the Sample Program
[Note] If AAC decoder can be assembled for audio data processing, the JPEG
encoder/decoder cannot be assembled due to restriction of the microcontroller
built-in RAM size.
21
Select your favorite music!
Touch Operation AreaSpeaker ConnectorPower Switch
USB Connector for
Power Supply
USB Memory Connector
Reset Switch
Selection Next Switch
Selection Previous Switch
Play/Stop SwitchSelection Indicator LED
6 OPERATION METHOD
AN706-00040-2v0-E
Figure 16 Operation Explanation Diagram
6.1 MP3 File Play
(1) From Preparation to Power On
① Audio data (music1.mp3 to music5.mp3) and image data (picture1.jpg to
picture5.jpg, select.jpg) are contained in the root directory of the USB memory.
② Insert USB memory in USB memory connector of simple AV system board.
③ Connect earphones or speakers to the speaker connector.
④ Connect USB cable to the USB connector for power supply.
⑤ Press down power switch (power on).
22
Select your favorite music!
Selection Next Switch
Selection Previous Switch
(2) Song Selection Operation
Pressing the song selection next switch selects audio file in the following order.
music1.mp3 => music2.mp3 => ... => music5.mp3
If the next switch is pressed while music5.mp3 is selected, music5.mp3 is then
selected.
Pressing the song selection previous switch selects audio file in the following order.
music5.mp3 => music4.mp3 => ... => music1.mp3
If the next switch is pressed while music1.mp3 is selected, music1.mp3 is then
selected.
LED1 to LED5 correspond to music1.mp3 to music5.mp3; the lit LED indicated the
file currently selected.
Songs can be selected while music is not played.
AN706-00040-2v0-E
Figure 17 Song Selection by Previous/Next Switch
AN706-00040-2v0-E
23
Play/Stop Switch
Select your favorite music!
Touch Operation Area
(3) Play Start Operation
While music is not yet played, the selected music can be played by the following
operation.
① Press down the Play/Stop switch.
Figure 18 Play Start Operation by Play/Stop Switch
② Touch the thumbnail on the touch panel (LCD) (MP3).
(picture1.jpg to picture5.jpg corresponds to music1.mp3 to music5.mp3)
Touch the touch operation area image with your finger.
Figure 19 Play Start Operation by Touch Panel
The touched image is enlarged and the music linked with the image starts playing.
(Example) If the touched image were picture3.jpg, music3.mp3 would be selected.
AN706-00040-2v0-E
24
Figure 20 LCD Display While Playing
25
Play/Stop Switch
Touch Operation Area
(4) Play Stop Operation
While music is playing, it can be stopped by the following operation.
① Press the Play/Stop switch.
AN706-00040-2v0-E
② Touch the touch panel.
When you touch the enlarged image with your finger, the music stops playing.
Figure 21 Play Stop Operation by Play/Stop Switch
Figure 22 Play Stop Operation by Touch Panel
When music is stopped the image simultaneously switches the thumbnail display.
AN706-00040-2v0-E
26
Select your favorite music!
Figure 23 Thumbnail Display
27
Selection Next Switch
Selection Previous Switch
6.2 AAC File Play
(1) From Preparation to Power On
Audio data (music1.aac to music5.aac) is contained in the root directory of the USB
memory.
Insert USB memory in USB memory connector of simple AV system board.
Connect earphones or speakers to the speaker connector.
Connect USB cable to the USB connector for power supply.
Press power switch (power on).
(2) Song Selection Operation
Pressing the song selection next button selects audio file in the following order.
music1.aac => music2.aac => ... => music5.aac
AN706-00040-2v0-E
If the next switch is pressed while music5.aac is selected, music5.aac is then
selected.
Pressing the song selection previous switch selects audio file in the following order.
music5.aac => music4.aac => ... => music1.aac
If the next switch is pressed while music1.aac is selected, music1.aac is then
selected.
LED1 to LED5 correspond to music1.aac to music5.aac; the lit LED indicated the file
currently selected.
Songs cannot be selected while music is being played. Stop playing to select.
Figure 24 Song Selection by Previous/Next Switch
28
Play/Stop Switch
Play/Stop Switch
(3) Play Start Operation
While music is being played, the selected music can be played by the following
operation.
・ Press down the Play/Stop switch.
AN706-00040-2v0-E
(4) Play Stop Operation
While music is playing, it can be stopped by the following operation.
・ Press the Play/Stop switch.
Figure 25 Play Start Operation by Play/Stop Switch
Figure 26 Play Stop Operation by Play/Stop Switch
AN706-00040-2v0-E
29
No.
Item
Description
Remarks
1
Microcontroller
MB9BF506R(Fujitsu Semiconductor)
2 Power supply
USB bus power (+5V)
3
Current consumption
300mA(typ.)
Does not include
external connected
equipment.
4
Switch
Key input switch
Pushbutton switch x 4
5 Reset switch
Pushbutton switch x 1
6
USB function
Switch
Jumper socket x 2
7
Indicator
LCD panel
with touch panel
[LCD]
・2.4” TFT
・240×320 pixels
[Touch panel]
・4-wire resistive touch panel
8
LED
8 units
9
External
I/F
Audio
Speaker jack x 1ch
10
USB I/F
USB A type×1ch
For USB memory
connection
11
USB B type×2ch
12
JTAG I/F
For KEIL ICE connection x 1ch
13
ETM I/F
For KEIL ICE connection x 1ch
14
Environment conditions
0~60 degrees C
15
Dimensions (WxD)
130×135mm(typ.)
16
Weight
164g(typ.)
7 SPECIFICATIONS
7.1 Hardware
7.1.1 General Specifications
General specifications of the simple AV system board are given in Table 7.
Table 7 General Specifications
Loading...
+ 69 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.