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.

LAUNCHXL-F28069M: Motorware with DRV8323 Boosterpack

Part Number: LAUNCHXL-F28069M
Other Parts Discussed in Thread: DRV8305, DRV8323, MOTORWARE

Hi,

in the past i have tested all the instaspin labs with the F28069M LP and DRV8305 boosterpack without any problems, including instaspin FOC and instaspin MOTION. 

Recently I have tried to switch over to the DRV8323 Boosterpack, but have had trouble duplicating the Lab 5B as an example.

The additional Instaspin code files for the DRV8323 boosterpack came from the DRV8323 product folder, and I added them to motorware. 

Since the DRV8323 Boosterpack connectors are connected slightly differently with regard to Phase Current and Phase Voltage as compared to the DRV8305, I doublechecked the mapping of ADC channels to current and voltage rails, and validated that the hal.c for DRV8323 is correct, so I don't think it is an ADC mapping issue. 

Teknic_M2310PLN04K motor is used.

The motor phases are connected like the DRV8305, i.e. Mot A/B/C. VM power supply is 19.5V for this test from a notebook power supply.

user_j1.h variables are default for the Teknic_M2310PLN04K motor.

When the motor starts, it goes into its ONLINE state, it tries to spin but the velocity is not controllable.

The DRV8323 does not show the fault condition during this test.

Could you tell me if we have validated the DRV8323 with instaspin labs, like lab 5B?

Please let me know your thoughts.

Thanks,

--Gunter

  • Gunter, did you download the HAL files that were offered with the DRV8323 Booster Pack add-on to Motorware 18? I am referring to the .zip that was offered here: e2e.ti.com/.../635499

    Sean
  • Hi Sean,

    I have used the following HAL files from DRV8323 boosterpack product folder:
    www.ti.com/.../boostxl-drv8323rs

    www.ti.com/.../slvc705


    Is the other zip file different to that?

    I can check it tomorrow.


    REgards
    --Gunter
  • Hi Sean,

    just initially checked the package, and it feels like it is the same as what is on www.ti.com/.../slvc705
    But I can't completely be sure that the versions are the same. So need to run a test with the package from the e2e thread.

    Do you know if the e2e thread package and the slvc705 are aligned?


    Thanks!
    --Gunter
  • HI Sean,

    since I could not tell whether the e2e attachement on the other thread was the same as what is on the DRV8323 boosterpack product folder, I went ahead and tested with the e2e attachement.

    The behavior is exactly the same. The motor turns very slowly, however with the wrong speed, it feels like it is turning backwards. Changing the reference speed has no impact.

    During the setup I went carefully through the QSG doc.
    The only thing that was not done from the QSG is soldering the 3 capacitors C9, C10, C11 with 1uF. Is that an issue?
    All the other jumpers are set exactly like the QSG calls for.

    More specifically I am running Lab 5b here with the
    #define USER_MOTOR Teknic_M2310PLN04K

    Again running the same setup with a DRV8305 works, with the motorware project for the DRV8305 boosterpack.

    Do you have any other ideas?


    Thanks,
    --Gunter
  • Hi Sean,

    please let me know if you have any other ideas here.

    What is the impact of not having the VSENA/B/C capacitors C9/C10/C11 populated?
    It seems that filters the VSENA/B/C somewhat. However without those capacitors, should the motor still spin at least?


    Thanks,
    --Gunter
  • The Vsense capacitors do form a filter on the input, and the pole of that filter is required as an input in the user.h under USER_VOLTAGE_FILTER_POLE_Hz. If this value is not correct it could produce some issue with performance. Is there some reason you haven't added the capacitors for this filter?

    Sean
  • Any update here? If your issue was solved, feel free to respond, or with a new question. Otherwise I will close this thread for now

    Sean
  • Hi Sean,

    I have added the 0.1uF caps to C9/10/11 and determined that they are critical for Instaspin to work! After adding the caps, and using the motorware labs in the zip file (with some changes to build them correctly), the motor spins now.

    I think we need to do two things, mainly on the DRV8323 product folder make the QSG for motorware much more visible and have a clear note about those capacitors. Since the boosterpack by default comes without those caps populated, we need to make sure it is very clear they are needed for Instaspin to function.

    In contrast a pure BLDC control with just an MSP430 works without the caps. Is that why we did not populate them? They are Instaspin specific, right?


    Thanks,
    --Gunter
  • Gunter,
    Yes, the phase voltage filtering is a unique requirement for the FAST observer used in InstaSPIN-FOC