| Electronic Components Datasheet Search |
|
PAC1941T-1E/4MX. Datasheet(PDF) 31 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PAC1941T-1E/4MX. Datasheet(HTML) 31 Page - Microchip Technology |
|
31 / 96 page ![]() 2021 Microchip Technology Inc. DS20006543A-page 31 PAC194X 5.15.4 SINGLE-SHOT MODE The Control register also allows the device to operate in Single-Shot mode. In this mode, all active channels will sample and convert, followed by results being cal- culated. The accumulator and accumulator count operate the same as for Continuous Conversion mode, accumulating each single-shot power calcula- tion and incrementing the accumulator count. The con- version cycle will start when the REFRESH command (or REFRESH_V/REFRESH_G) is sent. After the single-shot measurements and calculations are complete, the device goes into Sleep mode. A REFRESH, REFRESH_G or REFRESH_V command may be sent to read the data. The user needs to wait about 2 ms after the REFRESH command before com- manding another single-shot conversion, by means of sending one of the REFRESH commands. This is because a 1 ms delay is required between REFRESH commands and coming out of Sleep requires 1 ms (band gap start-up delay). In general, single-shot com- mands are not this close together in time; instead, one of the lower sampling rates is used. There is an option to use a single REFRESH command to collect eight samples and average them in Single-Shot 8X mode. This reduces noise and offset in the result (see Register 7-2). In this mode, all eight samples are added to the accumulator and the accu- mulator count is incremented by eight each time a REFRESH is sent to trigger an additional Single-Shot 8X acquisition and conversion. In Single-Shot 8X mode, the 8X averaged result is read from the 8X averaged registers (Register 7-7 and Register 7-8) and the unaveraged result registers (Register 7-5 and Register 7-6) hold the last of the 8 samples. 5.16 ALERT Functionality The ALERT functionality has multiple purposes: to notify the system that a conversion cycle for all active channels is complete, to notify the system that the accumulator or accumulator count has overflowed or that an electrical parameter is outside the programmed limit. Alerts will cause the ALERT pin to be asserted low and latched low. The only exception to this is for the ALERT after COMPLETE CONVERSION, this will cause a 5 µs pulse of the ALERT pin. Alerts are set at the end of the round robin cycle. 5.16.1 ALERT AFTER COMPLETE CONVERSION Register 7-21 and Register 7-22 have bits ALERT_CC1 and ALERT_CC2 that can be used to enable the ALERT_CC function. If this bit is set, the assigned ALERT pin goes low for 5 µs after each round robin conversion cycle is complete. This function may be used when you want to read data continuously as soon as each round robin conversion cycle is complete. This Conversion Complete ALERT does not set a bit in Register 7-20. 5.16.2 ALERT PIN ASSIGNMENTS The ALERT function may be assigned to either the SLOW/ALERT1 pin or the GPIO/ALERT2 pin. Use Register 7-21 and/or Register 7-22 to assign any of the ALERT functions to these pins. To configure the SLOW/ALERT pin to function as ALERT, use Register 7-2. Note that the SLOW func- tion of this pin cannot be used once the ALERT function is programmed for this pin. There is a general ALERT signal on bit 5 of the SMBus Settings (1Ch). This register bit can be monitored over the I2C/SMBus or monitored on the ALERT/SLOW, as mentioned above. This register does not require a Refresh signal to update the values, so it is easy to poll if the user desires. 5.16.3 USING THE ALERT PINS AS I/O PINS The ALERT pins may also be used as I/O pins. This functionality is enabled in Register 7-2. When used as an I/O pin, there are bits for holding input and output data (read or to be written) in Register 7-10. This register does not need a Refresh to update it, so the input data may be read or the output data changed without affecting anything else. Note: When using the device in single-channel Burst mode, the Conversion Complete ALERT will not assert. |
|
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 |