| поискавой системы для электроныых деталей |
|
ACE9050 датащи(PDF) 42 Page - Mitel Networks Corporation |
|
|
|||||||||||||||||||||||||||||
ACE9050 датащи(HTML) 42 Page - Mitel Networks Corporation |
|
42 / 52 page ![]() ACE9050 42 TCSR 6303 Timer Control Status Register Register used to control and read the status of th 6303 Timer block. Refer to ‘6303 Processor Unit’ section of Hitachi or Motorola data book for full details . ICR 6303 Input Capture register 16 bit read only register used to hold the value of the free running counter captured when the proper transition of the ICN input occurred. Refer to ‘6303 Processor Unit’ section or Hitachi or Motorola data book for full details. Detailed Operation Once the IFC counter is set the next rising edge of the AFC/ RXDATA input pin will generate a negative transition on ICN. The IFC counter will then count the required number of transitions and create a positive edge on ICN at the end of the count period. The program has to control the 6303 timer in such a way that first the negative and then the positive transition of ICN is captured. The software can then calculate the difference between the two readings, which will give the elapsed time. Programming Example Initialise (a) Set IFFREQ to the determine the required Count (b) Reset STIFCN bit. This bit is reset by a hardware reset or by writing 0. It is not reset by the counter finishing execution. (c) Ensure the 6303 TCSR register is configured so as to capture a falling edge on ICN. Begin Count (a) Write 1 to STIFCN (b) Read the ICR after the negative transition on ICN (c) Set TCSR register so as to capture a rising edge on ICN (Within 5 or 45 ms) End of Count (a) When a capture has occurred the ICR register can be read. Calculate From the difference between the two ICR values captured, the elapsed time for the count period can be calculated. It is then possible to estimate the offset of the system crystal and cancel out this error using the ACE9030 DACs. If the crystal is off frequency it will have little effect on the timer accuracy. It will however affect the main synthesiser as the error is multiplied by the divider ratio set in the main synthesiser. The absolute error is then mixed down to appear on the 54kHz directly. 5. PULSE WIDTH MODULATOR Two Pulse Width Modulators are available in the ACE9050. These provide CMOS type outputs whose average high time can be set by software. External components can be used to filter the output and give a mean DC level. The values chosen for these components depend on the ripple and response time required in the application. Typical applications for such outputs are LCD contrast control and battery charging control. The PWM outputs are fed to output multiplexers; the corresponding external pin function is selected by software. The PWM circuits are designed to minimise the low frequency components of the output wave form. The PWM works on a 254 µs cycle time, with 0·992µs pulse duration. The number of pulses is programmed using the appropriate register. The hardware ensures that the pulses are distributed as evenly as possible within a cycle. This is shown in Fig. 24 for some simple programming examples. With suitable external components the following formula can be used to obtain the mean DC level of a PWM output: VMEAN = (DAC[7:0]4256)3VDD External Pins OUT2[1]/PWM1 Output (pin 98) Selection for the source for this pin is made via the PWMlMUX bit in PORT5. This pin is also described in the External Ports and Multiplexer section. OUT[2]/PWM2/LATCH[2] Output (pin 81) Selection for the source for this pin is made via the OUT2.2_SEL bits in PORT5. This pin is also described in the External Ports and Multiplexer section. Associated Registers Write Register DAC1 PORT DAC2 PORT Number of output pulses in a cycle period Number of output pulses in a cycle period Description Bits 7:0 7:0 Table 94 Fig. 24 Pulse Width Generator output NUMBER LOADED 32 64 128 1·008 MHz CLOCK |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |