VIZIC TECHNOLOGIES SMARTWAV 2 Datasheet----Rev 4.
SMARTWAV 2 Datasheet SmartWAV 2 – Intelligent Embedded Audio Processor Vizic Technologies ©2020 | 1
SMARTWAV 2 Datasheet SmartWAV 2 Top View SmartWAV 2 Direct phones connection: Pre-Amplified Outputs Vizic Technologies ©2020 | 2
SMARTWAV 2 Datasheet Table Of Contents: 1- SmartWAV 2 ...................................................................................................5 1.1 Introduction .........................................................................................5 1.2 Features ……........................................................................................6 1.3 Typical Applications ...........................................................................7 2- SmartWAV 2 System Explained ………….....
SMARTWAV 2 Datasheet 8- Monophonic Stand-Alone Mode 7 - Music Player ...................................32 8.1 Interface .............................................................................................32 8.2 Monophonic Stand-Alone Mode 7 Music Player Pinout ...............32 8.3 Monophonic Stand-Alone Mode 7 Music Player Connection ….34 9- MicroSD File/Folder Organization - Standard Serial Mode 0 ...................35 10- Formatting MicroSD Card ...............................................
SMARTWAV 2 Datasheet 1- SmartWAV 2: 1.1- Introduction: The SmartWAV 2 is an Intellectual Property smart high-end audio processor running on a state-of-the-art ARM Cortex M4 chip. The processor is mounted on a development board for easy and fast development. SmartWAV 2 is polyphonic: can play up to 14 channels with high quality stereo sound from a microSD card with universal FAT/FAT32 format. The processor supports 8/16bit, 8Khz-48Khz, mono/stereo, WAVE (.WAV) files with CD Quality.
SMARTWAV 2 Datasheet 1.2- Features: Pre-amplified dual channel stereo out with 8/16bit, stereo/mono, and up to 48khz sampling rate, CD quality. Up to 14 channel polyphonic playback / auto mixing. Integrated digital volume control with 1/100 steps. Eight modes of operation, including Slave and Stand-Alone modes (M0, M1 and M2 Input pins for mode selection). MIDI mode compliant with channel selection. On board stereo 3.5mm plug for headphones, or line out.
SMARTWAV 2 Datasheet 1.3- Typical Applications: Embedded polyphonic audio/sound systems. All voice annunciator systems. Audio channel mixers. Battery powered audio systems. Automotive, parking, GPS navigation systems. Robotics, industrial control. MIDI systems. Traffic facilities: Toll gates, parking lots. Home automation and domestic appliances. Elevator, Security, Access-Control, Warning devices. Toys, learning tools, talking books, gaming sound.
SMARTWAV 2 Datasheet 2- SmartWAV 2 System Explained: Vizic Technologies ©2020 | 8
SMARTWAV 2 Datasheet SmartWAV 2 processor internally is a sophisticated multi-task system, it processes individual .wav tracks mounted on each of the 14 channels, mixing those with a master sample rate and a master gain control, this process is automatically. The master sample rate is how the processor outputs audio samples; this parameter is global for all 14 channels. The master gain control (master mixer volume) is a global parameter that affects all the 14 channels.
SMARTWAV 2 Datasheet Point A and Point B are markers that the processor handles for each channel for rewind, loop and other functions. Each time a track is mounted, the points A and B are set at their defaults: A-Start of track and B-End of track (blue color). User can later set and re-define those A and B points (green color) by the respective command.
SMARTWAV 2 Datasheet 3- Operation Modes: The module offers 8(eight) modes of operation; selection between modes is by setting the external pins M0, M1 and M2, the next table details how mode is selected by tying the M0, M1 and M2 pins to VCC or GND: SmartWAV 2 M0, M1, M2 Pin Mode Selection Table: Mode M0: Standard Serial M1: Rewind Play (always) M2: Rewind Play / Pause M3: Rewind Play(hold) / Pause M4: MIDI Serial M5: Play / Pause M6: Play(hold) / Pause M7: Music player M2 Pin GND GND GND GND VCC VCC VCC
SMARTWAV 2 Datasheet 3.1- Polyphonic Slave Serial Mode 0 - Standard Serial: It is the most complete mode of operation of the system, it offers 14-channel polyphonic audio tracks triggered with a serial interface to any host micro-controller with a serial RX, TX port(UART/USART). Audio related functions (Refer to document SmartWAV2-CommandSet.pdf) are called using simple commands.
SMARTWAV 2 Datasheet 3.2- Polyphonic Stand-Alone Mode 1 - Rewind Play (always): In this mode a host controller is not required, SmartWAV 2 uses I0-I9 inputs to trigger up to 10-channel polyphonic audio tracks, those tracks are mounted on each channel at the power-on / initialization state of the processor, the track names (xxx.wav files) are obtained from the “tracks.txt” file(refer to section 3.9- The “Tracks.
SMARTWAV 2 Datasheet 3.3- Polyphonic Stand-Alone Mode 2 - Rewind Play / Pause: In this mode a host controller is not required, SmartWAV 2 uses I0-I9 inputs to trigger up to 10-channel polyphonic audio tracks, those tracks are mounted on each channel at the power-on / initialization state of the processor, the track names (xxx.wav files) are obtained from the “tracks.txt” file(refer to section 3.9- The “Tracks.
SMARTWAV 2 Datasheet 3.4- Polyphonic Stand-Alone Mode 3 - Rewind Play(hold) / Pause: In this mode a host controller is not required, SmartWAV 2 uses I0-I9 inputs to trigger up to 10-channel polyphonic audio tracks, those tracks are mounted on each channel at the power-on / initialization state of the processor, the track names (xxx.wav files) are obtained from the “tracks.txt” file(refer to section 3.9- The “Tracks.
SMARTWAV 2 Datasheet 3.5- Polyphonic Slave Serial Mode 4 - Midi Serial: In this mode the SmartWAV2 can be controlled by standard musical instrument digital interface(midi) commands, this mode offers 14-channel polyphonic audio tracks that can be triggered by a midi host. Audio related functions (Refer to document SmartWAV2-MIDI.pdf) are controlled by receiving simple midi commands.
SMARTWAV 2 Datasheet 3.6- Polyphonic Stand-Alone Mode 5 - Play / Pause: In this mode a host controller is not required, SmartWAV 2 uses I0-I9 inputs to trigger up to 10-channel polyphonic audio tracks, those tracks are mounted on each channel at the power-on / initialization state of the processor, the track names (xxx.wav files) are obtained from the “tracks.txt” file (refer to section 3.9- The “Tracks.txt” File), be sure this file exists in the root path of the inserted microSD card together with the .
SMARTWAV 2 Datasheet 3.7- Polyphonic Stand-Alone Mode 6 - Play(hold) / Pause: In this mode a host controller is not required, SmartWAV 2 uses I0-I9 inputs to trigger up to 10-channel polyphonic audio tracks, those tracks are mounted on each channel at the power-on / initialization state of the processor, the track names (xxx.wav files) are obtained from the “tracks.txt” file, (refer to section 3.9- The “Tracks.
SMARTWAV 2 Datasheet 3.8- Monophonic Stand-Alone Mode 7 - Music Player: This is the most common mode for most music playing related devices, in this mode a host controller is not required, SmartWAV 2 uses P/P(play/pause), NXT(next/fast forward(hold)), BCK(rewind, fast backward(hold)), STP(stop) and Loop inputs to trigger single monophonic audio tracks, this allow to create a complete mp3 like music playing device. Be sure that the .
SMARTWAV 2 Datasheet 3.9- The “Tracks.txt” File: The next image shows an example of a standard “tracks.txt” file needed for the processor to correctly mount 1 to 10 tracks in the channels for polyphonic modes 1, 2, 3, 5 and 6, and to play single audio files in monophonic mode 7 in the 1st working manner. This “tracks.txt” file must be placed in the microSD card root path together with the .wav files written in the contents of the .txt file. Example of Standard Text (*.txt) File Named “tracks.
SMARTWAV 2 Datasheet 4- SmartWAV 2 Pinout: Vizic Technologies ©2020 | 21
SMARTWAV 2 Datasheet 5- Polyphonic Slave Serial Mode 0 - Standard Serial: 5.1- Master-Slave Host Interface: SmartWAV 2 in this mode acts as a slave peripheral device, providing a bidirectional serial interface to a master host controller via its UART(Universal Asynchronous Receiver - Transmitter), the required pins of Standard Serial Mode 0 are labeled with a white rectangle.
SMARTWAV 2 Datasheet 5.3- Power-up, Reset and Serial Setup: When the SmartWAV 2 device comes out of a power up or reset, a 50ms delay before sending any command must be met, this time let the processor to configure its internal state machines, do not attempt to communicate with the module before this period. Any command could be sent after this time. The processor is configured to work at a standard default baud rate of 57600bps.
SMARTWAV 2 Datasheet 5 GROUND POWER Supply ground, be sure to have a wellgrounded connection to avoid noise over the audio outputs. 6 3.3V POWER Main supply voltage: 2.7v-3.5v. Be sure to use a 10uF and 100nF coupling capacitors to GND as close as possible to avoid noise over the audio outputs. 7 Rx - V+ INPUT Digital input pin RX (asynchronous serial receiver input pin). Internally pulled-up to 3.3V via a 40K resistor. 5V tolerant input.
SMARTWAV 2 16 GND POWER Datasheet Supply ground, be sure to have a wellgrounded connection to avoid noise over the audio outputs. *NC means no connect. 5.5- Standard Serial Mode 0 Typical Connection: *The SmartWAV 2 must always be powered with 2.7V-3.5V (Reset and RX pin are 5V tolerant).
SMARTWAV 2 Datasheet 6- Polyphonic Stand-Alone Modes 1, 2, 3, 5 and 6: 6.1- Interface: SmartWAV 2 could be connected as a Stand-Alone module without the need of an external host controller, in this fashion the processor can be triggered and controlled with external push buttons connected to the board inputs. The processor can be used as a battery powered system due to the ultra-low power consumption and the sleep/stand-by modes. In Stand-Alone Modes, the SmartWAV 2 only recognize .
SMARTWAV 2 Datasheet 4 RESET INPUT Digital input reset pin, an active low pulse greater than 100ns will reset the processor. Internally pulled-up to 3.3V via a 40K resistor. 5V tolerant input. 5 GROUND POWER Supply ground, be sure to have a wellgrounded connection to avoid noise over the audio outputs. 6 3.3V POWER Main supply voltage: 2.7v-3.5v. Be sure to use a 10uF and 100nF coupling capacitors to GND as close as possible to avoid noise over the audio outputs.
SMARTWAV 2 Datasheet 14 I1/I6 - P/P INPUT Analog input pin I1 and I6 Refer to analog input typical connections. 15 I0/I5 - LOOP INPUT Analog input pin I0 and I5 Refer to analog input typical connections. 16 GND POWER Supply ground, be sure to have a wellgrounded connection to avoid noise over the audio outputs. *NC means no connect. 6.3- Polyphonic Stand-Alone Modes 1, 2, 3, 5 and 6 Typical Connection: *The SmartWAV 2 must always be powered with 2.7V-3.5V (Reset is 5V tolerant).
SMARTWAV 2 Datasheet 7- Polyphonic Slave Serial Mode 4 - MIDI Serial: 7.1- MIDI Host Interface: SmartWAV 2 in this mode acts as a slave peripheral device, providing a unidirectional serial interface to a host MIDI controller via its UART(Universal Asynchronous Receiver). Any MIDI compliant device can communicate with SmartWAV 2 using standard MIDI commands, note on, note off, program change, etc. (Refer to document SmartWAV2-MIDI.pdf).
SMARTWAV 2 Datasheet 3 M2 INPUT Digital input power ON/reset mode selection pin, the combination of M0, M1 and M2, determines the working mode of the processor. Internally pulled-down to ground via a 40K resistor. 4 RESET INPUT Digital input reset pin, an active low pulse greater than 100ns will reset the processor. Internally pulled-up to 3.3V via a 40K resistor. 5V tolerant input. 5 GROUND POWER Supply ground, be sure to have a wellgrounded connection to avoid noise over the audio outputs.
SMARTWAV 2 Datasheet 11 I4/I9 - STP INPUT Digital input pin MIDI omni-channel enable/disable. Internally pulleddown to ground via a 40K resistor. Digital input pin MIDI channel selection bit 3. Internally pulled-down to ground via a 40K resistor. 12 I3/I8 - BCK INPUT 13 I2/I7 - NXT INPUT Digital input pin MIDI channel selection bit 2. Internally pulled-down to ground via a 40K resistor. 14 I1/I6 - P/P INPUT Digital input pin MIDI channel selection bit 1.
SMARTWAV 2 Datasheet 8- Monophonic Stand-Alone Mode 7 - Music Player: 8.1- Interface: SmartWAV 2 could be connected as a Stand-Alone module without the need of an external host controller, in this fashion the processor can be triggered and controlled with external push buttons connected to the board inputs. The processor can be used as a battery powered system due to the ultra-low power consumption and the sleep/stand-by modes. In Stand-Alone Modes, the SmartWAV 2 only recognize .
SMARTWAV 2 Datasheet 4 RESET INPUT Digital input reset pin, an active low pulse greater than 100ns will reset the processor. Internally pulled-up to 3.3V via a 40K resistor. 5V tolerant input. 5 GROUND POWER Supply ground, be sure to have a wellgrounded connection to avoid noise over the audio outputs. 6 3.3V POWER Main supply voltage: 2.7v-3.5v. Be sure to use a 10uF and 100nF coupling capacitors to GND as close as possible to avoid noise over the audio outputs.
SMARTWAV 2 Datasheet 13 I2/I7 - NXT INPUT Digital input pin Next Track/Fast Forward(hold). Internally pulled-down via a 40K resistor. 14 I1/I6 - P/P INPUT Digital input pin Play/Pause Track. Internally pulled-down via a 40K resistor. 15 I0/I5 - LOOP INPUT Digital input pin Loop enable/disable. Internally pulled-down via a 40K resistor. 16 GND POWER Supply ground, be sure to have a wellgrounded connection to avoid noise over the audio outputs. *NC means no connect. 8.
SMARTWAV 2 Datasheet 9- MicroSD File/Folder Organization - Standard Serial Mode 0: The SmartWAV 2 is capable of managing and folders in this mode, so a complete library organized by artist/ album/ genre/ year/ etc. could be done inside the micro SD card. Also the processor could access nested folders for example: “D:/rock/punk/oldies/song.wav”. In Stand-Alone Modes, the SmartWAV 2 only recognize .wav files stored in the root path of the microSD card, all .wav files must be placed in this path.
SMARTWAV 2 Datasheet 10- Formatting MicroSD Card: It is recommended but not strictly necessarily to format the micro SD card for first use, in this section a format to new micro SD card to FAT format is explained. A.- Open a new windows explorer right click on the microSD card and a menu appears, select the “FORMAT…” and click on it. (Note that formatting a micro SD card will erase all the contents of it).
SMARTWAV 2 Datasheet B.- A new window will pop-up, chose FAT/FAT32(default) on the File System menu, and click start. C.- Click OK on the new window and wait to the PC to perform the format.
SMARTWAV 2 Datasheet D.
SMARTWAV 2 Datasheet 11- Mechanical Dimensions: *All units are in mm.
SMARTWAV 2 Datasheet 12- Specifications and Ratings: Vizic Technologies ©2020 | 40
SMARTWAV 2 Datasheet Vizic Technologies ©2020 | 41
SMARTWAV 2 Datasheet 13- Development Software & Hardware Tools In order to make easier the learning about how to communicate with the SmartWAV 2, free software could be downloaded and used in any PC. This software simulates almost all of the functions of the processor in Standard Serial Mode 0, this is achieved by connecting the hardware tool USB-UART SX Bridge to the SmartWAV 2 enabling real time audio processing, the required pins of Standard Serial Mode 0 are labeled with a white rectangle.
SMARTWAV 2 Datasheet The USB-UART SX: SmartWAV 2 connected to the USB-UART SX, the required pins of Standard Serial Mode 0 are labeled with a white rectangle: For detailed information about the USB-UART SX Bridge, please visit our web site.
SMARTWAV 2 Datasheet The SmartWAV2+MIDI Adapter: This special hardware/adapter provides all the required wiring, thus converting the SmartWAV2 into a professional MIDI system ready to plug and play (The SmartWAV2 is directly soldered to the adapter, therefore this hardware only allows to use SmartWAV2 in MIDI mode): For detailed information about the SmartWAV2+MIDI Adapter, please visit our web site.
SMARTWAV 2 Datasheet 14- Proprietary Information: The information contained in this document is the property of Vizic Technologies and may be the subject of patents pending or granted, and must not be copied or disclosed without prior written permission. Vizic Tech endeavors to ensure that the information in this document is correct and fairly stated but does not accept liability for any error or omission.
SMARTWAV 2 Datasheet Use of Vizic devices in life support and/or safety applications is entirely at the buyer’s risk, and the buyer agrees to defend, indemnify and hold harmless Vizic Technologies from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Vizic Technologies intellectual property rights. THE DATASHEETS AND SOFTWARE ARE PROVIDED "AS IS.