Consumer IC
 
   
 
Q1 :  What's the meaning of the Sink current and Driver current?
Q2 :  How much is the value of the applicable oscillaor resistor if eSC works at 6MHz?
Q3 :  While changing the TIMER register value ,what time does the new setting take effect?
Q4 :  How to solve if open the high resolution timer interrupt and DA will work(speaker will generate a “pop”)?
Q5 :  how to backup the ACC,PAGE and BANK before the program go into timer interrupt if the user use timer interrupt and the PAGE0 and PAGE1 will be used of?
Q6 :  how to use the Irin、Irout PIN of eSA?
Q7 :  Does eSA supports the function of I/O PWM?
Q8 :  How much is the power-up time and wake-up time of eSA?
Q9 :  What's the meaning of the three option of Package type in ICE Code Option Setting?
Q10 :  While using the compress patch of project, will the speech rate be limited ? For example: while the project use the 16744Hz compress tone of 1 channel, the Sample Rate can not exceed the 14kHz in despite of I using the speech channel of which. Is it the meaning?
Q11 :  How to use the JBS and JBC instruction of no writing in eSA USER'S MANUAL?
Q12 :  How to solve the error of hint in using the CALL1、CALL2、CALL3、CALL4?
Q13 :  How many cycles will be taken each of eSC instruction if I want do a IR project?
Q14 :  What is the requirement about wave format for eSA/eSB/eSC?
Q15 :  what is a Speech Mark? How to read it by the program?
Q16 :  Is eSA must have more than 128 sampling between two Mark?
Q17 :  If select disable in "Auto sample rate adjustment"of Easy Project Option by PWM outputting.Is Sample rate of play speech must select the table samplerate ? (SCH1:EMC.WAV/f=12k/V=6)
Q18 :  How to calculate the Frequency register TIH and TIL if it is written by ASM about I/O PWM of eSC? For example, how to calculate the TIH and TIL if outputing a freq of 10K by PWM?


  Answer
Q1 :   What's the meaning of the Sink current and Driver current?
  The current inpours into IC from I/O PIN ,it is intituled as Sink current;The current outflows from I/O PIN,it is intituled as Driver current.


Q2 :   How much is the value of the applicable oscillaor resistor if eSC works at 6MHz?
  The oscillator resistor value ROSC is 33kΩ.


Q3 :   While changing the TIMER register value ,what time does the new setting take effect?
  (1)While Timer is running(current TIMER interrupt allowable bit is 1) if you change the Timer register value(load automatically again),then at the current cycle timer counter decreased, the old TIMER value is effective still. When the counter overflows and the interrupt comes,the new setting will be effective after the new cycle timer counter decreased.
(2) While Timer stops(current TIMER interrupt allowable bit is 0) if you change the Timer register value. The timer will run according as new loading value after the Timer opened (TIMER interrupt allowable bit is 1).
(3) While setting the new loading automatically value(MOV TIMER, A),executing the instruction of opening timer (BS ENTI, 0) at the condition of (2). Then the initial value is one less than the loading automatically value after the first cycle TIMER counter decreased. It will be normal resumptively after the second cycle TIMER counter decreased. The way to solve the problem is that you need to add some time-lapse instructions between the two, for example:
MOV A, #7 ;set timer
MOV CHSEL, A
MOV A, #15
MOV TIMER, A
NOP
… ;
NOP ;
BS ENTI, 0 ;enable timer int.


Q4 :   How to solve if open the high resolution timer interrupt and DA will work(speaker will generate a “pop”)?
  Adding the below instruction will avoid the “pop” before interrupting.
MOV A,#6
MOV CHSEL,A
MOV A,#0
MOV VOL,A



Q5 :   how to backup the ACC,PAGE and BANK before the program go into timer interrupt if the user use timer interrupt and the PAGE0 and PAGE1 will be used of?
  the eSA hardware wil backup the ACC and PAGE ,and the user backup the BANK only (it doesn’t backup BANK if the BANK is not used in program ).


Q6 :   how to use the Irin、Irout PIN of eSA?
  (1) Irin PIN is used as input PIN only, it can be read by the bit0 of CTRL2.
(2) Irout PIN is used as output PIN only, it will turn off the Irout(the Irout pin is of tri-state mode) by setting the bit1/bit0 of CTRL1 as 00,the Irin is allowed only, and the Irout PIN can't be as input pin.
(3) Irin enable wake-up CPU(triggered by a falling edge).
(4) There is a pull-high resistor in Irin PIN, it is noticed if the Irin PIN as a eneral input PIN.
(5) The Irout PIN structure is same as other output PIN, also it is used as a general output PIN, it can output 0 or 1by writing to CTRL1.


Q7 :   Does eSA supports the function of I/O PWM?
  Only the eSC supports the function of I/O PWM,eSA or eSB doesn't support this function.


Q8 :   How much is the power-up time and wake-up time of eSA?
  The power-up time is 64ms and the wake-up time is 1ms.


Q9 :   What's the meaning of the three option of Package type in ICE Code Option Setting?
  (1) IE FORM: The whole WAEER tests over, shipment no incision,client seek ask for incision by themselves after shipment.
(2) CHIP FORM:IC is tested over and shipment after incising as DIE
(3) PDIP:shipment of encapsulation as PACKAGE of testing over of IC (The form of encapsulation has DIP,SOP ,QFP and so on ,there are different type of encapsulation in different production).


Q10 :   While using the compress patch of project, will the speech rate be limited ? For example: while the project use the 16744Hz compress tone of 1 channel, the Sample Rate can not exceed the 14kHz in despite of I using the speech channel of which. Is it the meaning?
  No, it will be limited while playing Melody and Speech. While one channel of Melody adopts 16K compress patch, then it need to play speech simultaneously. The maximum speech sample rate is 14kHz-ch(that is 14k*1ch or 7k* 2ch or 8k+6k 2ch…), the rest may be deduced by analogy.
While one channel of Melody adopts 12K compress patch, it need to play speech simultaneously, the maximum speech sample rate is 20kHz-ch(that is 20k*1ch or 10k* 2ch or 12k+8k 2ch…). While two channel of Melody adopts 12K compress patch, it need to play speech simultaneously, the maximum speech sample rate is 8kHz-ch(that is 8k*1ch …).


Q11 :   How to use the JBS and JBC instruction of no writing in eSA USER'S MANUAL?
  JBS/JBC is used with JMP/LJMP, the after JMP/LJMP instruction will be executed if the judgement of JBS/JBC is true,or else the after JMP/LJMP instruction will not be executed(skipped),but each instruction between JBS/JBC and JMP/LJMP will be executed, not skipped.


Q12 :   How to solve the error of hint in using the CALL1、CALL2、CALL3、CALL4?
  It is because of false setting in Option / Project Setting,it is Ok if you Select the Non-Stack(CallN) in Call Instruction Option. It is because of false setting in Option / Project Setting,it is Ok if you Select the Non-Stack(CallN) in Call Instruction Option. It is because of false setting in Option / Project Setting,it is Ok if you Select the Non-Stack(CallN) in Call Instruction Option. It is because of false setting in Option / Project Setting,it is Ok if you Select the Non-Stack(CallN) in Call Instruction Option.


Q13 :   How many cycles will be taken each of eSC instruction if I want do a IR project?
  eSC instruction cycle takes as following:
Four instruction cycle: READ
Three instruction cycle: CAJE, CJBS, CJBC
Two instruction cycle: END, JMP, LJMP, PCA, SPAN, SPA, CALLN, RETN, BS, BC
One instruction cycle: other instruction
PS:one instruction cycle=two clock cycle


Q14 :   What is the requirement about wave format for eSA/eSB/eSC?
  If you select ADPCM+,the wave format is 16bit;if select ADPCM,the wave format is 8bit. With eSB & eSC Series, only 16-bit wave speech file can be accepted. If your speech file is 8-bit wave, it will be automatically extended to 16-bit wave.


Q15 :   what is a Speech Mark? How to read it by the program?
  The effective name is a any number from 1 to 10, the _ELAN_eSAS1Mark、_ELAN_eSAS2Mark、_ELAN_eSAS3Mark、_ELAN_eSAS4Mark can be read by the program. Thereinto it is ok in which system register(confirming in which channel playback)


Q16 :   Is eSA must have more than 128 sampling between two Mark?
  Yes, but eSB and eSC is 256 sampling differ from eSA.


Q17 :   If select disable in "Auto sample rate adjustment"of Easy Project Option by PWM outputting.Is Sample rate of play speech must select the table samplerate ? (SCH1:EMC.WAV/f=12k/V=6)
  No, it will play by adopting its sample rate,but the quality of the voice will bad , and will generate a noise gently. So suggest the user adopt the table sample rate.


Q18 :   How to calculate the Frequency register TIH and TIL if it is written by ASM about I/O PWM of eSC? For example, how to calculate the TIH and TIL if outputing a freq of 10K by PWM?
  Freq= (Fosc/4) / (TIH+TIL)
eg :10k = (4M/4) / (0x64)