Fujitsu FM3 family User Manual page 69

32-bit microcontroller fm3 family application note simple av system board
Table of Contents

Advertisement

Media files
select.jpg
picture1.jpg
picture2.jpg
JPEG
file
picture3.jpg
picture4.jpg
picture5.jpg
music1.mp3
music2.mp3
music3.mp3
music4.mp3
music5.mp3
Read all JPEG files and display
Read all JPEG files and display
Figure 49 Application Operation Flow (Audio Playback Status, Case of MP3)
USB-MSC device connection/
disconnection judgement
Was media disconnected?
Yes
Stop MP3 play
Close MP3 file
End file system
Change to initialization state
Swith press detection
Was the Play/Stop
switch pressed?
Yes
Stop MP3 play
Close MP3 file
images for selection on LCD
Change to audio data
playback stop state
Touch panel detection
Was touch of
touch panel detected?
Yes
Stop MP3 play
Close MP3 file
images for selection on LCD
Change to audio data
playback stop state
Timer interrupt(ch.2)(1ms)
No
Switch detection module
Selection
Play/Stop
previous
switch
switch
Switch
state
No
Timer interrupt(ch.2)(1ms)
Touch panel control
driver module
Area 1 Area 2 Area 3
Area 4 Area 5 Area 6
Area 7 Area 8 Area 9
Touch panel
state
No
No
Are there enough empty
area in the input buffer?
Yes
Read MP3 data from media
and copy in the input buffer
One frame of the data in the
input buffer is decoded, then
store it to the RAW buffer
No
Was one frame
decoded successful?
Yes
Up-sample the RAW buffer data
and copy it to the output buffer
68
AN706-00040-2v0-E
Switch chattering
processing
Selection
next switch
DMA interrupt(ch.2)
Sampling data
output module
PCM
data
I
2
S
output
Output
buffer
PCM
data

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents