Methods and circuits for electrical power supply

12620998 ยท 2026-05-05

Assignee

Inventors

Cpc classification

International classification

Abstract

A circuit includes at least one coupling node configured to be coupled, via a cable, to a load to transmit a supply voltage thereto. The circuit includes test circuitry configured to sense at least one sensing signal indicative of a value of the cable impedance and/or of the cable voltage across the cable, to perform a comparison between the at least one sensing signal and at least one threshold indicative either of a threshold resistance value for the cable impedance or indicative of a threshold voltage value for the cable voltage, produce a comparison signal as a result of the comparison.

Claims

1. A circuit, comprising: at least one coupling node configured to be coupled, via a cable, to a load to transmit a supply voltage thereto, the cable having a cable impedance and configured to carry a cable voltage; and test circuitry coupled to the at least one coupling node, the test circuitry configured to: sense at least one sensing signal indicative of a value of the cable impedance and/or of a cable voltage across the cable; perform a comparison between the at least one sensing signal and at least one threshold indicative either of a threshold resistance value for the cable impedance or indicative of a threshold voltage value for the cable voltage; produce a comparison signal as a result of the comparison, the comparison signal having a first logic value or a second logic value, as a result of the at least one sensing signal reaching or failing to reach the at least one threshold; and assert a flag signal based on the logic value of the comparison signal, the flag signal being indicative of the value of the cable impedance being lower than the threshold resistance value or being indicative of a cable voltage across the wired cable being greater than the threshold voltage value, wherein the test circuit includes: an I/O node configured to provide the sensing signal; at least one Zener diode interposed to the at least one resistive element of the coupling circuit and the I/O node; a capacitive element coupled between ground and the I/O node; an analog-to-digital converter circuit coupled to the I/O node to sense the sensing signal therefrom, the analog-to-digital converter circuit configured to perform the comparison and to produce the comparison signal based on the comparison; and a logic unit coupled to the ADC circuit to receive the comparison signal from the analog-to-digital converter circuit, wherein the ADC circuit is configured to produce the comparison signal having the first logic value or the second logic value based on the at least one sensing signal reaching or failing to reach the at least one threshold and the logic unit is configured to assert the flag signal based on the logic value of the comparison signal.

2. The circuit of claim 1, wherein the test circuitry includes: a digital buffer circuit coupled to the logic unit and to the I/O node, the digital buffer circuit configured to receive a drive signal from the logic unit and to apply a first voltage level or a second voltage level to the I/O node in response to the logic unit asserting the drive signal with a first logic value or a second logic value, wherein the test circuitry is configured to: assert the drive signal with the first logic value during a first time-interval to initiate charging the capacitive element; after lapse of the first time-interval, leave floating the drive signal during a second time interval to initiate discharging of the capacitive element; assert the drive signal after lapse of the second time-interval to reset the capacitive element to a discharged state; perform the comparison between the at least one sensing signal and at least one threshold indicative of a threshold resistance value for the cable impedance during the discharge of the capacitive element at lapse of the second time interval and to produce the comparison signal as a result of the comparison, the comparison signal having a first logic value or a second logic value based on the at least one sensing signal reaching or failing to reach the at least one threshold; and assert the flag signal based on the logic value of the comparison signal being indicative of the value of the cable impedance being lower than the threshold resistance value.

3. The circuit of claim 2, further comprising at least one resistive element coupled to the test circuitry.

4. The circuit of claim 1, comprising: a digital buffer coupled to the logic unit and to the I/O node, the digital buffer circuit configured to receive a drive signal from the logic unit and to apply a first voltage level or a second voltage level to the I/O node based on the logic unit asserting the drive signal with a first logic value or a second, logic value, wherein the test circuitry is configured to: assert the drive signal with the first logic value during a first time-interval to initiate charging the capacitive element; leave floating the drive signal after lapse of the first time-interval, to initiate discharging of the capacitive element; perform the comparison between the at least one sensing signal and at least one threshold indicative of a threshold resistance value for the cable impedance and to produce the comparison signal as a result of the comparison, the comparison signal having a first logic value logic value or a second logic value, as a result of the at least one sensing signal reaching, resp. failing to reach, the at least one threshold; in response to the comparison signal having the second logic value, calculate a decay time interval between a first time instant of assertion of the drive signal and a second time instant at which the comparison signal transitions from the first logic value to the second logic value; compute a value of the cable resistance based on the calculated decay time interval; and provide the computed cable resistance value to a user circuit.

5. The circuit of claim 1, wherein the cable is compliant with the universal serial bus standard.

6. A method, comprising: coupling at least one coupling node, via a cable, to a load to transmit a supply voltage thereto, the cable having a cable impedance and configured to carry a cable voltage; sensing at least one sensing signal indicative of a value of the cable impedance or of the cable voltage across the cable; performing a comparison between the at least one sensing signal and at least one threshold indicative either of a threshold resistance value for the cable impedance or indicative of a threshold voltage value for the cable voltage; producing a comparison signal as a result of the comparison, the comparison signal having a first logic value or a second logic value based on the at least one sensing signal reaching or failing to reach the at least one threshold; asserting a flag signal based on the logic value of the comparison signal, the asserted flag signal being indicative of the value of the cable impedance being lower than the threshold resistance value, or being indicative of a cable voltage across the wired cable being greater than the threshold voltage value; and asserting a drive signal with the first logic value during a first time-interval; after lapse of the first time-interval, leaving the drive signal floating during a second time interval; asserting the drive signal after lapse of the second time-interval; performing the comparison between the at least one sensing signal and at least one threshold indicative a threshold resistance value for the cable impedance during the discharge of the capacitive element at lapse of the second time interval, producing the comparison signal as a result of the comparison, the comparison signal having a first logic value or a second logic value, as a result of the at least one sensing signal reaching or failing to reach, the at least one threshold; and asserting the flag signal based on the logic value of the comparison signal being indicative of the value of the cable impedance being lower than the threshold resistance value.

7. The method of claim 6, comprising: asserting the drive signal with the first value during a first time-interval; initiating discharging of the capacitive element by leaving the drive signal floating after lapse of the first time-interval; performing the comparison between the at least one sensing signal and at least one threshold indicative a threshold resistance value for the cable impedance and producing the comparison signal as a result of the comparison, the comparison signal having a first logic value or a second logic value, as a result of the at least one sensing signal reaching or failing to reach the at least one threshold; in response to the comparison signal having the second logic value, calculating a decay time interval between a first time instant of assertion of the drive signal and a second time instant at which the comparison signal transitions from the first logic value to the second logic value; computing a value of the cable resistance based on the calculated decay time interval; and providing the computed cable resistance value to a user circuit.

