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
69
7.2.6.2 AAC
(1) The application operation flow with audio data playback stopped is as follows.
① USB MSC device connection/disconnection judgment is executed in the main
loop.
② If the USB memory is connected, switch press-down detection is executed.
③ If the play/stop switch is detected to have been pressed down, the AAC file
selected from the USB memory is opened. If the selection previous switch or
selection next switch are detected to have been pressed down, AAC selection is
shifted and LED control is executed.
④ The AAC file header is read, AA file header analysis processing is conducted and
operation shifts to audio data playback status.
This operation is shown in Figure 50.
music1.aac
music2.aac
music3.aac
music4.aac
music5.aac
Open selected AAC file
Read selected AAC header data
and execute AAC header
analysis processing
Select AAC, LED control LED state
No
Yes
Yes
No
No
Yes
AAC
header
Media files
Switch detection module
Play/Stop
switch
Selection
previous
switch
Selection
next switch
Switch chattering
processing
Timer interrupt(ch.2)(1ms)
LED control driver module
LED1 LED2 LED3 LED4 LED5
USB-MSC device connection/
disconnection judgement
Was media connected?
Was the Play/Stop
switch pressed?
Switch press detection
Change to audio data
playback state
Switch
state
Was the
Selection
previous switch or
Selection next switch
pressed?
Figure 50 Application Operation Flow (Audio Playback Stopped Status, Case of AAC)