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.

BOOSTXL-DRV8305EVM: With LAUNCHXL-F28027F, nFAULT LED turns red but FAULT bit on LAUNCHXL-F28027F does not indicate this

Part Number: BOOSTXL-DRV8305EVM
Other Parts Discussed in Thread: TMS320F28027F, DRV8305

Hi,

I have LaunchPad XL Tms320F28027F plus Boostxl-Drv8305.  Using it to run our motor.

The structure “DRV_SPI_8305_Vars_t  gDrvSpi8305Vars” is being monitored via the debugger watch window -- *.js script file

This gDrvSpi8305Vars structure is updated within the control loop and DRV8305_SPI is defined in hal.h :

            #ifdef DRV8305_SPI

                   HAL_writeDrvData(halHandle,&gDrvSpi8305Vars);

                   HAL_readDrvData(halHandle,&gDrvSpi8305Vars);

           #endif

   

What we see is that bits “VCPH_UVFL, VCPH under voltage protection warning” and “PVDD_OVFL, PVDD over voltage protection warning”  are always on, even before running the system.

But we never see the “FAULT” bit on.  The system dies before I get to see this “FAULT” bit on.  Below is the live captured data for this gDrvSpi8305Vars structure.

Any help as to why the FAULT bit is not on would be appreciated.

Thanks,

Asha

  • Hi Asha,

    What do you mean "The system dies before I get to see this “FAULT” bit on."?

    The live captured data did not appear. Would you please re-send it?
  • Fault.docxHi Rick,

    Well I never see the FAULT bit nor any other bits except VCPH_UVFL and PVDD_OVFL per structure below.

    Also, I have attached the live captured data.

    Thanks,

    Asha

    //!

    typedef struct _DRV_SPI_8305_Stat01_t_

    {

     bool                  OTW;            // Bits 0

     bool                  TEMP_FLAG3;     // Bits 1

     bool                  TEMP_FLAG2;     // Bits 2

     bool                  TEMP_FLAG1;     // Bits 3

     bool                  VCPH_UVFL;      // Bits 4

     bool                  VDS_STATUS;     // Bits 5

     bool                  PVDD_OVFL;      // Bits 6

     bool                  PVDD_UVFL;      // Bits 7

     bool                  TEMP_FLAG4;     // Bits 8

     bool                  STAT01_RSV1;    // Bits 9

     bool                  FAULT;          // Bits 10

    }DRV_SPI_8305_Stat01_t_;