Data Sheet
Shenzhen Waytronic Electronics Co., Ltd. WT2003S-16S Chip
Content
1. Part 1.......................................................................................................................................................................1
1.1. Chip features.............................................................................................................................................. 1
1.2. Chip I/O port................................................................................................................................................1
1.3. Specifications..............................................................................................................................................2
1.4. Electric Parameter..................................................................................................................................... 3
1.5. Function development for reference.......................................................................................................3
2. Part 2 Simulated U Disk version..................................................................................................................... 4
2.1. Simulated U Disk version features..........................................................................................................4
2.2. Pin introduction...........................................................................................................................................4
2.3. Function introduction................................................................................................................................. 5
2.3.1. Key control mode............................................................................................................................5
2.3.2. UART control protocol................................................................................................................... 5
2.3.3. Protocol command format.............................................................................................................5
2.3.4. Write operation command.............................................................................................................7
2.3.4.1. Return code format............................................................................................................. 7
2.3.4.2. Specify SPI file index play (A0)........................................................................................ 7
2.3.4.3. Specify SPI root directory file name play (A1)............................................................... 7
2.3.4.4. Play/Pause command (AA)............................................................................................... 8
2.3.4.5. Stop command (AB)........................................................................................................... 8
2.3.4.6. Next command (AC)........................................................................................................... 8
2.3.4.7. Previous command(AD).....................................................................................................8
2.3.4.8. Volume control command (AE).........................................................................................8
2.3.4.9. Specified play mode (AF).................................................................................................. 9
2.3.4.10. Inter-cut play command (B1).......................................................................................... 9
2.3.4.11. Specified EQ mode (B2).................................................................................................. 9
2.3.4.12. Specify whether need to return code after playing ends (BA)................................ 10
2.3.4.13. Query the current volume setting (C1)........................................................................10
2.3.4.14. Read the current operation state (C2)........................................................................ 10
2.3.4.15. Query the total number of music files in SPI Flash (C3)......................................... 10
2.3.4.16. Query the file track currently playing (C9).................................................................. 11
2.3.4.17. Query the current external connection status (CA)...................................................11
2.3.4.18. Query the song name of the current play (CB)..........................................................11
2.3.5. Active feedback code...................................................................................................................12
2.3.5.1. External storage connection status............................................................................... 12
2.4. Reference circuit...................................................................................................................................... 13
2.4.1. Stimulated U disk version smallest system circuit (include amplifier circuit)..................... 13
2.4.2. USB connection circuit................................................................................................................ 14
2.4.3. Key control circuit......................................................................................................................... 15
2.5. Audio file sorting.......................................................................................................................................15
3. Part 3 Micro SD card version.........................................................................................................................16
3.1. Micro SD card version features.............................................................................................................16
3.2. Micro SD card version pin introduction................................................................................................ 17
3.3. Control mode............................................................................................................................................ 18