You are on page 1of 19

YX5200

1. ....................................................................................................................................................... 2

1.1 .................................................................................................................................................. 2
1.2 .................................................................................................................................................. 2
1.3 .................................................................................................................................................. 2

2. ........................................................................................................................................ 3

2.1 .......................................................................................................................................... 3
2.2 .................................................................................................................................. 4

3. ........................................................................................................................................ 5

3.1 .......................................................................................................................................... 5
3.2 .......................................................................................................................................... 6
3.3 ............................................................................................................................... 7
3.3.1 .................................................................................................................... 8
3.3.2 ............................................................................................................ 8
3.3.3 .................................................................................................................... 9
3.3.4 .................................................................................................................... 9
3.3.5 ........................................................................................................................ 9
3.4 .................................................................................................................................10
3.4.1 .......................................................................................................................10
3.4.2 .......................................................................................................................10
3.4.3 ..............................................................................................................................11
3.4.4 ..............................................................................................................................11
3.4.5 FLASH ..................................................................................................12
3.4.6 ......................................................................................................................................12
3.5 ..........................................................................................................................................13
3.6 ..........................................................................................................................................14

4 .............................................................................................................................................16

4.1 ..........................................................................................................................................16
4.2 ..............................................................................................................................16
4.3 ..................................................................................................................................17
4.4 ..........................................................................................................................................17

5YX5200-24SS ..........................................................................................................................18

6 .............................................................................................................................................19

7 .............................................................................................................................................20

8 ..................................................................................................................20
YX5200

1.

1.1

YX5200 MP3 MP3WMV


TF FAT16FAT32

USB USB

1.2

1(KHz):8/11.025/12/16/22.05/24/32/44.1/48
224 DAC 90dB 85dB
3 FAT16FAT32 32G TF 32G U 64M
NORFLASH
4AD
5
6 100 1000
730 10 EQ

1.3

1
2
3
4
5
6
7
8
9
10
11
YX5200

2.

SOC 16 MCU aDSP

2.1


111172-3 ISO13813-3 layer3
MP3 2(KHZ):8/11.025/12/16/22.05/24/32/44.1/48
3 NormalJazzClassicPopRock
USB 2.0
UART TTL ,
3.2V-5V 4.2V
20ma[ U ]
SSOP24
0~70
5% ~ 95%
YX5200

2.2


1 DACL
2 DACR
3 VDDIO 3.3V TF SPI24C02
4 VDD 5V 5.2V
5 VSS
6 TX UART
7 RX UART
8 NC
9 AUXR
10 GPIOA0
11 GPIOA1 Busy
12 GPIOA2 SPI_CS
13 GPIOA3 SPI_DO
14 GPIOA4 SPI_CLK
15 GPIOA5 ADKEY2 22K
16 GPIOA6 ADKEY1 22K
17 GPIOB4 SD_CLK 024C02 6
18 GPIOB3 SD_CMD 024C02 5
19 GPIOB2 SD_DAT
20 GPIOB1 USB- DM U USB
21 GPIOB0 USB+ DP U USB
22 NC
23 VCOM
24 DACVSS
YX5200

3.


RS485
9600

3.1

,
:9600 bps
:1
:none
:none
$S VER Len CMD Feedback para1 para2 checksum $O

$S 0x7E $,0x7E
VER
Len len
CMD ,/
Feedback ,1,0
para1 1 ()
para2 2
checksum [$]
$O 0xEF

NORFLASH:7E 10 06 09 00 00 04 FF dd EF
6 , 6 [10 06 09 00 00 04]

YX5200

3.2

1
CMD () (16)
0x01
0x02
0x03 (NUM) 0-2999
0x04 +
0x05 -
0x06 0-30
0x07 EQ(0/1/2/3/4/5) Normal/Pop/Rock/Jazz/Classic/Base
0x08 (0/1/2/3) ///
0x09 (0/1/2/3/4) U/TF/AUX/SLEEP/FLASH
0x0A --
0x0B
0x0C
0x0D
0x0E
0x0F 1-10()
0x10 {DH1}{DL031}
0x11 {1}{0}
YX5200

2
CMD (
) (16)
0x3C STAY
0x3D STAY
0x3E STAY
0x3F 0 - 0x0F()
0x40
0x41
0x42
0x43
0x44 EQ
0x45
0x46
0x47 TF
0x48 UDISK
0x49 FLASH
0x4A
0x4B TF
0x4C UDISK
0x4D FLASH

3.3



ACK()
[]

U TF
YX5200

3.3.1

(1) U TF flash
1.5 ~ 3S

(2), 7E 10 06 3F 00 00 01 xx xx EF
DL = 0x01 U ,
U -- 7E 10 06 3F 00 00 01 xx xx EF
TF -- 7E 10 06 3F 00 00 02 xx xx EF
PC -- 7E 10 06 3F 00 00 04 xx xx EF
FLASH -- 7E 10 06 3F 00 00 08 xx xx EF
U TF -- 7E 10 06 3F 00 00 03 xx xx EF

(3)MCU

3.3.2

U 1 7E 10 06 3C 00 00 01 xx xx EF U 1
U 2 7E 10 06 3C 00 00 02 xx xx EF U 2
TF 1 7E 10 06 3D 00 00 01 xx xx EF TF 1
TF 2 7E 10 06 3D 00 00 02 xx xx EF TF 2
FLASH 1 7E 10 06 3E 00 00 01 xx xx EF FLASH 1
FLASH 2 7E 10 06 3E 00 00 02 xx xx EF FLASH 2

2 IO 6 GPIO1
(1)
(2)
3 U
7E 10 06 3C 00 00 01 xx xx EF
3C ---- U
00 01 ----
MCU 100ms[7E 10 06 0D 00 00 00
FF DD EF]

YX5200

3.3.3

FLASH 1 7E 10 06 3E 00 00 01 xx xx EF FLASH 1

(1)ACKB
MCU

(2)

3.3.4

7E 10 06 40 00 00 00 xx xx EF
7E 10 06 40 00 00 01 xx xx EF
7E 10 06 40 00 00 02 xx xx EF
(1)

(2)
(3)

3.3.5

U 7E 10 06 3A 00 00 01 xx xx EF
TF 7E 10 06 3A 00 00 02 xx xx EF
PC 7E 10 06 3A 00 00 04 xx xx EF
U 7E 10 06 3B 00 00 01 xx xx EF
TF 7E 10 06 3B 00 00 02 xx xx EF
PC 7E 10 06 3B 00 00 04 xx xx EF

(1)

(2)
100ms
YX5200

3.4

:
[]


[]
FLASH

3.4.1

0~2999.

(1) 7E 10 06 03 00 00 01 FF E6 EF
7E ---
10 ---
06 --- ()
03 ---
00 --- [0x01:0x00:]
00 --- [DH]
01 --- [DL],
FF ---
E6 ---
EF ---
(2) 100 100 16 ,, 0x0064
DH = 0x00 ; DL = 0x64
(3) 1000 1000 16 ,, 0x03E8
DH = 0x03 ; DL = 0xE8
(4) 16

3.4.2

(1) 30 ,
(2) 15 ,:7E 10 06 06 00 00 0F FF D5 EF
(3)DH = 0x00 ; DL = 0x0F 15 16 0x000F
YX5200

3.4.3

(1) 4 ,

(2)
(3)
200ms 200ms
-U 7E 10 06 09 00 00 01 xx xx EF xx xx
-TF 7E 10 06 09 00 00 02 xx xx EF
-AUX 7E 10 06 09 00 00 03 xx xx EF
-FLASH 7E 10 06 09 00 00 04 xx xx EF
-PC 7E 10 06 09 00 00 05 xx xx EF []
-SLEEP 7E 10 06 09 00 00 05 xx xx EF

3.4.4

01001.mp3 7E 10 06 0F 00 01 01 xx xx EF
11100.mp3 7E 10 06 0F 00 0B 64 xx xx EF
99255.mp3 7E 10 06 0F 00 63 FF xx xx EF

(1)"01","11"

255 , 99
GUSHIERGE
(2)"01" 100.MP3 ,:7E 10 06 0F 00 01 64 xx xx EF
DH:, 99 , 01 -- 99
DL:, 255 0x01 ~ 0xFF

(3)

(4)[]
YX5200

3.4.5 FLASH


1 0.mp3 2 1.mp3
3 2.mp3 4 3.mp3
5 4.mp3 6 5.mp3
7 6.mp3 8 7.mp3
9 8.mp3 10 9.mp3
11 10.mp3 12 11Mp3.mp3
13 12.mp3 14 13.wav
15 14.wav 16
: MP3WAV .

3.4.6

USB YX5200
1 2 CD002
YX5200
YX5200

3.5

AD
MCU AD 2 AD 20

(1)
YX5200

(2)20

K1 /
K2 U/TF/SPI/
K3
K4 /
K5 +
K6 -
K7 4 4
K8 3 3
K9 2 2
K10 1 1
K11 5 5
K12 6 6
K13 7 7
K14 8 8
K15 9 9
K16 10 10
K17 11 11
K18 12 12
K19 13 13
K20 14 14

3.6
YX5200


CH- /
CH U/TF/SPI/
CH+
PREV
NEXT +
PLAY/PAUSE /
VOL-
VOL+ +
EQ EQ Normal/Pop/Rock/Jazz/Classic/Base
0 0
100+
200+
1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
9 9

1 2
2 1 21
YX5200

9600
AD ,

4.1

3.3V TTL 3.3V 5V


1K
5V 3.3V
1K

4.2

8002ICdatasheet

YX5200

4.3

R4 R5 (Vp-p 3.0V)C1
C2 ;R2 R3

4.4

MP3
YX5200

5YX5200-24SS
YX5200

IO


Low-Level Input
VIL Voltage -0.3 - 0.3*VDD V VDD=3.3V
High-Level Input 0.7VD
VIH Voltage D - VDD+0.3 V VDD=3.3V

IO


Low-Level Output
VOL Voltage - - 0.33 V VDD=3.3V
High-Level Output
VOH Voltage 2.7 - - V VDD=3.3V

1 3.3V TTL
GPIO TVS

2ADKEY

3 RS485