| 数据搜索系统,热门电子元器件搜索 |
|
L9963E 数据表(PDF) 89 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
L9963E 数据表(HTML) 89 Page - STMicroelectronics |
|
89 / 184 page ![]() Registers containing measurement results are updated as soon as the related conversion step is over, so they are available before TROUTINE ends. Each measurement register contains a d_rdy_xx (data ready) bit, which is set when a new measurement incomes and is reset upon a data read operation. Upon an on-demand conversion (SOC), the first step of the voltage conversion routine (cell measurement) is delayed until the first available current conversion start pulse comes. Hence, the cell measurement will start synchronously with the current sample acquisition. This technique is effective only by choosing the shortest filter option for voltage conversion routines (TCYCLEADC_000). On-Demand Conversions have lower priority than Configuration Override. When SOC 0 → 1: • If a Configuration Override is ongoing, it won’t be affected by SOC command. Therefore SOC, GPIO_CONV and DIAG bit will be discarded and kept ‘0’. 4.12.2.2 Cyclic conversions To start Cyclic Conversions, the user must set CONF_CYCLIC_EN = 1 in the ADCV_CONV register. The ADC_FILTER_CYCLE determines the duration of the routine steps. Cyclic Conversions activity can be used for both diagnostic and measurement purposes: • In case the routine is only intended for diagnostic purposes, the user may program CYCLIC_UPDATE = 0. This setting will cause any conversion result to be used only for internal comparisons. Data will be subsequently discarded and registers containing measurement results won’t be updated. • In case measurement results are important, the user may program CYCLIC_UPDATE = 1, thus causing measurement registers update upon each step completion, as for On-Demand Conversions. Be aware that results of a previous on-demand conversion might be overwritten by the ones of cyclic executions. Two counters are implemented for driving the cyclic execution: • TCYCLE is an SPI programmable timer accounting for cycle period. User can program the TCYCLE field in the ADCV_CONV register. • NCYCLE is an internal counter, incremented by 1 every time TCYCLE expires: it counts the number of cycles executed. It works in conjunction with the NCYCLE_X parameters to determine the periodicity of each routine step (refer to Section 4.12.4 Operations periodicity). In general, each step is executed if its NCYCLE_X parameter is different than 0. TCYCLE and NCYCLE shall not be updated while Cyclic Conversions are ongoing: routine must be first disabled by programming CONF_CYCLIC_EN = 0 and then re-enabled once all configuration parameters have been updated. Such counters are started/stopped upon FSM transitions. The following table summarizes all events involving the two timers: Table 57. Summary of the NCYCLE and TCYCLE events Event NCYCLE TCYCLE Effect on routine Routine active phase (TROUTINE) Frozen Counting Steps are being performed Routine idle phase Frozen Counting No step is being performed TCYCLE expiration NCYCLE = NCYCLE + 1 Restarted from 0 Routine restarted from first step CONF_CYCLIC_EN → 1 no action Reset and start from 0 Routine initialized and started. See Table 58 for additional information CONF_CYCLIC_EN 1 → 0 Wait for idle phase (DUTY_ON 1 → 0), then Stop and Reset Wait for idle phase (DUTY_ON 1 → 0), then Stop and Reset Routine disabled and reset after the active phase completion. See Table 58 for additional information L9963E Voltage conversion routine DS13636 - Rev 12 page 89/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 |