Fujitsu FMB AN706 User Manual

Browse online or download User Manual for Receivers and Amplifiers Fujitsu FMB AN706. FUJITSU FMB AN706 User Manual

  • Download
  • Add to my manuals
  • Print

Summary of Contents

Page 1 - User Manual

AN706-00040-2v0-E FM3 Family 32-BIT MICROCONTROLLER FM3 family Application Note Simple AV System Board User Manual ARM and Cortex-M3 are t

Page 2

AN706-00040-2v0-E 9 Figure 3 ICE Figure 4 USB memory Figure 5 USB cable

Page 3 - Revision History

AN706-00040-2v0-E 10 3.2 Equipment Other than System Item Required A list of equipment other than system items required is given in Table 2, and e

Page 4 - Table of Contents

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

Page 5

AN706-00040-2v0-E 12 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

Page 6

AN706-00040-2v0-E 13 4 PROGRAM EXECUTION METHOD 4.1 Program Execution Using Debugger 4.1.1 Activation of KEIL Integrated Development Environment

Page 7 - Target products

AN706-00040-2v0-E 14 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 “

Page 8 - 1 INTRODUCTION

AN706-00040-2v0-E 15 (2) Program Build プログラムをリビルドプログラムをビルドBuilds program.Rebuilds program.プログラムをリビルドプログラムをビルドBuilds program.Rebuilds program. Figu

Page 9 - 3 PREPARATIONS

AN706-00040-2v0-E 16 4.1.2 Start of Sample Program Export and Debug (1) ICE Connection The equipment connection diagram for exporting the program

Page 10

AN706-00040-2v0-E 17 (3) Debug Activation Click the location shown in Figure 14 and activate the debugger. Debugging can then be started. Starts d

Page 11

AN706-00040-2v0-E 18 4.1.3 Program Execution Using Debugger When the debugger is activated, the screen appears as shown in Figure 15.

Page 12

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 F

Page 13 - USB Cable (B Connector Side)

AN706-00040-2v0-E 19 5 SUPPORTED MEDIA 5.1 Formats that can be Used for USB Memory The USB memory formats that can be used by the file system are

Page 14 - 4 PROGRAM EXECUTION METHOD

AN706-00040-2v0-E 20 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

Page 15

AN706-00040-2v0-E 21 6 OPERATION METHOD Select your favorite music!Touch Operation Area Speaker ConnectorPower SwitchUSB Connector for Power Supp

Page 16 - Rebuilds program

AN706-00040-2v0-E 22 (2) Song Selection Operation Pressing the song selection next switch selects audio file in the following order. music1.mp3 =&

Page 17 - マイコンへプログラムを書き込み

AN706-00040-2v0-E 23 (3) Play Start Operation While music is not yet played, the selected music can be played by the following operation.

Page 18 - Starts debug

AN706-00040-2v0-E 24 Figure 20 LCD Display While Playing

Page 19

AN706-00040-2v0-E 25 (4) Play Stop Operation While music is playing, it can be stopped by the following operation. ① Press the Play/Stop switch.

Page 20 - 5 SUPPORTED MEDIA

AN706-00040-2v0-E 26 Select your favorite music! Figure 23 Thumbnail Display

Page 21

AN706-00040-2v0-E 27 6.2 AAC File Play (1) From Preparation to Power On Audio data (music1.aac to music5.aac) is contained in the root directory

Page 22 - Power Supply

AN706-00040-2v0-E 28 (3) Play Start Operation While music is being played, the selected music can be played by the following operatio

Page 23 - Selection Previous Switch

AN706-00040-2v0-E 2 Revision History Rev Date Remark 1.0 Aug.23,2011 First Edition 2.0 Feb.06,2012 Correction format Correction lineup of FM3 Correc

Page 24 - Touch Operation Area

AN706-00040-2v0-E 29 7 SPECIFICATIONS 7.1 Hardware 7.1.1 General Specifications General specifications of the simple AV system board are given i

Page 25

AN706-00040-2v0-E 30 7.1.2 Hardware Block Diagram The hardware block diagram is shown in Figure 27. MB9BF506R5VMicrocontroller Board3.3V3.3VLCD Bo

Page 26

AN706-00040-2v0-E 31 7.1.3 Main Components A list of main components is given in Figure 8. Figure 8 Main Components of Simple AV System Board No.

Page 27

AN706-00040-2v0-E 32 7.1.4 Microcontroller 7.1.4.1 Pin Connection A photograph of the external appearance of the microcontroller is shown in Figu

Page 28

AN706-00040-2v0-E 33 Pin No. Pin Name (Use Function) Connection Destination I/O Remarks 15 MDATA07 LCD controller (D7) I/O 16 (Not used) ― ― 17 (N

Page 29

AN706-00040-2v0-E 34 Pin No. Pin Name (Use Function) Connection Destination I/O Remarks 46 (Not used) ― ― 47 (Not used) ― ― 48 (Not used) ― ― 49

Page 30 - 7 SPECIFICATIONS

AN706-00040-2v0-E 35 Pin No. Pin Name (Use Function) Connection Destination I/O Remarks 77 MDATA12 LCD controller (D12) I/O 78 MDATA13 LCD controll

Page 31 - LCD Board

AN706-00040-2v0-E 36 Pin No. Pin Name (Use Function) Connection Destination I/O Remarks 107 (Not used) ― ― 108 (Not used) ― ― 109 (Not used) ― ―

Page 32

AN706-00040-2v0-E 37 7.1.4.2 Microcontroller Mode Switch and Function Switch The microcontroller has the following two modes, which can b

Page 33

AN706-00040-2v0-E 38 (2) User Mode [Overview] Mode that activates the internal ROM (flash) of the microcontroller mounted in the microc

Page 34

AN706-00040-2v0-E 3 Table of Contents Revision History ...

Page 35

AN706-00040-2v0-E 39 7.1.4.3 USB Interface Function Switching The microcontroller has the following two USB interface functions, which can be swit

Page 36

AN706-00040-2v0-E 40 7.1.5 DA Converter The LCD board is equipped with a DA converter for I2S conversion. The external appearance and

Page 37

AN706-00040-2v0-E 41 7.1.6.2 Key Input Switch The LCD board is equipped with a power switch. The external appearance and connection diagram of the

Page 38

AN706-00040-2v0-E 42 7.1.7 Indicator 7.1.7.1 LCD Module with Touch Panel The LCD board is equipped with an LCD module with touch panel

Page 39

AN706-00040-2v0-E 43 7.1.7.2 Power LED The microcontroller board is equipped with a power LED that indicates power supply status. The

Page 40

AN706-00040-2v0-E 44 7.1.7.3 Selection Indicator LED The microcontroller board is equipped with a selection indicator LED that indicate

Page 41 - Power Switch

AN706-00040-2v0-E 45 7.1.8 External Interface 7.1.8.1 Power Supply Interface The LCD board is equipped with a USB connector that functi

Page 42

AN706-00040-2v0-E 46 7.1.8.3 USB Interface The microcontroller board is equipped with a USB memory connector that functions as a USB interface. Th

Page 43 - LCD Module W/Touch Panel

AN706-00040-2v0-E 47 7.1.8.4 JTAG Interface The microcontroller board is equipped with a JTAG interface connector for software debuggin

Page 44 - Power LED

AN706-00040-2v0-E 48 7.1.8.5 ETM Interface The microcontroller board is equipped with an ETM interface connector for software debugging

Page 45

AN706-00040-2v0-E 4 7.1.6.1 Power switch ... 40 7.1.6.2 Ke

Page 46

AN706-00040-2v0-E 49 7.2 Software 7.2.1 Software Block Diagram The software block diagram is shown in Figure 45. ApplicationTarget BoardApplicati

Page 47 - USB Memory Connector

AN706-00040-2v0-E 50 7.2.2 Software Library (1) File System  Name Multi Device File Access Library V03L01 (object for small MCU, Evaluation) 

Page 48 - JTAG Interface Connector

AN706-00040-2v0-E 51 7.2.3 System Specifications 7.2.3.1 Microcontroller System Specifications Microcontroller system specifications are given in

Page 49 - ETM Interface Connector

AN706-00040-2v0-E 52 7.2.3.2 Memory Map The memory maps for ROM (flash) and RAM are shown in Figure 46. Program0x0001C3E8Vacancy0x0007FFFFROM(FLAS

Page 50 - Target Board

AN706-00040-2v0-E 53 7.2.3.3 MFS System Specifications MFS system specifications are given in Table 17. Table 17 MFS System Specifications Channe

Page 51

AN706-00040-2v0-E 54 7.2.3.5 Interrupt System Specifications Interrupt system specifications are given in Table 19. Table 19 Interrupt System Spe

Page 52

AN706-00040-2v0-E 55 7.2.4 API Specifications This chapter gives I2S driver API used for audio playback processing in addition to API used for app

Page 53

AN706-00040-2v0-E 56 Function void AUDIO_PlayTask(void) Overview Audio play processing main function Invoked during main loop (see “7.2.8.1 Main Pr

Page 54

AN706-00040-2v0-E 57 Function uint8_t IMAGE_Show( const uint8_t *FileName, uint8_t AreaID, uint16_t Color) Overview Image display

Page 55

AN706-00040-2v0-E 58 (*) LCD display area corresponds as follows. Area1 Area2 Area3Area4 Area5 Area6Area7 Area8 Area9 Figure 47 LCD Display Area

Page 56

AN706-00040-2v0-E 5 7.2.7.2 AAC ... 78 7.2.8

Page 57

AN706-00040-2v0-E 59 7.2.4.3 LED Control API Function void LED_Init (void) Overview LED control processing initialization function Invoked before

Page 58

AN706-00040-2v0-E 60 7.2.4.4 Switch Detection API Function void SW_Init (void) Overview Switch detection processing initialization function Invoke

Page 59 - Area7 Area8 Area9

AN706-00040-2v0-E 61 7.2.4.5 Timer Control Driver API Function void TIMER_Init(void) Overview Initialization function for timer control driver Inv

Page 60

AN706-00040-2v0-E 62 7.2.4.6 Touch Panel Control Driver API Function STATUS TOUCH_Init(void) Overview Initialization function for touch panel cont

Page 61

AN706-00040-2v0-E 63 7.2.4.7 I2S Driver API Function void I2S_Init (void) Overview Initializes I2S driver. Sets MFS initial settings (CSIO setting

Page 62

AN706-00040-2v0-E 64 7.2.5 Operation Limit The following limitations apply to operation of the sample program used by the simple AV system. ◆Conc

Page 63

AN706-00040-2v0-E 65 7.2.6 Operation Flow of Entire Application 7.2.6.1 MP3 (1) The application operation flow with audio data playback stoppe

Page 64

AN706-00040-2v0-E 66 Touch panel controldriver moduleUSB-MSC device connection/disconnection judgementWas media connected?Read all JPEG files and di

Page 65

AN706-00040-2v0-E 67 (2) The application operation flow with audio data playback in progress is as follows. ① USB MSC device connection/discon

Page 66

AN706-00040-2v0-E 68 Touch panel controldriver moduleTimer interrupt(ch.2)(1ms)Area 1 Area 2 Area 3Area 4 Area 5 Area 6Area 7 Area 8 Area 9USB-MSC d

Page 67

AN706-00040-2v0-E 6 Target products This application note is described about below products; (TYPE0) Series Product Number (not included Package su

Page 68

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 connecti

Page 69

AN706-00040-2v0-E 70 (2) The application operation flow with audio data playback in progress is as follows. ① USB MSC device connection/discon

Page 70

AN706-00040-2v0-E 71 NoYesmusic1.aacmusic2.aacmusic3.aacmusic4.aacmusic5.aacMedia filesUSB-MSC device connection/disconnection judgementWas media di

Page 71

AN706-00040-2v0-E 72 7.2.7 Application State Transition 7.2.7.1 MP3 In the case of MP3, the simple AV system consists of the six states shown in

Page 72

AN706-00040-2v0-E 73 ② Initialization State When software internal initialization processing is completed and recognition media (USB memor

Page 73

AN706-00040-2v0-E 74 ③ Audio Data Selection Image Display Processing State After the USB memory is recognized, the system is in audio data selecti

Page 74

AN706-00040-2v0-E 75 ④ Audio Data Playback Stop State After display processing is completed for the LCD in audio data selection image display proc

Page 75 - Track4 Track5

AN706-00040-2v0-E 76 ⑤ Audio Data Image Display Processing State When the play/stop switch is pressed down in audio data playback stop state or is

Page 76

AN706-00040-2v0-E 77 ⑥ Audio Data Playback State After display processing is completed for the LCD in audio data image display processin

Page 77

AN706-00040-2v0-E 78 7.2.7.2 AAC In the case of AAC, the simple AV system consists of the four states shown in Figure 55. ④Audio dataplayback stat

Page 78

AN706-00040-2v0-E 7 1 INTRODUCTION This user manual contains specifications and information on how to use the simple AV system board. 2 OVERVIEW

Page 79

AN706-00040-2v0-E 79 ② Initialization State When software internal initialization processing is completed and recognition media (USB memory

Page 80

AN706-00040-2v0-E 80 ③ Audio Data Playback Stop State After the USB memory is recognized, the system is in audio data playback stop state. [Indivi

Page 81

AN706-00040-2v0-E 81 ④ Audio Data Playback State If the play/stop button is pressed down in the audio data playback state, if the target AAC

Page 82

AN706-00040-2v0-E 82 7.2.8 Operation Flow The meanings of the function call points in the flowchart are shown in Figure 56. Function call describe

Page 83

AN706-00040-2v0-E 83 7.2.8.2 USB Task Processing Function After detecting USB device connection/disconnection, the processing shown in Figure 58 i

Page 84 - (LED_Set)

AN706-00040-2v0-E 84 7.2.8.3 File System (MDF) Task Processing Function File System (MDF) processing is executed. (av_demoapp_MDF_task) After rea

Page 85

AN706-00040-2v0-E 85 7.2.8.4 HMI Task Processing Function HMI processing is executed. (av_demoapp_HMI_task) LCD display, switch detection

Page 86

AN706-00040-2v0-E 86 1USB device has beenremoved and HMI status is otherthan nitializationMP3 formatSet initialization for HMI status.FinishNoYesC

Page 87

AN706-00040-2v0-E 87 7.2.8.5 AUDIO Play Task Processing Function AUDIO Play processing is executed. (AUDIO_PlayTask) Audio data read from the USB

Page 88

AN706-00040-2v0-E 88 Audio stage judgment2OpenSet initialization for audio stage.1Set library initialization for audio stage.Open audio file.(audio

Page 89

AN706-00040-2v0-E 8 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 ex

Page 90

AN706-00040-2v0-E 89 MP3 format3File readRead audio file.(audio_decode_read)Set initialization for audio stage.1Set decode for audio stage.Audio

Page 91

AN706-00040-2v0-E 90 Set false for audio play processing loopcondition.4SamplingSample decode data.(audio_decode_upsample)1Set stop for audio stage.

Page 92

AN706-00040-2v0-E 91 7.2.8.6 Switch Press Detection Processing Function Switch press detection processing is executed. (av_demoapp_sw_detect) Play

Page 93

AN706-00040-2v0-E 92 7.2.8.7 Processing Function After Switch Press Detection Processing after switch press detection is executed. (av_demoapp_sw_

Page 94

AN706-00040-2v0-E 93 7.2.8.8 Touch Panel Touch Detection Processing Function Touch panel touch detection processing is executed. (av_demoapp_tp_de

Page 95

AN706-00040-2v0-E 94 7.2.8.9 Processing After Touch Panel Touch Detection Function Processing after touch panel touch detection is executed. (av_d

Page 96

AN706-00040-2v0-E 95 7.2.9 File Configuration The following is a software development environment file configuration provided as a samp

Page 97

AN706-00040-2v0-E 96 +---config :User setting file directory +---usbh_config.c :User setting source file for USB host driver +

Page 98

AN706-00040-2v0-E 97 +---usb :USB host driver directory +---usbh_api.c :USB host driver API source file +---usbh_atch.

Page 99

AN706-00040-2v0-E 98 +---include :Include file directory +---audio.h :Audio play processing header file +---avdemoapp.h

Comments to this Manuals

No comments