8. The method of claim 6, wherein the cable is compliant with the universal serial bus standard.

9. A device, comprising: a transmission interface including: a first coupling node configured to be coupled to a cable; a sensing circuit coupled to the first coupling node and configured to sense an electrical quantity of the cable via the first coupling node, wherein the sensing circuit includes a first resistor coupled to the first coupling node and a Zener diode coupled to the first resistor; a testing circuit coupled to the sensing circuit and configured to provide a signal indicative of an operational condition of the cable based on the electrical quantity; and a control circuit coupled to the testing circuit and configured to drive the testing circuit block to perform a test on the coupling node and to receive the signal from the testing circuit based on the test, wherein the control circuit includes a single bit ADC configured to receive the signal from the testing circuit, a logic circuit coupled to an output of the single-bit ADC and configured to assert a flag indicative of a fault in the cable based on the signal, and a tri-state buffer including an input coupled to the logic circuit and an output coupled to the input of the single-bit ADC.

10. The device of claim 9, wherein the transmission interface includes a second coupling node configured to be coupled to the cable, wherein the sensing circuit includes a second resistor coupled between the second coupling node and the first resistor.

11. The device of claim 9, wherein the testing circuit includes a capacitor coupled between the Zener diode and ground.

12. The device of claim 11, wherein the testing circuit includes a limiting resistor coupled to the capacitor and the Zener diode.

13. The device of claim 9, comprising: a plug configured to be coupled to a socket to receive an AC voltage; and an AC/DC converter coupled to the plug to receive the AC voltage and to provide a supply voltage based on the AC voltage; wherein the transmission interface is coupled to the AC/DC converter to receive the supply voltage therefrom and is configured to transmit the supply voltage to a load via the cable.

Description

BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWINGS

(1) One or more embodiments will now be described, by way of non-limiting example only, with reference to the annexed Figures, wherein:

(2) FIG. 1 is an exemplary diagram of test circuitry for electrical power supply;

(3) FIG. 2 is an exemplary diagram of alternative test circuitry for electrical power supply;

(4) FIG. 3 is a time diagram of signals involved in using the test circuitry exemplified in FIG. 1 or 2;

(5) FIG. 4 is an exemplary diagram of a solution as per the present disclosure;

(6) FIG. 5 is a time diagram of signals in one or more scenarios as per the present disclosure;

(7) FIGS. 5A and 5B are time diagrams of signals in alternative scenarios as per the present disclosure;

(8) FIG. 6 is an exemplary diagram of an alternative solution as per the present disclosure; and

(9) FIGS. 7A and 7B are time diagrams of signals in one or more alternative scenarios as per the present disclosure.

(10) Corresponding numerals and symbols in the different figures generally refer to corresponding parts unless otherwise indicated.

(11) The figures are drawn to clearly illustrate the relevant aspects of the embodiments and are not necessarily drawn to scale.

(12) The edges of features drawn in the figures do not necessarily indicate the termination of the extent of the feature.

DETAILED DESCRIPTION

(13) In the ensuing description, one or more specific details are illustrated, to assist in providing an in-depth understanding of examples of embodiments of this description. The embodiments may be obtained without one or more of the specific details, or with other methods, components, materials, etc. In other cases, known structures, materials, or operations are not illustrated or described in detail so that certain aspects of embodiments will not be obscured.

(14) Reference to an embodiment or one embodiment in the framework of the present description is intended to indicate that a particular configuration, structure, or characteristic described in relation to the embodiment is included in at least one embodiment. Hence, phrases such as in an embodiment or in one embodiment that may be present in one or more points of the present description do not necessarily refer to one and the same embodiment.

(15) Moreover, particular conformations, structures, or characteristics may be combined in any adequate way in one or more embodiments.

(16) The drawings are in simplified form and are not to precise scale.

(17) The references used herein are provided merely for convenience and hence do not define the extent of protection or the scope of the embodiments.

(18) As exemplified in FIG. 1, a (e.g., USB) power adapter 10 is an electric device that is used to provide an electrical power supply an electrical device 16 (e.g., to charge the battery thereof) using a (e.g., USB) wired cable 13 as a way to transmit the electrical power supply. For instance, the adapter 10 includes and AC/DC converter (or AC adapter, AC/DC adapter or A/C adapter), known per se, to convert the AC power from the plug to a suitable DC level which can be provided to the load 16 via the wired cable 13.

(19) As exemplified in FIG. 1, the power adapter 10 includes a power transmitting interface 12 configured to engage with a first port of the wired cable 13, such as a universal serial bus-power delivery (briefly, USB-PD or USB) interface.

(20) Currently, a USB connector interface 12 is present in a wide range of power adapters 11, in particular battery chargers for charging the battery of portable electronic devices.

(21) As exemplified in FIG. 1, the power adapter 10 includes: a plug 11 configured to be coupled to a power-supply socket to receive an AC supply voltage therefrom; an AC/DC converter (not shown) configured to convert the AC supply voltage to a DC supply voltage suitable for the load 16; and a (e.g., USB) power transmitting interface 12 (per se known) configured to be coupled to the (e.g., USB) wired cable 13 to provide the supply voltage therewith to the load 16.

(22) As exemplified in FIG. 1, the load 16 includes: a (e.g., USB) power receiving interface 14 configured to receive the adapted power supply 10 provided from the power adapter 10 via a respective port of the (e.g., USB) cable 13 coupled thereto; and an electrical load 16, e.g., a resistive load Z.sub.L of some portable device to be charged with the received adapted voltage.

(23) As exemplified in FIG. 1, the (e.g., USB) wired cable 13 is configured to be coupled to the power transmitting interface 12 of the adapter 10 to receive the power supply voltage therefrom and to the power receiving interface 14 of the load 16 to transmit thereto the supply voltage received from the power transmitting interface 12.

(24) As exemplified in FIG. 1, the transmitting 12 and receiving 14 interfaces include respective coupling nodes D+, D, D++, D to transmit/receive communications and/or communication nodes CC1, CC2 to perform other known operations thereby.

(25) For instance, in the exemplary case of power interfaces 12, 14 of the USB type, the various nodes include: coupling nodes D+, D on the side of the power adapted and respective coupling nodes D++, D on the side of the load 16; and further nodes CC1, CC2 to communicate with the load 14 and determine the power level thereof.

(26) It is noted that there may be also other nodes or coupling between nodes, not shown for the sake of simplicity of the figures.

(27) For the sake of simplicity, one or more embodiments will be described in the following mainly with reference to a USB-kind of cable 13 and power interfaces 12, 14, being otherwise understood that such a kind of connector is purely exemplary and in no way limiting.

(28) As exemplified in FIGS. 1 and 2, a set of test devices 18, 20 may be used to test the reliability of the device 10 in the presence of a malfunctioning with respect to the wired cable 13 connection of communication pins D+, D.

(29) For instance: a first test device 18 may be configured to test the cable impedance across the first coupling nodes D+, D and ground to simulate the presence therebetween of an impedance towards ground lower than a threshold value R.sub.SHORT, indicating the risk of a short-circuit; and a second test device 20 may be configured to simulate a condition in which the voltage across either one the first D+, D++ on the interface 12 and ground is higher than a certain threshold level, in order to detect any overvoltage condition therebetween which may result from a short circuit among either one of nodes D+, D and a supply voltage (e.g., VBUS).

(30) As exemplified in FIGS. 1 and 2, test devices 18, 20 facilitate to satisfy constraints (e.g., provided by the USB standards or by the specific application) regarding the impedance and voltage levels at the coupling nodes D+, D. For example, in a power adapter 10 (whether adopting the so-called battery charging USB/USB-BC profile or not), the test devices 18, 20 may be used to verify whether two nodes D+, D at the first interface 12 have a resistance across either one of D+, D and ground which is lower than a resistance threshold value R.sub.SHORT (e.g., R.sub.SHORT=20052) referred to ground.

(31) As exemplified in FIG. 1, a first test device 18 for safety testing with respect to the resistance threshold includes: a first resistive element R.sub.T1 having a first variable resistance R.sub.T1, the first resistive element R.sub.T1 coupled between the first coupling node D+ and ground; and a second resistive element R.sub.T2 having a second variable resistance R.sub.T2, the second resistive element R.sub.T2 coupled between the second coupling node D and ground.

(32) The first test device 18 as exemplified in FIG. 1 is configured to gradually reduce the values of the first or second variable resistances R.sub.T1, R.sub.T2 until the value drops below the resistance threshold value R.sub.SHORT. In response to detecting a resistance below the threshold, the cable 13 may be labeled as a faulty cable.

(33) As exemplified in FIG. 2, a second test device 20 for a further or alternative safety testing of the apparatus 10 includes: an auxiliary power supply 22 configured to provide a variable voltage level; a first diode Q1 coupled between the first coupling node D+ of the interface 12 and the auxiliary power supply 20; and a second diode Q2 coupled between the second coupling node D and the auxiliary power supply 20.

(34) The second test device 20 as exemplified in FIG. 2 is configured to gradually increment the voltage level provided by the auxiliary power supply 22 until it reaches or exceeds a voltage threshold level V.sub.OV (e.g., V.sub.OV about 5V). In response to detecting a voltage above the voltage threshold level, the cable 13 may be labeled as a faulty cable.

(35) FIG. 3 is an exemplary diagram showing an output voltage V.sub.OUT provided by the power supply 11 as a function of time during the variation of the voltage across either one of the nodes D+, D and ground when coupled to the auxiliary voltage source 22 via the diodes Q1, Q2.

(36) As illustrated in FIG. 2, at time instant T*, that is as soon as the voltage drop V across either one of the coupling nodes D+, D and ground reaches the voltage threshold level V.sub.OV, the output voltage V.sub.OUT goes from a supply voltage level to zero.

(37) As exemplified in FIG. 4, an improved power interface 12 as per the present disclosure includes: a sensing circuit block 120 coupled to the coupling nodes D+, D and configured to sense an electrical quantity (e.g., voltage) among (or at least one of) the first coupling node D+ and the second coupling node D of the power interface 12; a testing circuit block 122 coupled to the sensing circuit block 120, the testing circuit block 122 including test circuitry configured to provide a signal indicative of an operational condition of the cable 13 coupled to the coupling nodes D+, D based on the electrical quantity received therefrom; and a control circuit block 124 coupled to the testing circuit block 122, the control circuit block 124 configured to drive the testing circuit block 122 to perform at least one testing method and to receive the signal indicative of the operational condition of the cables from the testing circuit block 122 as a result of performing the at least one testing method.

(38) An arrangement as exemplified in FIG. 4 facilitates integrating safety testing procedures directly into the power interface 12, therefore increasing reliability thereof.

(39) As exemplified in FIG. 4, the sensing circuit block 120 includes a first resistive element R.sub.D1 and a second resistive element R.sub.D2 (e.g., both having a same resistance R.sub.D1=R.sub.D2), the first resistive element R.sub.D1 being coupled to the first coupling pin D+ and to a common node P while the second resistive element R.sub.D2 is coupled to the second coupling pin D and to the common node P. For instance, the first and second resistive elements R.sub.D1, R.sub.D2 provide a sensing signal V.sub.P as a fraction of the voltage drop across the first D+ and second D coupling nodes.

(40) As exemplified in FIG. 4, the first R.sub.D1 and second R.sub.D2 resistive elements in the sensing circuit block 120 can be compliant with USB standard specifications, e.g., implying a total resistance value below 200.

(41) As exemplified in FIG. 4, the detection circuit block 122 includes: a (e.g., Zener) diode D.sub.Z having one end (e.g., the cathode) coupled to the common node P of the sensing circuit block 120 and the other end (e.g., the anode) coupled to a I/O node GPIO of the control circuit block 124; and a capacitive element C.sub.M coupled to the I/O node GPIO of the control circuit block 124, the capacitive element C.sub.M being referred to ground.

(42) Optionally, the detection circuit block 122 further includes a limiter element R.sub.LIM (e.g., a resistive element R.sub.LIM) interposed between the diode D.sub.Z, the capacitive element C.sub.M and the I/O node GPIO, the limiter element R.sub.LIM configured to protect the control circuit block 124 from receiving exceedingly high current levels in case of an overvoltage across the cable 13.

(43) As exemplified in FIG. 4, the control circuit block 124 includes: the I/O node GPIO configured to receive the electrical quantity from the testing circuit block 122; an analog-to-digital converter (briefly, ADC) circuit 126, such as a 1-bit ADC circuit, coupled to the I/O node GPIO and configured to receive a voltage at the I/O node GPIO, the ADC circuit 126 further configured to provide a digital detection signal D.sub.S indicative of the voltage at the I/O node GPIO as a result; for instance, a first voltage level V.sub.IH (e.g., V.sub.IH2V) may correspond to a first (e.g., high or 1) logic value, while a second voltage level V.sub.IL (e.g., V.sub.IL1V) may correspond to a second (e.g., low or 0) logic level for the digital detection signal D.sub.S; a digital buffer circuit (such as tri-state digital buffer, known per se) 128 coupled to the I/O node GPIO and configured to provide thereto a driving signal DRV, forcing a voltage level at the I/O node GPIO as a result; for instance, a first voltage level VOH (e.g., V.sub.OH3.3V) may correspond to a first (e.g., high or 1) logic level for the driving signal DRV, while a second voltage level V.sub.OL (e.g., V.sub.OL0V) may correspond to a second (e.g., low or 0) logic level for the driving signal DRV; a logic unit 129 coupled to the ADC circuit 126 to receive the detection signal D.sub.S therefrom and coupled to the digital buffer circuit 128 to provide the detection signal DRV thereto, the logic unit 129 configured to perform signal processing of the detection signal D.sub.S in response to asserting the drive signal DRV during the at least one testing method, in order to detect the presence or the absence of possible fault on the cables 13; and optionally, a further (e.g., analog) input node A.sub.IN configured to be coupled to the ADC circuit 126, the further node A.sub.IN configured to be coupled to an external ADC circuit, e.g., having an improved bit precision with respect to the 1-bit ADC 126.

(44) As exemplified in FIG. 4, block 130 models the possible faults from which may affect the cable. For instance, such faults include: a cable resistance R.sub.C which may have a fault resistance value equal to or lower than the threshold resistance value R.sub.SHORT, e.g., a short circuit fault condition on the cable 13; and a voltage generator V.sub.C which may be an overvoltage V.sub.FAULT above the threshold voltage level V.sub.OV.

(45) In one or more embodiments, the control circuit block 124 is configured to perform at least one testing method regularly for brief time intervals, e.g., about 1 second while power supply is being provided normally to the load 14, without severely interrupting the power transfer.

(46) In one or more embodiments, the control circuit block 124 is configured to perform a first testing method, including: at a first time instant T1, asserting the drive signal DRV at the first logic value (e.g., high or 1); in the hypothesis that the capacitive element C.sub.M is initially discharged, charging the capacitive element C.sub.M in the detection circuit block 122 until reaching (at a second time instant T2) the first voltage level V.sub.OH of the digital buffer circuit 128 in response to the digital buffer circuit 128 providing a converted drive signal DRV having the first voltage level V.sub.OH at the I/O node GPIO; when the capacitance of the capacitive element C.sub.M is charged at time instant T2, coupling the input node of the digital buffer circuit 128 to an open circuit, leaving the corresponding input node of the digital buffer 128 floating at high impedance and also the I/O node GPIO free to have any value; optionally, detecting the electrical quantity (e.g., voltage) at the I/O node GPIO and converting the electrical quantity (via ADC circuit 126) to a logic value of the digital detection signal logic level D.sub.S; waiting for a time-out time, e.g.,

(47) ln ( V OH V IL ) and after the time-out time, alternatively: in response to the digital sensing signal D.sub.S having the first logic value, de-asserting a fault flag signal F at the second logic value (e.g., low or 0) and asserting the drive signal DRV to the second logic level (in order to drive the I/O node GPIO back to ground), initiating a discharging process of the capacitive element C.sub.M; or in response to the digital sensing signal D.sub.S having the second logic value, computing a resistance across the coupling pins D+, D based on the time interval between the interruption of the assertion of the drive signal DRV and the time instant at which the digital sensing signal D.sub.S has switched to the second logic value, performing a comparison between the computed resistance value and the threshold resistance value R.sub.SHORT and by asserting a fault flag signal F to the first logic value (e.g., high or 1) via the logic unit 129 in case the comparison yields that the computed resistance fails to reach the threshold resistance value R.sub.SHORT. For instance, the unit 124 may be configured to interrupt the power delivery from the power supply 11 to the load 14 in response to the fault flag signal F being asserted at the first logic value.

(48) As exemplified in FIG. 5, in case the resistance R.sub.C of the cables 13 has a faulty value R.sub.SHORT, after the second time instant T.sub.2 the capacitive element C.sub.M begins discharging at a speed determined by the time constant =C.sub.M.Math.R.sub.C, while the digital buffer circuit 128 is coupled at high impedance. Therefore, the ADC circuit 126 detects a voltage signal V.sub.GPIO at the I/O node GPIO which gradually decreases with respect to the desired first (e.g., high) voltage level V.sub.IH. As a result of the voltage signal dropping below the low logic level V.sub.IL, at the time instant T* the sensing signal D.sub.S switches from the first (e.g., high) logic level to the second (e.g., low) logic level, e.g., after a decay time interval which may be expressed as

(49) = ln ( V OH V IL ) .

(50) As exemplified in FIG. 5, the logic unit 129 is configured to keep sensing the signal D.sub.S for a time interval T2-T3 longer than the natural voltage decay time interval . Therefore, the switch of the logic level of the sensing signal D.sub.S is detected at time instant T* which is within the time-out time interval T2-T3.

(51) For instance, the logic unit 129 is configured to compute the value of the cable resistance R.sub.C, as:

(52) R C = t C M ln ( V O H V I L )

(53) For instance, the logic unit 129 is configured to perform a comparison between the computed value of resistance R.sub.C and the threshold resistance value R.sub.SHORT, and to raise the fault flag signal F in response to the comparison yielding that the measured resistance fails to reach the resistance threshold value R.sub.SHORT.

(54) In an alternative scenario, the act of computing the resistance value may be optional: by setting the time-out time instant T3 to have a value equal to the worst case scenario decay time .sub.WCS, that is the scenario in which the cable resistance R.sub.C is equal to the threshold resistance value R.sub.SHORT, e.g.,

(55) WCS = R SHORT C MEAS ln ( V OH V IL ) .

(56) In such an alternative scenario, the logic unit 129 is configured to assert the fault flag signal F in response to the sensing signal D.sub.S switching from the high logic value to the low logic value at any time during the worst-case scenario decay time interval .sub.WCS.

(57) For instance, in both scenarios discussed above, after completing the first testing method, the control circuit block 124 may be configured to assert the drive signal back to the low voltage signal in order to drive the I/O node GPIO back to ground, fully discharging any voltage remaining on the capacitive element C.sub.M and therefore being able to perform again the same or another testing method.

(58) FIGS. 5A and 5B are exemplary time diagrams of signals in case the alternative testing method discussed above is applied to a cable that works properly (FIG. 5A), that is one having a resistance value above the threshold level R.sub.SHORT, and to a faulty cable (FIG. 5B), that is one whose impedance is below the threshold resistance value R.sub.SHORT.

(59) As exemplified in FIG. 5A, in the case of a high-impedance cable: at the first time instant T.sub.1 the drive signal DRV is asserted, leading to the capacitive element C.sub.M beginning the charging process, with a voltage signal V.sub.GPIO at the I/O node GPIO increasing as a result; at the second time instant T2, application of the drive signal DRV is interrupted, leaving the corresponding input node of the digital buffer 128 floating at high impedance; at a third time instant T3 corresponding to a time-interval equal to the worst-case scenario time-interval .sub.WCS from the second time instant T2, the value of the sensing signal D.sub.S is recorded by the logic unit 129; as the sensing signal D.sub.S is at the first high value at the third time instance, the logic unit 129 correctly does not raise any fault flag signal F; and at a fourth time instant T4, the driving signal DRV is asserted at the second level for a short time in order to reset the voltage on C.sub.M, facilitating repeating the testing method in a subsequent moment of the life of the cable.

(60) As exemplified in FIG. 5B, in case of a faulty cable, the logic unit 129 received the sensing signal D.sub.S at the second low value and correctly raises a fault flag signal F in response to such detection.

(61) In one or more embodiments, the control circuit block 124 is configured to perform a second testing method, including: at a first time instant (e.g., after the reset discharge of the capacitive element C.sub.M), coupling the input of the digital buffer circuit 128 to an open circuit, leaving it floating at high impedance; consequently, due to the breakdown voltage V.sub.Z of the Zener diode D.sub.Z, the voltage V.sub.GPIO on the I/O node GPIO becomes equal to the average voltage V.sub.P minus the breakdown voltage V.sub.Z, e.g., V.sub.GPIO=V.sub.PV.sub.Z=(V.sub.D+V.sub.D+)/2V.sub.Z.

(62) Selecting an appropriate value for the voltage breakdown of the diode V.sub.Z, it is possible to obtain an indication of the presence or absence of an overvoltage condition V.sub.FAULT on the cables.

(63) Specifically, selecting the Zener breakdown voltage to be equal to

(64) V Z = V OV - V IH where: V.sub.OV is the overvoltage threshold level; and V.sub.IH is the low voltage level corresponding to the low logic value of the ADC 126.

(65) For instance, the sensing signal D.sub.S reaches a first (e.g., high) logic value in response to the average voltage V.sub.P across ground and any coupling node of the coupling nodes D+, D being higher than the overvoltage threshold value V.sub.FAULT.

(66) Therefore, the logic unit 129 is configured to raise the fault flag signal F (or an additional fault flag signal) in response to the sensing signal D.sub.S having a high logic level during performance of the second testing method.

(67) As exemplified in FIG. 6, in one or more alternative scenarios: an alternative sensing circuit block 120 includes a single resistive element RD in place of the two resistive elements RD1, RD2, e.g., RD=RD1+RD2; and an alternative testing circuit block 122 includes a pair of (e.g., Zener) diodes D.sub.Z1, D.sub.Z2 including a first diode DZ1 interposed between the I/O node GPIO and the first coupling node D+ and a second diode D.sub.Z2 interposed between the I/O node GPIO and the second coupling node D.

(68) A solution as exemplified in FIG. 6 may increase accuracy of the second testing method in measuring the presence of any overvoltage, by measuring the highest among the voltages V.sub.D, V.sub.D+ at the respective coupling nodes D+, D instead of the average of the two voltages V.sub.D, V.sub.D+.

(69) As exemplified in FIGS. 7A and 7B further alternatives may be envisaged.

(70) Specifically, one or more embodiments discussed in the foregoing are based on the observation that the time-constant of the discharge process of the capacitive element C.sub.M varies if the resistance of the cable goes below the resistance threshold value R.sub.SHORT.

(71) In the alternative scenario exemplified in FIGS. 7A and 7B, voltage may be used as an indicator of the presence or not of a cable impedance lower than expected, exploiting the voltage divider which would be formed among the cable resistance R.sub.C and the limiting resistive element R.sub.LIM, further exploiting the capacitive element C.sub.M as a temporary storage for that voltage, as discussed in the following.

(72) As exemplified in FIGS. 7A and 7B, in an alternative scenario in which the limiting element R.sub.LIM is present in the circuit 122, 122 (e.g., with a value of limiting resistance R.sub.LIM close to the resistance threshold value R.sub.SHORT) it may be possible to design the capacitance of the capacitive element C.sub.MEAS to be high enough to slow-down the discharge process, keeping an almost stable voltage for a time interval during which the I/O node GPIO is left in high impedance.

(73) In such an exemplary scenario, the first testing method includes: at the first time instant T.sub.1 the drive signal DRV is asserted for a (e.g., short) time interval, leading to the capacitive element C.sub.M beginning the charging process, with a voltage signal V.sub.GPIO at the I/O node GPIO increasing as a result; for instance, the capacitor C.sub.M is charged so as to have a stored voltage V.sub.CM until the stored voltage V.sub.CM reaches a limit voltage V, e.g.,

(74) V = V O H R fault R fault + R lim ; at the second time instant T.sub.2, application of the drive signal DRV is interrupted, leaving the corresponding input node of the digital buffer 128 floating at high impedance; at the third time instant T3, close to the second time instant T2 to limit the effects of the capacitor discharging through the faulty cable resistance R.sub.C, the voltage V.sub.GPIO at the I/O node GPIO is sensed via the ADC 126, providing the corresponding sensing signal D.sub.S to the logic unit 129; the logic unit 129 is configured to calculate the cable resistance R.sub.C present on the cable as discussed in the foregoing, e.g.,

(75) R C = R lim V V O H - V ; at the fourth time instant T4, the method includes asserting the driving signal DRV to the second logic level in order to reset the voltage on C.sub.M, facilitating repeating the testing method in a subsequent moment of the life of the cable.

(76) For instance, during the interval between the fourth time interval and the first time-interval of a new impedance-testing sequence, the overvoltage-testing sequence may be performed.

(77) As exemplified in FIGS. 7A, in case of a low-impedance faulty cable the sensing signal has the second logic value during the time interval T2-T3, so that the logic unit 129 is configured to assert the fault flag signal F in response thereto; conversely, as exemplified in FIG. 7B, in case of a cable having a resistance above the resistance threshold value the sensing signal D.sub.S has the first logic value, so that the logic unit 129 is configured not to raise any fault flag signal F in response thereto.

(78) In one or more embodiments, the ADC 126 may be configured to provide the sensing signal D.sub.S with the first logic value, respectively the second logic value, in response to the voltage at the I/O node GPIO being above, respectively below, a voltage which may be expressed as

(79) V IH = V IL = V OH R SHORT R SHORT + R lim .

(80) Alternatively, in one or more embodiments the threshold voltage of the ADC 126 may have different values V.sub.IH, V.sub.IL previously discussed. In such an alternative scenario, the limiting element R.sub.LIM can be selected to have an alternative resistance value R.sub.LIM which may be expressed as:

(81) R LIM = R SHORT V OH - V IL V IL

(82) Thereby, if the fault resistance R.sub.C is higher than the resistance threshold value R.sub.SHORT, the sensing signal has the first logic value during the time interval T2-T3 in which the I/O node GPIO is left in high impedance.

(83) It is further noted than in the alternative scenario exemplified in FIGS. 7A and 7B the charge phase of the capacitive element C.sub.M is longer than that shown in FIGS. 5A and 5B, as a result of the presence of the limiting resistive element R.sub.LIM which increases the charging time constant.

(84) As exemplified herein, a circuit 12 includes: at least one coupling node D+, D configured to be coupled, via a cable 13, to a load 16 to transmit a supply voltage thereto, the cable having a cable impedance R.sub.C (e.g., referred to ground) and configured to carry a cable voltage V.sub.C (e.g., the cable voltage V.sub.C equal to a voltage drop between a coupling node D+ or D and ground); and test circuitry 122, 124 coupled to the at least one coupling node, the test circuitry configured to: sense 126 at least one sensing signal V.sub.GPIO indicative of a value of the cable impedance and/or of a cable voltage across the cable; perform a comparison between the at least one sensing signal and at least one threshold V.sub.IL indicative either of a threshold resistance value for the cable impedance or indicative of a threshold voltage value for the cable voltage; produce a comparison signal D.sub.S as a result of the comparison, the comparison signal having a first logic value, resp. a second logic value, as a result of the at least one sensing signal reaching, resp. failing to reach, the at least one threshold, and assert a flag signal F based on the logic value of said comparison signal, the flag signal being indicative of the value of the cable impedance being lower than the threshold resistance value, and/or being indicative of a cable voltage across the wired cable being greater than the threshold voltage value.

(85) As exemplified herein, the test circuit includes: an input/output, I/O, node GPIO configured to provide the sensing signal; at least one Zener diode D.sub.Z; D.sub.Z1, D.sub.Z2 interposed to the at least one resistive element of the coupling circuit and the I/O node; a capacitive element C.sub.M referred to ground coupled to the I/O node; an analog-to-digital converter, ADC circuit 126 coupled to the I/O node to sense the sensing signal therefrom, the ADC circuit configured to perform said comparison, producing the comparison signal as a result; and a logic unit 129 coupled to the ADC circuit to receive the comparison signal therefrom.

(86) For instance, the ADC circuit is configured to produce the comparison signal having the first logic value, resp. the second logic value, as a result of the at least one sensing signal reaching, resp. failing to reach, the at least one threshold.

(87) For instance, the logic unit is configured to assert said flag signal based on the logic value of said comparison signal.

(88) As exemplified herein, the test circuitry includes: a digital buffer circuit 128 coupled to the logic unit and to the I/O node, the digital buffer circuit configured to receive a drive signal DRV from the logic unit and to apply a first voltage level, resp. a second voltage level, to the I/O node in response to the logic unit asserting the drive signal with a first, resp. second, logic value.

(89) For instance, the test circuitry is configured to: assert the drive signal with the first logic value during a first time-interval T1, T2, initiating charging the capacitive element as a result; after lapse of the first time-interval, leave floating the drive signal during a second time interval T2, T3; .sub.WCS, initiating discharging of the capacitive element as a result; assert the drive signal after lapse of the second time-interval .sub.WCS, resetting the capacitive element to a discharged state; perform the comparison 126 between the at least one sensing signal and at least one threshold indicative of a threshold resistance value for the cable impedance during the discharge of the capacitive element at lapse of the second time interval, producing the comparison signal as a result of the comparison, the comparison signal having a first logic value, resp. a second logic value, as a result of the at least one sensing signal reaching, resp. failing to reach, the at least one threshold; and assert the flag signal based on the logic value of said comparison signal being indicative of the value of the cable impedance being lower than the threshold resistance value.

(90) As exemplified herein, the circuit further includes at least one resistive element R.sub.D1, R.sub.D2; R.sub.D; R.sub.LIM coupled to the test circuitry.

(91) As exemplified herein, the circuit includes: a digital buffer coupled to the logic unit and to the I/O node, the digital buffer circuit configured to receive a drive signal from the logic unit and to apply a first voltage level, resp. a second voltage level, to the I/O node (GPIO) in response to the logic unit (129) asserting the drive signal (DRV) with a first, resp. second, logic value.

(92) For instance, the test circuitry is configured to: assert the drive signal with the first logic value during a first time-interval T1, T2, initiating charging the capacitive element as a result; leave floating the drive signal after lapse of the first time-interval, initiating discharging of the capacitive element as a result; perform the comparison between the at least one sensing signal and at least one threshold indicative of a threshold resistance value for the cable impedance, producing the comparison signal as a result of the comparison, the comparison signal having a first logic value, resp. a second logic value, as a result of the at least one sensing signal reaching, resp. failing to reach, the at least one threshold; in response to the comparison signal having the second logic value, calculating a decay time interval between a first time instant T1 of assertion of the drive signal and a second time instant at which the comparison signal D.sub.S transitions from the first logic value to the second logic value; computing a value of the cable resistance based on the calculated decay time interval; and providing the computed cable resistance value to a user circuit.

(93) As exemplified herein, the cable is a cable compliant with the universal serial bus standard.

(94) As exemplified herein, a power adapter 10 includes: a plug 11 configured to be coupled to a socket to receive an AC voltage therefrom; an AC/DC converter coupled to the plug 11 to receive the AC voltage therefrom, the AC/DC converter configured to provide a supply voltage based on an AC voltage; a cable 13 having a cable impedance R.sub.C and configured to carry a cable voltage V.sub.C; and a circuit 12 according to any of the previous claim coupled to the AC/DC converter to receive the supply voltage therefrom and coupled to the cable 13 to transmit the supply voltage to a load 16.

(95) As exemplified herein, a method includes: coupling at least one coupling node D+, D, via a cable 13, to a load 16 to transmit a supply voltage thereto, the cable having a cable impedance R.sub.C and configured to carry a cable voltage V.sub.C; sensing 126 at least one sensing signal V.sub.GPIO indicative of a value of the cable impedance R.sub.C and/or of a cable voltage V.sub.C across the cable; performing a comparison between the at least one sensing signal and at least one threshold V.sub.IL indicative either of a threshold resistance value for the cable impedance or indicative of a threshold voltage value for the cable voltage; producing a comparison signal D.sub.S as a result of the comparison, the comparison signal having a first logic value, resp. a second logic value, as a result of the at least one sensing signal reaching, resp. failing to reach, the at least one threshold; and asserting a flag signal F based on the logic value of said comparison signal, the asserted flag signal being indicative of the value of the cable impedance being lower than the threshold resistance value, and/or being indicative of a cable voltage across the wired cable being greater than the threshold voltage value.

(96) As exemplified herein, the method includes: asserting a drive signal DRV with the first logic value during a first time-interval T1, T2; after lapse of the first time-interval, leaving the drive signal floating during a second time interval (T2, T3; .sub.WCS); assert the drive signal after lapse of the second time-interval .sub.WCS; performing the comparison between the at least one sensing signal and at least one threshold indicative a threshold resistance value for the cable impedance during the discharge of the capacitive element at lapse of the second time interval T2, T3; .sub.WCS, producing the comparison signal as a result of the comparison, the comparison signal having a first logic value, resp. a second logic value, as a result of the at least one sensing signal reaching, resp. failing to reach, the at least one threshold; and asserting the flag signal based on the logic value of said comparison signal being indicative of the value of the cable impedance being lower than the threshold resistance value.

(97) As exemplified herein, the method includes: asserting the drive signal with the first value during a first time-interval T1, T2; leaving the drive signal floating after lapse of the first time-interval, initiating discharging of the capacitive element as a result; performing the comparison between the at least one sensing signal and at least one threshold indicative a threshold resistance value for the cable impedance, producing the comparison signal as a result of the comparison, the comparison signal having a first logic value, resp. a second logic value, as a result of the at least one sensing signal reaching, resp. failing to reach, the at least one threshold; in response to the comparison signal having the second logic value, calculating a decay time interval between a first time instant T1 of assertion of the drive signal and a second time instant at which the comparison signal D.sub.S transitions from the first logic value to the second logic value; computing a value of the cable resistance based on the calculated decay time interval; and providing the computed cable resistance value to a user circuit.

(98) It will be otherwise understood that the various individual implementing options exemplified throughout the figures accompanying this description are not necessarily intended to be adopted in the same combinations exemplified in the figures. One or more embodiments may thus adopt these (otherwise non-mandatory) options individually and/or in different combinations with respect to the combination exemplified in the accompanying figures.

(99) Without prejudice to the underlying principles, the details and embodiments may vary, even significantly, with respect to what has been described by way of example only, without departing from the extent of protection. The extent of protection is defined by the annexed claims.

(100) A circuit (12) may be summarized as including: at least one coupling node (D+, D) configured to be coupled, via a cable (13), to a load (16) to transmit a supply voltage thereto, the cable (13) having a cable impedance (R.sub.C) and configured to carry a cable voltage (V.sub.C); test circuitry (122, 124) coupled to the at least one coupling node (D+, D), the test circuitry (122, 124) configured to: sense (126) at least one sensing signal (V.sub.GPIO) indicative of a value of the cable impedance (R.sub.C) and/or of a cable voltage (V.sub.C) across the cable (13); perform a comparison (126) between the at least one sensing signal (V.sub.GPIO) and at least one threshold (V.sub.IL) indicative either of a threshold resistance value for the cable impedance (R.sub.C) or indicative of a threshold voltage value for the cable voltage (V.sub.C); produce a comparison signal (D.sub.S) as a result of the comparison, the comparison signal (D.sub.S) having a first logic value, resp. a second logic value, as a result of the at least one sensing signal (V.sub.GPIO) reaching, resp. failing to reach, the at least one threshold (V.sub.IL), and assert a flag signal (F) based on the logic value of said comparison signal (D.sub.S), the flag signal (F) being indicative of the value of the cable impedance (R.sub.C) being lower than the threshold resistance value, and/or being indicative of a cable voltage (V.sub.C) across the wired cable (13) being greater than the threshold voltage value.

(101) The test circuit (122, 124) may include: an input/output, I/O, node (GPIO) configured to provide the sensing signal (V.sub.GPIO); at least one Zener diode (D.sub.Z; D.sub.Z, D.sub.Z2) interposed to the at least one resistive element (R.sub.D1, R.sub.D2; R.sub.D) of the coupling circuit (120) and the I/O node (GPIO); a capacitive element (C.sub.M) referred to ground coupled to the I/O node (GPIO); an analog-to-digital converter, ADC circuit (126) coupled to the I/O node (GPIO) to sense the sensing signal (V.sub.GPIO) therefrom, the ADC circuit (126) configured to perform said comparison, producing the comparison signal (D.sub.S) as a result, and a logic unit (129) coupled to the ADC circuit (126) to receive the comparison signal (D.sub.S) therefrom, wherein: the ADC circuit (126) is configured to produce the comparison signal (D.sub.S) having the first logic value, resp. the second logic value, as a result of the at least one sensing signal (V.sub.GPIO) reaching, resp. failing to reach, the at least one threshold (V.sub.IL), and the logic unit (129) is configured to assert said flag signal (F) based on the logic value of said comparison signal (D.sub.S).

(102) The test circuitry (122, 124) may include: a digital buffer circuit (128) coupled to the logic unit (129) and to the I/O node (GPIO), the digital buffer circuit (128) configured to receive a drive signal (DRV) from the logic unit (129) and to apply a first voltage level, resp. a second voltage level, to the I/O node (GPIO) in response to the logic unit asserting the drive signal (DRV) with a first, resp. second, logic value; wherein the test circuitry (122, 124) is configured to: assert the drive signal (DRV) with the first logic value during a first time-interval (T1, T2), initiating charging the capacitive element (C.sub.M) as a result; after lapse of the first time-interval (T1, T2), leave floating the drive signal (DRV) during a second time interval (T2, T3; .sub.WCS), initiating discharging of the capacitive element (C.sub.M) as a result; assert the drive signal (DRV) after lapse of the second time-interval (.sub.WCS), resetting the capacitive element (C.sub.M) to a discharged state; perform the comparison (126) between the at least one sensing signal (V.sub.GPIO) and at least one threshold (V.sub.IL) indicative of a threshold resistance value for the cable impedance (R.sub.C) during the discharge of the capacitive element (C.sub.M) at lapse of the second time interval (T2, T3; .sub.WCS), producing the comparison signal (D.sub.S) as a result of the comparison (126), the comparison signal (D.sub.S) having a first logic value, resp. a second logic value, as a result of the at least one sensing signal (V.sub.GPIO) reaching, resp. failing to reach, the at least one threshold (V.sub.IL), and assert the flag signal (F) based on the logic value of said comparison signal (D.sub.S) being indicative of the value of the cable impedance (R.sub.C) being lower than the threshold resistance value.

(103) The circuit may further include at least one resistive element (RD1, RD2; RD; RLIM) coupled to the test circuitry (122, 124).

(104) The circuit may include: a digital buffer (128) coupled to the logic unit (129) and to the I/O node (GPIO), the digital buffer circuit (128) configured to receive a drive signal (DRV) from the logic unit (129) and to apply a first voltage level, resp. a second voltage level, to the I/O node (GPIO) in response to the logic unit (129) asserting the drive signal (DRV) with a first, resp. second, logic value; wherein the test circuitry (122, 124) is configured to: assert the drive signal (DRV) with the first logic value during a first time-interval (T1, T2), initiating charging the capacitive element (C.sub.M) as a result, leave floating the drive signal (DRV) after lapse of the first time-interval (T1, T2), initiating discharging of the capacitive element (C.sub.M) as a result, perform the comparison (126) between the at least one sensing signal (V.sub.GPIO) and at least one threshold (V.sub.IL) indicative of a threshold resistance value for the cable impedance (R.sub.C), producing the comparison signal (D.sub.S) as a result of the comparison (126), the comparison signal (D.sub.S) having a first logic value, resp. a second logic value, as a result of the at least one sensing signal (V.sub.GPIO) reaching, resp. failing to reach, the at least one threshold (V.sub.IL), in response to the comparison signal (D.sub.S) having the second logic value, calculating a decay time interval () between a first time instant (T1) of assertion of the drive signal (DRV) and a second time instant at which the comparison signal (D.sub.S) transitions from the first logic value to the second logic value, computing a value of the cable resistance (R.sub.C) based on the calculated decay time interval (), and providing the computed cable resistance value to a user circuit.

(105) The cable (13) may be a cable compliant with the universal serial bus standard.

(106) A power adapter (10), may be summarized as including: a plug (11) configured to be coupled to a socket to receive an AC voltage therefrom, an AC/DC converter coupled to the plug (11) to receive the AC voltage therefrom, the AC/DC converter configured to provide a supply voltage based on an AC voltage, a cable (13) having a cable impedance (R.sub.C) and configured to carry a cable voltage (V.sub.C), a circuit (12) according to any of the previous claim coupled to the AC/DC converter to receive the supply voltage therefrom and coupled to the cable (13) to transmit the supply voltage to a load (16).

(107) A method, may be summarized as including: coupling at least one coupling node (D+, D), via a cable (13), to a load (16) to transmit a supply voltage thereto, the cable (13) having a cable impedance (R.sub.C) and configured to carry a cable voltage (V.sub.C); sensing (126) at least one sensing signal (V.sub.GPIO) indicative of a value of the cable impedance (R.sub.C) and/or of a cable voltage (V.sub.C) across the cable (13); performing a comparison (126) between the at least one sensing signal (V.sub.GPIO) and at least one threshold (V.sub.IL) indicative either of a threshold resistance value for the cable impedance (R.sub.C) or indicative of a threshold voltage value for the cable voltage (V.sub.C); producing a comparison signal (D.sub.S) as a result of the comparison, the comparison signal (D.sub.S) having a first logic value, resp. a second logic value, as a result of the at least one sensing signal (V.sub.GPIO) reaching, resp. failing to reach, the at least one threshold (V.sub.IL), and asserting a flag signal (F) based on the logic value of said comparison signal (D.sub.S), the asserted flag signal (F) being indicative of the value of the cable impedance (R.sub.C) being lower than the threshold resistance value, and/or being indicative of a cable voltage (V.sub.C) across the wired cable (13) being greater than the threshold voltage value.

(108) The method may include: asserting a drive signal (DRV) with the first logic value during a first time-interval (T1, T2); after lapse of the first time-interval (T1, T2), leaving the drive signal (DRV) floating during a second time interval (T2, T3; .sub.WCS); assert the drive signal (DRV) after lapse of the second time-interval (.sub.WCS); performing the comparison (126) between the at least one sensing signal (V.sub.GPIO) and at least one threshold (V.sub.IL) indicative a threshold resistance value for the cable impedance (R.sub.C) during the discharge of the capacitive element (C.sub.M) at lapse of the second time interval (T2, T3; .sub.WCS), producing the comparison signal (D.sub.S) as a result of the comparison (126), the comparison signal (D.sub.S) having a first logic value, resp. a second logic value, as a result of the at least one sensing signal (V.sub.GPIO) reaching, resp. failing to reach, the at least one threshold (V.sub.IL), and asserting the flag signal (F) based on the logic value of said comparison signal (D.sub.S) being indicative of the value of the cable impedance (R.sub.C) being lower than the threshold resistance value.

(109) The method may include: asserting the drive signal (DRV) with the first value during a first time-interval (T1, T2), leaving the drive signal (DRV) floating after lapse of the first time-interval (T1, T2), initiating discharging of the capacitive element (C.sub.M) as a result, performing the comparison (126) between the at least one sensing signal (V.sub.GPIO) and at least one threshold (V.sub.IL) indicative a threshold resistance value for the cable impedance (R.sub.C), producing the comparison signal (D.sub.S) as a result of the comparison (126), the comparison signal (D.sub.S) having a first logic value, resp. a second logic value, as a result of the at least one sensing signal (V.sub.GPIO) reaching, resp. failing to reach, the at least one threshold (V.sub.IL), in response to the comparison signal (D.sub.S) having the second logic value, calculating a decay time interval () between a first time instant (T1) of assertion of the drive signal (DRV) and a second time instant at which the comparison signal (D.sub.S) transitions from the first logic value to the second logic value, computing a value of the cable resistance (R.sub.C) based on the calculated decay time interval (), and providing the computed cable resistance value to a user circuit.

(110) These and other changes can be made to the embodiments in light of the above-detailed description. In general, in the following claims, the terms used should not be construed to limit the claims to the specific embodiments disclosed in the specification and the claims, but should be construed to include all possible embodiments along with the full scope of equivalents to which such claims are entitled. Accordingly, the claims are not limited by the disclosure.