Posted: Thu May 01, 2014 11:40 am Post subject: ISD1700 in SPI Mode with ATMega8
Hi
i put 2 code for driving ISD1700 Voice Recorder ICs. one for REC, STOP, PLAY and ERASE commands and another for SET_REC, STOP,SET_ PLAY and SET_ERASE commands. the SPI mode is hard to run for many people almost! with these code you can run ISD1700 series in SPI mode very easy.
First code : REC, STOP, PLAY and ERASE commands
in this mode with REC command ISD began record voice to get STOP command from SPI, then it make an EOM bit on the current position in memory. when we send PLAY command ISD play voice from start location to EOM address. also ERASE will erase memory from start location to EOM location.
Second code : SET_REC, STOP,SET_ PLAY and SET_ERASE commands
in this mode we can define our favorite address for start and end for recording, playing and erasing too.
all things in this mode is ok, but the LED sometimes don't blink! i don't know! also PLAY statement run 2 time for me! i don't have any idea for it! _________________ www.mrkelectronic.blogfa.com
thank you for sharing. how is the sound quality? i remember the first ones were nice but only for some toys, but that is ages ago _________________ Mark
the sound quality is good, very more than toys applications! ISD has an Audio/AUX output also. this is better for high quality project, switch between Audio and AUX mode is possible with set and reset AUD/AUX bit in the APC2 register. i put "write ACP2" subroutine below (there is in the attached file above too). and the other hand we can play voice on the phone line with a good quality without any noise!
Code:
'-------------------------------------------------------------------------- 'Write APC2 Sub Wr_apc2
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum