Home

User`s Manual of Board ET-MINI ISD2548: PLAY&RECORD

image

Contents

1. N Structure and Block Diagram of Chip ISD2548 Internal Clock AGIR Sampling Clock ChipCorder 5p Acti TECHNOLOGY BY ISD mn tollasing Fi Analog Transceivers Antialiasing Filter ii Analog Transceivers ANA OUT 5 256K Cell 8 Nonvolatile 5 Pole Active ME 8 Multilevel Storage Smoothing Filter MIC REF Automatic AGC Gain Control AGC Veca Vssa Vssp Veco TI NIXAV n g Ry LI m E eID YSSA z assa Jowov 9 Oswisv s rwimv P TJewev e Jawav z wv or sv Jowov ISD2548S N w LI Bl lsz dS st vooa or OIN Lt AAA OTN 81 dda 7 z Ud ag 7 8z ODV 61 NI VNV L_J 02 LAO VNV LJ Iz HAO woa xox 9z sla www etteam com User s Manual of Board ET MINI ISD2548 PLAY amp RECORD MESSAGE ETT 3 Structure of Board ET MINI ISD2548 1 JP2 MIC ANA LED2 LED1 ET MINI 1502548 5 7 C D4 LL4148 ANA IN na PR Leelee con BF A Gee jE LL414 UL 2 U3 cs 3 O c 19 Q To o I vr N IN 3 CON ANA OUT ANA OUT 1uF Ca conme een R9 o 4 CON MIC IN pd TT aly Gg Ca ETT cafer aux n Rea 5 c7 c10 RE m EO O f ISD2548 74HC595 8 CON CTRL 7 JP1 ENA GND 6 CON AUX IN 1 JP2 MIC ANA It is Jumper to choose the preferable INPUT Channel to record sound If it sets this Jumper to the side of ANA IN it records external Line Out that is interfaced through Connector ANA In No 2 in this case
2. www etteam com User s Manual of Board ET MINI ISD2548 PLAY amp RECORD MESSAGE ETT 4 2 1 Procedures for Recode in Push Button Mode 1 Set Pin A6 A8 to be High to choose Push Button Mode and it should set Full Down for Pin A0 A5H or set these pins to be Low Set Pin PD to be Low ready to run Set Pin P R to be Low it ch Set Pin CE in the format of nd_then set High to Low a status of Pin EOM that norma E Dal Pulse Low ly it exits from the status of Reset and it to High again is Low changes to High ISD2548 is ooses Record mode it means that it sets Pin CE from recording The it shows status it starts of record and it starts recoding at Address 0x000 G CE receives the signal at Pi stops recording Address Po after the end of record When Pin Pul Low instantly se again in Every time LA it stops recording message n EOM changes from High to Low to show that it ter of the memory has not b EOM Maker will be n cleared yet stored in the Address memory after the c an to be High for Playback an should be started at Addres to be Low for Record again in d CE s 0x000 TE urrently recorded message identifier for the end of each message receives Signal On the other hand and Pin PD still this EOM marker is Meanwhile if Pin P R is set Pulse Low th
3. CE PD P R is set to be 1 for Initial ISD2548 to be in status of Reset the second Data set OxBCO PC 0 it releases ISD2548 from Reset but other rest Bits are still the same the third Data set 0x1C0 CE PD P R 0 it sends Clock Pulse n but Other MCU sends rest Bits are still the same CE of ISD2548 moreover it sets ISD2548 to run in Record mode the forth Data set 0x9C0 CE 1 it sends Clock Pulse High to Pin CE of SD2548 but other rest Bits are still the sam After sent this Data set High that 10 f it stops it starts recording The normal status of Pin EOM is Low becomes shows the status of recording In this case it starts recoding at Address 0x000 respectively in this case it sends another one wav stop recording it stops recording instantly Signal at Pin EOM Pulse to recording MCU re sends the Data in step No 8 and 9 of Signal Clock is changed from High from Low that shows the status of user always checks this signal before start re record any Address Pointer of the memory after it stops recording reset ISD2548 11 Referred to step No 10 above MCU sends bie I stop recording does not clear f it does not if user would like to record more message Signal Clock Pulse again according
4. it does not record any sound into xternal soun JP1 ENA GND This Jumper is used to choose the way to control both Shift Registers 74HC595 on board side of GND both of Shift Register is enabled or it is rea If it sets this Jump d to expand and it sends to Connector ISD2548 ENA of er to the dy to run Pin nm Fece SCK This Pi n receives ives 8 T Serial Data S in Shift Register STR This Pi It ru Nia TESS shift Registers parallel to Pins o ns at the Rising n receives Signal if it sets this Jumper to the side of ENA Enable of both Shift Registers by self through Connector user CON CTRL This Connector is used to interface signal from MCU to control it reads the operating status of Details of each pin are described as follows It interfaces with 5V B DC Power Supply for board SPI from MCU ignal Clock SPI used to serially rel sends it ISD25 ENA This Pi of both EOM Th Signal is Pi NG n Output EOM to this from MCU to shift data Edge Pin Strobe from MCU and it runs at Logic as th 48 Wia th is xpresses Pin and MCU n receives Signal ENA from MCU to Shift Registers by Active received data from both out through Output in the format of nable th operation ISD2548 sends bga if r status of e
5. position AO A8 instead 10 laced by the Address in the new Bit www etteam com a O Ww w 10 User s Manual of Board ET MINI ISD2548 PLAY amp RECORD MESSAGE ETT to Pin CE CU sends the second Data set 0x200 CE PD 0 it sends Clock Pulse Low of ISD2548 and it releases from the status of Reset Other rest Bits it is still the same MCU sends the third Data set 0xA00 CE 1 it sends Ctock Pulse High to Pin CE of SD2548 Other rest Bits it is still the sam CU read read is that is r ead is 0 it means that it finishes playing th EOM is O completely it should check and set the status of Signal EOM to After sent this data set it starts playing back at the Address that is set in Bit A0 AB8 Bit EOM from ISD2548 repetitively loop If the value that is it means that it is still playing message or if the value message When be 1 before playing the next message because it sets ISD2548 to be ready to run f irst If user requires playing any message in positions it should return and repeat the step No 7 send Data If it stops playing back message before sending Signal OxEOO to stop playback instantly in this case Initial ISD548 How to use ET MINI ISD2548 in Push Button Mode 1 Procedures of record
6. channels according to the existing memory of ISD2548 The method to find out the initial Address of each channel is shown by formula in section No 4 above user can record message correctly without overlapping Ex2 Tell Time This example is used to announce time every 30 minutes Before using this example user has to record data into ISD2548 first by using Program and interface circuit as described in the example 1 and then record message into Channel Message 02 19 In this case user can see COMMENT above the program of the example 2 to see what message is stored in each channel file messages are provided in CD in the Folder AOI WA Rec TannwvENiIAr When it records it can interface signal in the Socket Headphone of PC with Connector ANA IN of Board ET MIN SD2548 directly and it sets Jumper PJ2 to the side of ANA IN as well After it recorded message completely it has to interface circuit of the example 2 according the COMMENT above the program when interfacing circuit it has to remove all Power Supply from circuit otherwis th recorded message may be lost next user loads the example program 2 to test It sets the time of this example as 11 29 55 When the 13 www etteam com User s Manual of Board ET MINI ISD2548 PLAY amp RECORD MESSAGE ETT program starts running and the time of LCD Display reaches 11 30 00 it says Ka na n wae la
7. hold SW Record it starts recording at Address 0x000 When this SW is released it stops instantly and it finishes FE recording the first message If user does not press SW Reset and user does not press and hold the SW Record again it starts recording new message in this case the second message will be recorded after the first message instantly If user has not pressed SW Reset yet and capacity of the memory is not full the message that is recorded in each time will be arranged in order respectively Playback User has to press SW Play and then releases it starts playing back from the first message When it finishes it stops automatically When user presses SW Play again the next message after the first message will be played It continues playing back messages until user presses SW Reset or it is the last message in the memory it stops automatically Every time user presses SW Play it always plays messages in order according to pressing SW Play 14 www etteam com User s Manual of Board ET MINI ISD2548 PLAY amp RECORD MESSAGE ETT Skip When user presses and releases SW Skip in each time it skips forwards one message For example if it starts playing the first message and user presses SW Skip one time and then presses SW Play the second message starts playing instantly not the first message Rese
8. same 9 MCU sends the forth Data set OxBCO CE 1 it sends Signal Clock Pulse High to Pin CE of ISD2548 but other rest Bits are the same After sent this Data set it starts playback at Address 0x000 the status of Pin EOM that is normally Low becomes High that shows the status of Playback When it finishes playing a message it stops automatically moreover the status of Pin EOM is changed from High to Low that shows the status of finish ends User always checks this signal before starting playback the next message 10 Refer to step No 9 above when it finishes playing any message and it already checked that the status of Signal EOM becomes Low it automatically stops When user would like to play the next message MCU sends new Data according to Step No 8 and 9 above in this case it sends Signal Clock Pulse Low to High to Pin CE of ISD2548 the message after th F m Low to High to Pin CE first message will be played instantly after the end of pl next message a becomes High Reset lways plays ISD2548 Ox000 So to return step No 6 While it and 9 that 11 is Signal is playing message incompletely Clock Pulse Low to High to Pin C temporarily stops PAUSE It plays until it resets the Address if user would like to start play back at Address 0x000 Every time user sends Signal Pulse laying the previous message overflows happens Pointer
9. to Address th or Pin PD it has MCU can send Data in step No 8 DP of LE SD2548 Signal at Pin EOM changes from High to Low when it is PAUSE f user requir s exiting from the status of PAUSI 12 and Address Pointer is not reset in the status of m Gy Moreover the it has to re www etteam com User s Manual of Board ET MINI ISD2548 PLAY amp RECORD MESSAGE ETT send Data in step No 8 and 9 it returns to the paused position and plays 6 Example Programs in CD ROM Examples that are provided in CD Rom are written by C Language for MCU AVR MEGA128 PIC18F8722 and 89C51RE2 User can read more Complier and Circuit that supports ach xampl from COMMENT above the program In this case Examples of each MCU are the same User should prepare following devices for testing the operation of each program x1 Board MCU version ET BASE AVR ATmegal28 r3 or CP JR51RE2 V1 0 or ET BASE PIC8722 ICD2 2 Board ET MIN SD2548 3 LCD 16x2 ET CONV14LCD for the example 1 2 3 4 5 TEST INPUT Push Button Switch for the example 1 3 4 ET MINI DS3232 for the example 2 It is compatible with all examples Ex ADDRESS MODE Ex1 Play Record This example is used to record and playback First of all it has to interface LCD SW
10. to the Data in step No 8 and 9 respectively it starts recording again The new message is recorded after the first message and it automatically assumes message to be the second it is not the first message When user sends the Data is step 11 www etteam com User s Manual of Board ET MINI ISD2548 PLAY amp RECORD MESSAGE No 8 and 9 alternatively alternatively is filled to capacity the operation alternates betw It continues recording messages until the memory of Remember ETT each message that recorded is always th new message is it is not the continuous message set n record and stop ISD2548 continuously 12 When user would like to start recording new message at the Address 0x000 again Referred to record status of pressing switch it has to return step No 6 and reset the new if using Push Button Switch Initia 7 ISD2548 sending the Data in step 8 and 9 above interfaced with MCU and checks the If the switch is pressed MCU sends out the Data in it is it is easier to step No 8 9 and user can record any data while pressing SW When the switch is released from pressing recording Moreover that it always checks if Signal ISD2548 stops recording completely 5 3 2 Procedures for Playback EOM becomes MCU sends out
11. when it ends of playing each message It continues playing messages until Pin CE is set to be High or it plays until it reaches th nd of Address of Memory ISD2548 it stops If Pin CE is set to be High while playing message the message that is playing continues playing until it ends and it stops When it stops playing it sets Pin CE to be Low again in this case the first message that is pointed by Pin Address in step No 1 re starts playing instantly Set Pin CE in the format of Push it means that it sets Pin CE from High to Low and then set it to be High instantly the message that is pointed by the specified Pin Address in step No 1 starts playing instantly While playing message Pin EOM is High when it finishes ISD2548 sends Signal 5 www etteam com User s Manual of Board ET MINI ISD2548 PLAY amp RECORD MESSAGE ETT Logic Low to Pin EOM for 18 75ms and it becomes High again and it F finishes playing the message If user requires playing the next message it has to check if the Signal EOM becomes High and then user can return E and repeat steps from No 1 to play the next messag 5 If user stops while playing message it sets Pin PD to be high and it makes ISD2548 is in status of Reset 4 2 Operation in Push Button Mode sub mode of M Mode When using
12. 5 or if user would like to control Enable by MCU by oneself it has to set Jumper JP1 to the side of ENA and then it interfaces PIN ENA to Pin Output of MCU to control the operation 5 Provide 5V Power Supply for Board ET MIN SD2548 6 MCU sends the first data set 0xE00 C Address AO A8 0 to Board ISD2548 for E PD P R 1 and set the initial Initial ISD2548 7 MCU sends the second data set 0x800 PD P R 0 it makes the ISD2548 release from the status of Reset and it runs in Recode Mode For other rest Bits it still remains 8 MCU send the third Data set 0x000 CE P Low After sent this Data set complete microphone instantly 9 If it stops recording MCU sends the D P R 0 it sets Pin CE to be ly user can record any data by ki forth Data set 0xkE00 to set Pin CE PD P R to be 1 it sets ISD2548 to be in the initial status again 10 If user requires recording new message into other Addresses it should return step No 6 and repeat procedures Address A0 A8 it has to replace by th In the part of Bit Data at the preferable Address it starts recording 0x000 13F and Bit Position of CE PD P R still the same as mentioned above For example if user requires recording at Address 0x20 the first Data set that will be sent out is OxE20 the second Da
13. High and then become requires recording any message again Low again it always returns to the Address 0x000 to After Reset if user record it does not record any message after the Address position of the previously recorded messag It means that if ISD2548 is reset Address Pointer of the memory is also reset Moreover if it records new message it always overlaps the old message or if the new message is shorter than the old one the old recorded message still remains 4 1 2 Procedures for Playback in Push Button Mode 1 Set Pin A6 A8 to be High to choose Push Button Mode should set Full Down or Low us of Reset and n this case other Pin AO A5 ISD2548 is ready it sets Pin CE from it starts playing back the is Low and it becomes High to 2 Set Pin PD to be Low it exits from stat to run 3 Set Pin P R to be High it chooses Playback mode 4 Set Pin CE in the format of Pulse Low 1 High Low and then set it to be High again message Normally the status of Pin EOM show status of Playback It starts playin ends of playing back any message Pin EOM changes from High to Low g back at Address 0x000 it stops automatically and status of When it www etteam com User s Manual of Board ET MINI ISD2548 PLAY amp RECORD MESSAGE ETT 5 If it sends more Pulse Low to Pin CE while playing any message it m temporarily st
14. User s Manual of Board ET MINI ISD2548 PLAY amp RECORD MESSAGE ETT ET MINI ISD2548 Board ET MIN SD2548 is used to record sound and playback the recording it is suitable to record any sound message that is not longer than 48 seconds a board It uses MCU Serial Data Interface SPI through IC 74HC595 to control recording and playing back it reduces amount of Pin I O of MCU that controls the operation of ISD2548 normally ISD2548 uses th Parallel Interface to control the operation that wastes much Pin I O 1 Specifications of Board ET MINI ISD2548 Be more convenient to record and playback the recording Use Microcontroller to control operation Address Mode It can set the initial position to recode or playback sound from Pin Address of Chip A0 A8 The maximum length to record sound is 48 seconds per a Chip Has 320 Message Addresses 1 Address can record sound for 150 msec or 0 15 second Input Sample Rate 5 3 KHz Filter Pass Band 2 3 KHz On Chip Clock Source Can interface with headphone or be interfaced though amplifier for Signal Output The recording sound is not erased although it is Power Off it is unnecessary to use any battery for Backup 100 000 times to record and it can maintain the recording up to 100 years Provide 5VDC Power Supply for Board ET MIN SD2548 Temperature range 40 to 85 C
15. and Board ET MIN SD2548 Set JP1 GND JP2 choose connected channels between MIC and ANA IN with Board MCU completely When user interfaces circuits according to the COMMENT above the program completely user can load program to test instantly This example can record each message not longer than 1 2 seconds and it can choose any preferable channel to record and playback Firstly user should press SW or SW to choose any preferable channel to record in this case user can see number on LCD Display that will be changed according to pressing SW Default Message 01 next it presses SW RECORD it starts recording instantly While recording the LCD Display also shows message REC 0 and the number O in the parenthesis is blinking After 1 2 seconds completed the program exits from the status of RECORD instantly and LCD Display shows the value before start recording Next user should press SW PLAYBACK to listen to the recorded message When user requires recording other message it only presses SW SW to choose the new channel if user does not to record by overlapping the old channel The SW PLAY ALL is used to play back all recorded messages in this case it starts playing back from the message in the first channel Amount of channel that is used to record depends on the length of time that user has divided in this case it is totally 48 seconds for all
16. d then provides Signal Pulse Low to Pin CE in this case amount of unwanted message to skip and Signal Pulse Low that is m sent to Pin CE must be equal Next it has to set Pin MO from High to Low and provides Signal Pulse Low to Pin CE again the message after th skipped message will be played back instantly www etteam com User s Manual of Board ET MINI ISD2548 PLAY amp RECORD MESSAGE 5 How to use Board ET MINI ISD2548 As mentioned in operation at Pin there is Shift Register I O of amount of Pin used to send receive dat Interface so it has sending data to control the operation of sent out to control the operation must accord with the process of mentioned in the section 4 above 5 1 How to send data as SPI First of all data in the format of SPI Shift Register and it uses send 12Bit Control of Bit Data PIN Control ISD2548 AE X Mark data 0 Initially refer to the process in the sectio user will get the Data Bit that is sent out Next completely The first data bit to Pin Din Pin Low to High of 74HC595 Next second wave of Signal LA Data in each tim ISD2548 according to the or 1 c first 12 Bit e to Bit 10 ock is complete until all arranged Edge Pin Low to stored released is used to control High i
17. dress in step No l When the Message Address records the message until it is full it automatically increases the new Address if it still records CE is still LOW As mentioned above 1 Address can record for 0 15 second at the maximum If it records message until the memory space of ISD2548 is full it sends Signal Overflow as Pulse Low through Pin OVF to notify user to know that the memory is full so any new incoming sound is ineffective When it stops recording user has to set Pin CE to be High and Signal EOM is recorded into the address memory next to the message that has been recorded previously When user requires recording other messages into the next address it should return to step no 2 and repeats processes Moreover user should consider that any Address that is used to record new message must not overlap the Address of previous message otherwise it makes some previous message lost If user records several short messages into the same ISD2548 user can 4 www etteam com User s Manual of Board ET MINI ISD2548 PLAY amp RECORD MESSAGE ETT set the initial Address position to record but user does not know where the exact Address position of the recorded messag nds so it is difficult to set Address for the next message In this case we would like to suggest user to record each message by setting equal period and then measure time taken Whe
18. e Playback if Pin P R is set it starts recording is Low to the Address position after the recent Address position of Playback it records message until the memory o vay ISD2548 is full Signal at Pi that the record ends a nd the memory n EOM changes from High to Low automatical is full otifies user to know ut sending any Pulse ly itn witho mj By Low to Pin Cl g if user still by oneself to stop recording as usual provides Sig nal Pulse Low to Pin After it stops recordin TE T5 starts recordin CE it starts position that records Moreover the status of Pin EOM is status of Record and the next messag recording again wil EOM Marker of the previous changed from 1 g after the Address y recorded messag Low to High to show be recorded in the continuous Address position respectively No 5 and No 6 alternately after user has step No 5 and To completely messages will record each message user has to do in this case step No 6 alternately be recorded in the continuous Address positions and each message is separated by EOM Marker to be the identifier of the end While recording it returns and repeats step done step from No 1 to No 4 Finally ISD2548 Or is reset by any cause for after recording any message completely but example PD is set to be
19. ing RECORD FE Interface other Address EOM MCU has to it looks like I O OUTPUT PIN of MCU with Pin DIN SCK STR of Board ISD2548 NO ar FE Interface F Interface J sound gen ANA IN of O INPUT PIN of MCU with Pin EOM of Board IS2548 This Mode uses ECM to notify the operating status microphone with Connector MIC to record and it has to set Jumper erators Board ISD2548 and then set Jumper JP2 to the instead Set Jumper JP1 to the side of GND to user would like to control P2 to the side of MIC If user requires recording from Line Qut of other it has to interface Signal Line Out with any Connector side of ANA IN Enable Shift Register 74HC595 or if Enable by MCU by oneself it has to set Jumper JP1 to the side of ENA and then interface PIN ENA to Pin Output of MCU to control the operation by oneself Provide 5V Power Supply for Board ET MIN SD2548 the first Data set OxFCO for Initial ISD2548 in this case it MCU sends is Bit A5 to be 0 CU sends status of CU sends Low to Pi A0 according to BIT Data in the table above It 1 s normally set first 1 is used to choose the format of operation Bit A8 Ab is set to be 1 to set ISD2548 to run in Push Button Mode and Bit
20. it is independent to choose any channel to interface with because it is parallel interface Or if it sets this Jumper to the side of MIC it records sound from microphone that is interfaced through Connector MIC No 4 e 2 CON ANA IN This Connector Input receives Signal Analog Sound from external sound generator and it records that sound in ISD2548 In this case user can choose any connector to interface with because both connectors are parallel interfac 3 CON ANA OUT This is Connector Output of Pre Amp that receives Signal Input from Channel MIC This Signal Output can be interfaced with Amplifier to expand the signal stronger 4 CON MIC IN This is Connector Microphone to record sound from user and store it in ISD2548 5 CON SPEAKER This Connector Output Amplifier is used to interface with headphone or external amplifier This Signal Output occurs because of playing back sound that has been recorded by user or sound that is sent from Connector AUX IN 2 www etteam com ETT User s Manual of Board ET MINI ISD2548 PLAY amp RECORD MESSAGE 6 hs 8 CON SP BAK ER all the time can control Or CON AUX IN This Connector is used to receiv then send to Output Amplifier In this case CON CTRL at Pin ENA of ISD2548 operation ISD2548 5V and GND DIN This Pi T moreover
21. ly MCU se I O of the interfaced operates according to the timing of sending Data in each time sending Data one time When user understands principles format of next it uses this of SPI sending data to control sending Data operation o The Data that is sent is of nds Signal Clock at Rising data that is received and Data that is the ISD2548 and it finished serial dl ly well ISD2548 according to the process as mentioned in the section 4 above www etteam com User s Manual of Board ET MINI ISD2548 PLAY amp RECORD MESSAGE ETT 5 2 How to use ET MINI ISD2548 in Address Mode 5 2 1 Procedures for recording RECORD In this case it starts recording at Address 0x000 through the Channel MIC 1 Interface I O OUTPUT PIN of MCU with Pin 2 Interface I O INPUT PIN of MCU with Pin EOM of Board ISD2548 it is used DIN SCK STR of Board ISD2548 Pat or Playback Mode 3 Interface Microphone with Connector MIC to record and then set JUMPER JP2 o the side of MIC f user requires recording from Line Out of other nstead t sound generators it has to interface Signal Line Out with any Connector ANA IN of Board ISD2548 and then set Jumper JP2 to the side ANA IN a 4 Set Jumper JP1 to the side of GND to Enable Shift Register 74HC59
22. n it records message until it reaches the specific time it stops automatically and user can set the initial Address position for the next message without any overlap please read more examples in CD ROM from examples Ex1 Play Record This is an exampl when user requires recording short message that is not longer than 2 seconds because 1 Address can record message for 0 15 second as mentioned in the specification of ISD2548 above so it needs to use Address that equals 2 0 15 14 Address for 1 message If it starts recording the first message at Address 0 the second message has to record at Address 15 the third message has to record at Address 30 and so on When it starts recording message at Address 0 and user adds more 14 Addresses the message must end at the position that is not greater than Address 13 Next user has to add 1 more Address for Signal EOM so the first message must be ended at Address 14 and the second message must be started at Address 15 In this case don t forget to add 1 more Address in each message to record Signal EOM otherwise Signal EOM will be recorded and overlapped the Address position that has been recorded previously and it cannot separate the end of each message while playing back In summary this is the method to calculate amount of the used Address according with the preferable length for each message Amo
23. n Shift Register to the Pin ETT MCU sends the first Signal to Pin SCK to shift the first data bit and stores MCU sends the 10 user has 2 Clock waves are complete in both Shift Registers ISD2548 as shown in the table above to Pin STR to release the side of the Parallel Output ISD2548 section 4 above all describe how to control the ISD2548 directly In case of Board ET MIN SD 2548 74HC595 that is interfaced between ISD2548 to reduce I O for controlling operation of ISD2548 This Shift Register is ta in the format of Serial In Parallel Out that uses SPI to use MCU to be intermediate between receiving and ISD2548 In this case Data that is n abov is Bit 11 in this case Bit to Pin Di that are matchi user has to mark Data first to see what each bit is When user has marked the that will be sent out to control MCU sends Clock at the Rising n and then follo to do this process until ISD2548 as user should understand the operation of sending receiving This Shift Register number is 8 Bit or 1 Byte Data to control ISD2548 so it has to totally control operation of ISD2548 It arranges Pin Bit Data that will be sent out as follows please Data 548 irst Edge in Register ws by the 2Bit Data ISD2 the f all ng with Pin positions Final
24. nding reads this data When it is in the normal status message it sen 1 automatical with this Pin OVF This Pin when it is full ds ly Out Logic Logic vo when using Or put ISD254 reads this data Or when the memory xpresses th is full 8 this Pin status of memory o sends Signal OVF to this Pin and MCU When it is in the normal status is Logic it finishes playing any for 18 75 ms and then it becomes it has to interface R Pull Up 10K Logic Pa ISD2548 NG it is Logic k O and it holds this status for a while as normal Logic 1 with this Pin 4 Initial Operation of ISD2548 This Addresses so when using When ISD2548 is reset it has to interface R Pull Up 0 15 second this O becomes 10K ISD2548 can record sound for 48 seconds and there are 320 Message 1 Message Address can record for 48 320 The value above is important when using MCU to control playback and record There are 2 main operation modes that user can choose for this Address Mode and M Mode Mode that Button However how to use MCU to be controller devi For other is used according to In case of M Mod examp1 ther LA es in CD ROM to control format of playing this document only describes how to use Push Button Mode ISD2548 is a sub mode that is P
25. ointer of Message is reset to be 0x000 again If user commands to play or record new message it always starts playing or recording at Address 0x000 again Every time this Pin is Active the status of STOP RESET always happens and Pointer Address always points to the initial Address of 0x000 as well 3 Pin P R This Pin is used to choose operation modes between Record and Playback If this Pin is set to be High it chooses Playback Mode or if this Pin is set to be Low it chooses Record Mode 4 Pin EOM This Pin is Output that shows operating status of playback and record in this case it can interface with LED to shows the operating status It shows the status of High when it is playback or record or it shows the status of Low when it is not playback or record When managing message in this Mode user cannot refer to any Address directly unlike Address Mode in this case it uses the way to control function of Pin MO M5 to manage message instead When it starts running or it resets or it changes function from Record to Playback or from Playback to Record the initial Address that is referred internal ISD2548 of this mode is always Address 0x000 it does not depend on Pin A0 A8 Next we will mention the procedure for record and playback in this mode
26. ops PAUSE Address Pointer is not reset and signal at Pin EOM is changed from High to Low While it is in the status of PAUSE if user sets Pin P R to be Low for Record and the status of Pin PD is still the same it starts recording when user sends Signal Pulse Low to Pin CE mj and it stops when user sends Signal Pulse Low to Pin CE again The new message will be recorded after the Address Pointer of the recently recorded Message it does not start at Address Pointer 0x000 6 Refer to the step No 4 above after the end of playing any message it stops automatically If user requires playing the next message it has to send Signal Pulse Low to Pin CE again the next message after the first message will be played instantly In this case every time user sends Signal Pulse Low to Pin CE after the end of the previous message th next message always played until it overflows or Pin PD is set to be High and then Address Pointer is reset to be 0x000 When user requires playing back it has to return step No 1 starts playing message at the Address 0x000 again Use can set trick of playback in this Pulse Button Mode such as Skip Message Repeat the first message in this case it uses Pin MO M5 to set tricks as example below How to use Pin M3 to repeat message at Address Pointer 0x000 only repeat the first message If u
27. ple 3 according to COMMENT above the program when interfacing circuit it has to remove all Power Supply from the circuit otherwise all recorded messages may be lost next it loads the example program 3 to test the operation When the program starts running it shows the message COUNTER and NUMBER on the LCD Display When user presses any switch on the screen it also shows the Counter number according to the switch position that is pressed and it shows the ticket number moreover it says choen mai lek t chong bo ri kan kha Every time user presses this switch it always says this sentence In the part of the Counter Number it always says according to any switch number from 1 to 6 that is pressed In the part of Ticket Number it always runs continuously from 01 99 and it says the number after the previous number FE Ex PUSH BUTTON MODE Ex4 Play Record skip This example is used to record and playback First of all it has to interface SW and Board ET MIN SD2548 Set JP1 GND JP2 choose the channel that is interfaced with MIC or ANA IN with Board MCU first After interfaced the circuits according to COMMENT above the program completely user can load the program to test the operation The feature of running program is described as follows Record User has to press and
28. reover the position of Message Address is pointed to the current position that user has set at Pin AO A8 3 P R This Pin is used to record or playback If it is High it playbacks or if it is Low it records There are 2 Pins that are used to express the operating status of ISD2548 as follows 1 EOM Every time after it finishes playing message ISD2548 sends Signal Pulse Low with 18 75ms Width to this Pin to notify user to know that it finishes playing the message and the Signal Pulse EOF becomes High automatically 2 OVF This Signal is Pulse Low when the memory space of ISD2548 is full or it records sound until the memory of ISD2548 is full as well This Signal is Low until it resets ISD2548 at Pin PD and then this Signal becomes High 4 1 1 How to Record in Address Mode 1 Set initial Address that user prefers to record sound at Pin A0 A8 in this case it can set Address in the range of Ox000 Ox13F For example if user records sound at Address 0x005 it has to set Pin A0 A2 1 and it sets the rest of Pin Address to be V Set Pin PD to be Low it exits from status of Reset and ISD2548 is ready to run Set Pin P R to be Low it chooses record mode Set Pin CE to be Low and hold it for a while next user can input the preferable message to recode and it starts recording the message into the specific Message Ad
29. ser to set Repeat message it can set value while playing back any message or not playback in this case it has to set Pin PD to be Low and Pin P R must be still High If user requires repeating the first message it has to set Pin M3 that normally is Low to be High first and provides Signal Pulse Low to Pin CE the first message is playback When it finishes playing the first message completely it repeats the first message instantly If user requires exiting from repeat message it has to set Pin M3 from High to Low and then provide Signal Pulse Low to Pin CE it will exit from repeat message instantly To set repeat message or exit from repeat message if user sends Signal Pulse Low to Pin CE while is playing back it temporarily stops playing back PAUSE as well so it has to send the second Signal Pulse Low to Pin CE again or the second wave instead In this case it continues playing the current message until it finishes and then it restarts playing back if set MP3 to repeat or it stops instantly is it sets MP3 to exit from repeat How to use Pin MO to skip unwanted message To skip any message it can set value while playing back or not playback any message in this case it has to set Pin PD to be Low and Pin P R is still to be High When user requires skipping any unwanted message it has to set Pin MO that is normally Low to High an
30. sip ed na li ka sam sip na t soon wi na tee Lt always says every 30 minutes The feature of running this program is to read time value from RTC and then it uses the time value that is read in each time to check the operation If uses the time value in the part of second to check if it is equal to 00 if yes it checks if the value of minute is equal to 30 or 00 If the value of second and minute is under existing conditions it starts playing message in each channel according to the current time value It plays the message in each channel continuously Ex3 Ticket This example is used to announce ticket number for each counter service that presses switch in this case there are 6 counter services and it can announce 99 ticket numbers in the range of 01 99 Before testing this example user has to record data into ISD2548 first it uses Program and interfaces circuit according to the example 1 next it records message into Channel Message 02 24 In this case user can see COMMENT above the program of the example 3 to see what message is recorded in each channel the file messages that are provided in CD ROM in Folder svodwided Rec VennuuAsAI When it records message it can interface signal in the Socket Headphone of PC with Connector ANA IN of Board ET NIN SD2545 directly moreover it has to set Jumper JP2 to the side of ANA IN After recorded message completely it has to interface circuit of the exam
31. t Every time user presses SW Reset the Address Pointer internal ISD2548 is reset to be 0 So when user presses SW Play or SW Record after pressing SW Reset it always restarts playing the first message and it restarts recording at the position of the first message as well 15 www etteam com ETT PLAY amp RECORD MESSAGE User s Manual of Board ET MINI ISD2548 bib NIY pV 8zIS 80 EF 01 9997 2 6 9q 130901 ind YNY a NI YNY sr NI YNY NI XN7 er NI WNY UN 09113 Agumesg 8pSZASI ININW LI SLL 1894S ONL Palod uroa dnly MOLY o j 69 BI JOY JIN ad 32472IN o o fa INOTYNY JIN in NI YNY ds dS SSA al ASSA uod SUOOL ANZ O sol vo E9 YOON oon o NG TN Oo tO Or eo kadd O Upo ZI 2P dan HR BbLPTI A zalN NU BF LFTI A La IN S OOL a ga GINO 8 din ON kadi Baad O eo P eo NG o g kan ad K0 kaaa P 00 5 Ir Circuit of Board ET MINI ISD2548 www etteam com 16
32. ta set should be 0x820 and the third Data set should be 0x020 It is easier to record if using Push Button Switch it is interfaced with MCU and checks the status of pressing switch If the switch is pressed MCU sends out the Data in step No 6 8 and user can record any data while pressing SW When the switch is released from pressing No 9 to stop recording 5 2 2 Procedures for Playback In this Address 0x000 E 1 Inter CU sends out the Data in step case it starts Playback at ace I O OUTPUT PIN of MCU with Pin DIN SCK STR of Board ISD2548 2 Interface O INPUT PIN of MCU with Pin EOM of Board ISD2548 This Bit values directly EOM is not interfaced through Shift Register so it can use MCU to read 3 Interface headphone or amplifier at Connector SP 4 Set Jumper JP1 to the side of GND to Enable Shift Register 74HC595 or if user would like to control Enable by MCU by oneself it has to set Jumper JP1 to the side of ENA and then interface Pin ENA to Pin Output of MCU to control operation by oneself 5 Provide 5V Power Supply for Board ET M N SD2548 6 MCU sends the first Data set 0xE00 CE AO A8 0 for Initial Address to run i P R PD 1 and Set Initial Address n Play Mode If the Initial Address of play is not 0x000 it should be repl
33. the Data in step No 8 and 9 to O because it shows stop 1 Interface I O OUTPUT PIN of MCU with Pin Din SCK STR of Board ISD2548 2 Interface I O INPUT PIN of MCU with Pin EOM of Board ISD2548 EOM of this Mode is used to show the status of operation 3 Interface headphone or amplifier at Connector SP 4 Set Jumper JP1 to the side of GND to Enable Shift Register 74HC595 or if user would like to control Enable by MCU by oneself it has to set Jumper JP1 to the side of ENA and then interface PIN ENA with Pin Output of MCU to control the operation 5 Provide 5V Power supply for Board ET MIN SD2548 6 MCU sends the first Data set OxFCO for Initial ISD2548 in this case it is Bit A5 AO according to BIT Data in the table above It is normally set to be 0 first 1 is used to choose the format of operation Bit A8 Ab is set to be I to set ISD2548 to tun in Push Button Mode and Bit CE PD P R is set to be 1 for Initial ISD2548 to be in status of Reset 7 MCU sends the second Data set OxBCO PD 0 ISD2548 exits from the status of Reset but other rest Bits are still the same 8 MCU sends the third Data set 0x3C0 CE 0 it sends Signal Clock Pulse Low to Pin CE of ISD2548 but other rest Bits are still the
34. this operation mode it has to set Pin A6 A7 A8 to be High function of Pin AO A5 is changed to Pin MO M5 and each pin has different function Normally when it is interfaced with Pin MO M5 it should set Full Down if user requires running any pin according to its function it only sets that pin to be High As mentioned above user can set the preferable pin by Active to High moreover user has to set other Pin Controls together it depends on the operating format of each pin We do not describe in this section please read more information from Data Sheet The operation of this Push Button Mode is to record and playback by using Pin Control CE D P R and EOM its function is similar to Address Mode Function of each pin is described below 1 Pin CE This Pin receives Signal Pulse Active Low High gt Low it is used to control START or PAUSE for playback and record It starts playing back or recording message when this Pin receives th Signal Pulse Low while playing back if it sends the Signal Pulse Low to this pin before Signal EOM or OVF happens it temporarily stops PAUSE instantly However if it sends this Signal Pulse Low to this pin again it returns to playback message and it starts at the paused position 2 Pin PD This Pin receives Signal Pulse Active High Low gt High it is used to control STOP or RESET for playback and record When the status of STOP RESET happens it stops playing or recording message instantly and Address P
35. unt of the used Address length of message second 0 15 second 1 EOM Address When user keeps writing program until it reaches the step No 4 that is CE Low it starts recording message In this case it should set Time Delay for 2 seconds according to the length of message When Time Delay 2 second is completed user can go to step No 6 to stop recording the message CE High 4 1 2 How to Playback in Address Mode 1 Set initial Address that user requires playing back at Pin A0 A8 in this case it can set Address in the range of Ox000 Ox13F For example if it starts playing back at Address 0x005 it has to set Pin A0O A2 1 and it sets the rest of Pin Address t be 0 2 Set Pin PD to be Low it exits from status of Reset and ISD2548 is ready to run 3 Set Pin P R to be High it chooses Playback mode 4 Set Pin CE When setting this Pin CE it has 2 effects on the Playback mode as follows __ Set and hold Pin CE to be Low it normally is High the message position that is pointed by the specified Pin Address in the step No 2 will start playing instantly While plying back Pin EOM is High When it finishes playing message ISD2548 sends Signal Low to Pin EOM for 18 75ms and then it becomes High again user can use this pin to check the end of playing message When the first message ends it starts playing the second and third message continuously and it always sends out Signal EOM Logic Low
36. ush sound with M Mode ISD2548 in Address Mode and moreover it only mentions information user can k i read ce for playing back and recording sound rom Data Sheet of ISD2548 www etteam com 4 1 User s Manual of Board ET MINI ISD2548 PLAY amp RECORD MESSAGE ETT Address Mode This operation mode uses Pin A0 A8 to setup the preferable Address to playback and record sound Pin A7 and A8 are used to choose operation mode in this case it has to set it to be 00 or 01 or 10 and ISD2548 can run in this operation mode There are 320 Message Addresses of ISD2548 so it can refer to Address position in the range of 0 319 or 000000000b 100111111b 0x000 0x13F In this case the highest Address position still sets Bit A7 and A8 to be in the range of 3 statuses 00 01 10 as mentioned above Remember if user requires using this operation mode the Address position that is referred to record and playback sound is not exceeded 0x3IF only and it always runs in this operation mode Ther ar 3 Pins that are used to control recording and playing back as follows m 1 CE This Pin receives Signal Pulse Active Low normally it should be High it controls Start Playback or Start Record 2 PD This Pin receives Signal Pulse Active High normally it should be Low it resets ISD2548 If it is playing back or recording it stops immediately mo

Download Pdf Manuals

image

Related Search

Related Contents

BERCO PRESTIGE - Watersupply AS  Control inteligente por Microcomputadora  Tristar Table Grill  FA-UNIT-F11BE, FA-UNIT  user manual  Bedienungsanleitung (PDF/9MB)  INSP:DEC User Manual  Samsung WA12M7SDP/XAP User Manual  工業技術センター 企画・デザイン部  User`s Manual  

Copyright © All rights reserved.
Failed to retrieve file