| Electronic Components Datasheet Search |
|
PMS232 Datasheet(PDF) 91 Page - PADAUK Technology. |
|
|
|||||||||||||||||||||||||||||
PMS232 Datasheet(HTML) 91 Page - PADAUK Technology. |
|
91 / 94 page ![]() PMC232/PMS232 Series 12-bit ADC Enhanced FPPA TM 8-bit OTP Controller ©Copyright 2018, PADAUK Technology Co. Ltd Page 91 of 94 PDK-DS-PMx232_V104– Dec. 18, 2018 (4) If enable Watchdog during programming and also wants the fast wakeup, the example as below: CLKMD.En_WatchDog = 0; // disable watchdog timer $ MISC Fast_Wake_Up; stopexe; nop; $ MISC WT_xx; // Reset Watchdog time to normal wake-up Wdreset; CLKMD.En_WatchDog = 1; // enable watchdog timer 9-2-5. TIMER time out When select $ INTEGS BIT_R (default value) and T16M counter BIT8 to generate interrupt, if T16M counts from 0, the first interrupt will occur when the counter reaches to 0x100 (BIT8 from 0 to 1) and the second interrupt will occur when the counter reaches 0x300 (BIT8 from 0 to 1). Therefore, selecting BIT8 as 1 to generate interrupt means that the interrupt occurs every 512 counts. Please notice that if T16M counter is restarted, the next interrupt will occur once Bit8 turns from 0 to 1. If select $ INTEGS BIT_F(BIT triggers from 1 to 0) and T16M counter BIT8 to generate interrupt, the T16M counter changes to an interrupt every 0x200/0x400/0x600/. Please pay attention to two differences with setting INTEGS methods. 9-2-6. Using ADC (1) Configure corresponding IO as input through PXDIER register (2) The recommended highest ADC conversion frequency is 500kHz and maximum output impedance of analog signal source is 10KΩ. (3) Never restart next conversion before completion of last ADC conversion; otherwise, wrong value would get. (4) Please pay attention on sequence of operation if the program fits for below conditions, 1. Use the FPP (ex. FPPA0) for handling power-save mode to disable ADC. 2. Use the FPP (ex. FPPA1) for handling ADC conversion to enable ADC and wait for completion of ADC conversion with WAIT1 ADC_Done instruction. 3. Execute above【1】&【2】simultaneously In case the above sequence is not properly arranged, there may be a chance that FPPA1 can not pass through WAIT1 ADC_Done instruction because the ADC may be disabled by FPPA0 before WAIT1 ADC_Done instruction being executed. Recommendation: Define a Flag which represents the operation of ADC. Every time FPPA1 set the flag when enable the ADC and reset it when the completion of ADC conversion. FPPA0 checks this flag and decides to enter power-save and disable ADC if it is reset. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |