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: Launch XL-F20869M +Boost XL DRV8301 PWM question

Part Number: LAUNCHXL-F28069M
Other Parts Discussed in Thread: DRV8301, BOOSTXL-DRV8301

Tool/software:

Dear TI

I want to let PWM on when encoder degree is 0 and 180.

My encoder is 4000 turns and input voltage is 24V.

When I use F28069M and DRV830x-HC-C2-KIT, PWM can operate correctly.

I can measure 24V in Phase A terminal.

However, I use same code in Launch XL-F20869M +Boost XL DRV8301.

I can't measure voltage change in Phase A terminal(DRV8301).

Can you give me some suggestion?

thank you

  • Hello,

    The BOOSTXL-DRV8301 and the DRV830x-HC-C2-KIT interfaces are not pin-to-pin compatible. The differences in the hardware and software require changes to the Hardware Access Layer (hal) .c and .h files to port your code.

    Without knowing what porting efforts you have already done, I cannot debug this further.

    Regards,
    Jason Osborn

  • Hello Jason

    I used PSIM to generate code and choose GPIO 0 (EPWM1A) to test. 

    8561.code.docx

    When I measure Launch XL-F20869M J4 Pin40, voltage will change according to my code.

    But I still can't measure voltage change in BOOSTXL-DRV8301 Phase A.

    Below is the photo.

    If you need more data,such as pjt file.Please let me know.

    thanks

  • What changes did you make in regards to the actual control code? For example,

    • The BOOSTXL-DRV8301 and the DRV8301-HC-C2-KIT use different DRV8301 packages, which can be seen in the schematics. Are all of the right signals being routed to the correct pins? e.g. are all the correct PWM signals going to the correct pins of the DRV8301?
    • If SPI communication is being used, then the relevant signals must be connected
    • I would ensure that all relevant signals, i.e. all PWM, ADC, etc., are routed correctly between the two devices.

    Please note: PSIM is a third party tool, and if there are issues with that tool, these questions should be directed to the owner of the tool.

    Regards,
    Jason Osborn

  • Hello Jason

    Your suggestion is very useful, I check again the BOOSTXL-DRV8301 pin define and find the reason.

    My problem is solved.

    thanks a lot