English
Language : 

LPM11162 Datasheet, PDF (7/19 Pages) List of Unclassifed Manufacturers – Audio Module
LPM11162
www.lpelettronica.it
2 – SERIAL-MODE
2.1 – Writing files
Wave files can be programmed on LPM11162 with only 3 simple commands: File Open, File Write, File Close.
The File Write command permits to write the content of the audio files on the Flash memory if LPM11162. Each
File Write command permits to transfer a maximum of 256 bytes, so if the file size if greater than 256 bytes it is
required to send more File Write commands in sequence for a complete file transfer.
The File Write commands are accepted only after the file has been opened with the File Open command that
communicates to the module the name of the file that will be written. The file must be properly closed after all the
data have been transferred by sending the File Close command.
For example suppose to write the file audio.wav that is a 612 bytes file, the sequence of commands is the following:
1) File Open command (audio.wav)
2) File Write command (first 256 data block)
3) File Write command (second 256 data block)
4) File Write command (last 100 data block)
5) File Close command
It is not possible to have two file with identical file name, so the File Open command will fail in case the file name
is the same of another file that is already present in the Flash.
2.2 – Formatting memory
The entire content of the Flash memory can be erased with the File Format command. This command erases all the
files that are present in the Flash memory. During the format procedure the /BUSY line is driven low to indicate the
module cannot receive other commands.
The duration of the format procedure can take up to several seconds (see Timing Specifications).
2.3 – Power-up sequence with auto-baudrate
In the figure below shows the power-up sequence with autobaudrate feature that allows to connect the module to
different host devices without any hardware configuration.
After the module is removed from reset, the first operation to do is to send the auto-baudrate character 0x55 (ASCII
“U”). When this character is received the module is able to understand the baudrate of the transmitter device and to
configure itself to work at the same baudrate.
After the auto-baudrate character is received the /BUSY line is driven low to indicate that the module cannot accept
commands. It sends a Module ID response and Module Firmware Version response, then the /BUSY line is driven
high and the module is ready to receive commands.
6