| 数据搜索系统,热门电子元器件搜索 |
|
L9963E 数据表(PDF) 91 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
L9963E 数据表(HTML) 91 Page - STMicroelectronics |
|
91 / 184 page ![]() Table 59. Sampling intervals for the configuration parameters related to cyclic functionality Parameter Normal mode Continuous mode CONF_CYCLIC_EN Continuously sampled while DUTY_ON = 0 Every TROUTINE ADC_FILTER_CYCLE Every TCYCLE Every TROUTINE CYCLIC_CONTINUOUS Every TCYCLE Every TROUTINE BAL_TIM_AUTO_PAUSE Every TCYCLE Every TROUTINE BAL_AUTO_PAUSE Every TCYCLE Every TROUTINE CYCLIC_UPDATE Every TCYCLE Every TROUTINE NCYCLE_X Every TCYCLE Every TROUTINE 4.12.2.3 Configuration override The Configuration Override is a special routine execution mode, which is internally triggered by failure assertion, independently of the conversion type. It is meant to simplify failure validation and it works according to the following algorithm. If a failure is asserted at the x-th routine step, all the following steps will be performed, independently of their activation or periodicity. Any failure detected during these steps will be latched and available for the microcontroller to perform failure validation (refer to Figure 26). • Finding the OVR_LATCH set means that override occurred: – The OVR_LATCH is set upon failure assertion during the routine execution. – The OVR_LATCH is released and can be cleared upon read in case the last on-demand execution has ended without any failure detected (even if failures detected by previous executions are still latched in diagnostic registers). – All fault latches related to measurement registers (e.g. CELLx_UV/OV, GPIO UT/OT, etc.) cannot be cleared until a new conversion is executed and the root cause fault has disappeared. To understand the fault status of the last routine execution the MCU SW should observe the OVR_LATCH. • In case cyclic mode was activated, routine is not restarted after a Configuration Override. The OVR_LATCH masks the CONF_CYCLIC_EN configuration. This helps locking the routine status, allowing the MCU to intervene and observe the snapshot of the last execution. • Once Configuration Override is over (DUTY_ON 1 → 0), the voltage conversion routine is kept in idle, waiting for microcontroller to read diagnostic registers and validate the failure. • The following fault handling procedure must be executed once configuration override is over: 1. MCU must access diagnostic latches and perform correct failure validation as recommended in Table 60. 2. MCU must launch On-Demand Conversions (SOC = 1) in order to update measurement registers, while also disabling any cyclic execution by setting CONF_CYCLIC_EN = 0 in the same SPI frame. 3. MCU must wait for On-Demand Conversions to be over and evaluate routine result by reading the ADCV_CONV register. A read operation on such a register would reset the OVR_LATCH in case the execution launched at step 2 ended with no failure: ◦ In case failure persists, the read operation will not reset the OVR_LATCH. Return to step 1. ◦ In case failure disappeared, reading the ADCV_CONV register will also reset the OVR_LATCH. Proceed to step 4. 4. Read all diagnostic latches in order to clear them. 5. (Optional) Restart any cyclic execution by setting CONF_CYCLIC_EN = 1 Writing ADCV_CONV and NCYCLE_PROG_X registers during a Configuration Override is strongly not recommended, since it might affect the failure validation. The configuration override is performed keeping the same ADC filter settings programmed for the execution mode that was being executed. For instance, if it occurs during On-Demand Conversions, the ADC_FILTER_SOC will be used; in case it interrupts Cyclic Conversions, the ADC_FILTER_CYCLE or the ADC_FILTER_SLEEP will be used, depending on the device status. Microcontroller is able to detect the Configuration Override activity by polling the voltage conversion routine status as shown in Table 56. The steps of the voltage conversion routine have been arranged in a fixed order, engineered to allow failure validation in every possible scenario thanks to the Configuration Override capability: L9963E Voltage conversion routine DS13636 - Rev 12 page 91/184 |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |