This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Program crash when connected a hall effect current sensor

Other Parts Discussed in Thread: TPS2052B

Hi fellows, I'm writting at this time because I'm mesauring a few electric variables like line voltage, ambient temperature and a load current. Of course I have take the precautions to condition the signals (like voltage transforme etc). I'm supplying a current hall effect sensor, who's maximum peak current, Iccm = 20 mA, from the 5V pin of the Tiva C. My problem is that after connect the sensor the computer running the CCS makes a sound like a beep and part of my program goes down, stops working. The typical current sensor curent consupmition is about 13 mA.  I have looked at the document "Tiva™ C Series TM4C1294 Connected (User's Guide) - CONNECTED"  and the only information I found is: "5 VDC to BoosterPacks, current limited by TPS2052B. Nominal rating 1 Amp." I don't think that even 20 mA is much current consuptmition. Does anybody has any idea?

Thanks in advanced, Regards

  • From the data sheet, recommended operating conditions
    - Continuous output current, IO(OUT), IO(OUTx): 0-500 mA

    Looks like the trip could be as low as 700mA

    You should check the voltage as well, you mention CCS crashes which makes me think that you are hooked up via USB. USB has its own power limits (normally around 100mA from the computer and keep in mind there is a fair amount of variation between manufacturers of what they will support/provide). USB is nominally 5V but as I recall there is a lot of latitude for that to be lower under power draws.

    Robert
  • Martin Castro said:
    I'm supplying a current hall effect sensor, who's maximum peak current, Iccm = 20 mA, from the 5V pin of the Tiva C.

    I've a different take than friend Robert.   While "Tiva" TM4C (which is an MCU) may "accept" 5VDC as an input signal level - it cannot deliver 5VDC as an output - and assuredly NOT @ anywhere near 20mA!

    While you "don't think" 20mA is much - "devil's details" here is your meaning of: "5V pin of the Tiva!"   I'm unaware of ANY MCU pin able to source 5V @ 20mA!

    Have you properly/safely connected grounds (if that's proper) as the hall sensor instructs?    Devil (always) lives such detail - (some) here is needed.

    Anytime you/others are working at/near/around LIVE power - GREAT CARE must be - at all times - observed.

    On 2nd read - dawns that you may be meaning the 5V pin of your BOARD - which is NOT a Tiva!   Tiva is the brand name of the MCU - lack of clarity w/in your post confounds...

  • Hello,

    My guess is you are powering the LP with USB. If it is so than LP will not be able to give 5V supply or 20mA current (for control electronics 20mA is much of a current). Please verify your H/W connections (most of the time I miss it).

    regards,

    Anup.

  • cb1- said:
    On 2nd read - dawns that you may be meaning the 5V pin of your BOARD - which is NOT a Tiva

    I had your first read take as well until I realized the referenced device was a switch not an LDO.

    cb1- said:
    Anytime you/others are working at/near/around LIVE power - GREAT CARE must be - at all times - observed.

    Good point. A USB isolator may well be called for here as well

    Robert

  • Martin Castro said:
    Does anybody has any idea?

     As from I left forum and when I see spot problem is forever the same information missing and magic bowl still on service.... ..

     How is connected this current sensor?

     Has this a part number we can see and read about data sheet?

     Is this connected to power rail and output to an analog input of TIVA processor?

     Are voltage scaled to ADC input range?

     Are ...

     Where is schematic or detail of how it is connected to???