User Manual
Table Of Contents
- Revision History
- Table of Contents
- Target products
- 1 INTRODUCTION
- 2 OVERVIEW OF SIMPLE AV SYSTEM BOARD
- 3 PREPARATIONS
- 4 PROGRAM EXECUTION METHOD
- 5 SUPPORTED MEDIA
- 6 OPERATION METHOD
- 7 SPECIFICATIONS
- 7.1 Hardware
- 7.2 Software
- 7.2.1 Software Block Diagram
- 7.2.2 Software Library
- 7.2.3 System Specifications
- 7.2.4 API Specifications
- 7.2.5 Operation Limit
- 7.2.6 Operation Flow of Entire Application
- 7.2.7 Application State Transition
- 7.2.8 Operation Flow
- 7.2.8.1 Main Processing Function
- 7.2.8.2 USB Task Processing Function
- 7.2.8.3 File System (MDF) Task Processing Function
- 7.2.8.4 HMI Task Processing Function
- 7.2.8.5 AUDIO Play Task Processing Function
- 7.2.8.6 Switch Press Detection Processing Function
- 7.2.8.7 Processing Function After Switch Press Detection
- 7.2.8.8 Touch Panel Touch Detection Processing Function
- 7.2.8.9 Processing After Touch Panel Touch Detection Function
- 7.2.9 File Configuration
AN706-00040-2v0-E
66
Touch panel control
driver module
USB-MSC device connection/
disconnection judgement
Was media connected?
Read all JPEG files and display
images for selection on LCD
select.jpg
picture1.jpg
picture2.jpg
picture3.jpg
picture4.jpg
picture5.jpg
music1.mp3
music2.mp3
music3.mp3
music4.mp3
music5.mp3
JPEG
File
Was the Play/Stop
switch pressed?
Read JPEG files corresponding to
selected MP3 file numbers and
display image for playing on LCD
Switch detection module
Play/Stop
switch
Selection
previous
switch
Selection
next switch
Switch chattering
processing
Timer interrupt(ch.2)(1ms)
Switch press detection
Switch
state
Was the
Selection previous
switch or Selection next
switch pressed?
Open selected MP3 file
Read selected MP3 header data
and execute MP3 header analysis
processing
Change to audio data
playback state
Select MP3, LED control
LED control driver module
LED1 LED2 LED3 LED4 LED5
LED
state
Timer interrupt(ch.2)(1ms)
Area 1 Area 2 Area 3
Area 4 Area 5 Area 6
Area 7 Area 8 Area 9
Touch panel detection
Was touch of
touch panel detected?
Was the detected area
1-4, or 6?
Touch panel
state
Read JPEG files corresponding to
selected MP3 file numbers and
display image for playing on LCD
Open selected MP3 file
Read selected MP3 header data
and execute MP3 header analysis
processing
Change to audio data
playback state
Select MP3, LED control LED state
No
Yes
Yes
No
No
Yes
No
Yes
No
Yes
MP3
header
MP3
header
Media files
Figure 48 Application Operation Flow (Audio Playback Stopped Status, Case of MP3)