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.

TMS320 '1' at GPIO34 stop boot from flash

Hello.

I have a program, which correctly run and execute from flash, if at start at GPIO34 appears '0'. At this pin I connect hall-sensor from my bldc motor. And if after reset tms doesn't start, I turn motor (toggle hall sensors) and it starts. I can't put sensors on different pin.

Does somebody can help me solve this problem?

P.S. tms320f38035 

  • Hi,

    The situation you describe is the opposite of what I'd expect.  I'd expect your chip to successfully boot from flash when GPIO34 is HIGH as your F28035 is powered up.  Boot from Get Mode, which is by default "Boot from FLASH" mode, is entered when {GPIO37 = 1; GPIO34 = 1}.

    ===

    Regardless, utilizing GPIO34 (or GPIO37) as a pin that takes input from an external device is not recommended.  This is especially true if the pin's state is controlled by an external device whose output cannot be guaranteed as high or low during boot time.

    Unfortunately, my best recommendation is to move your hall-effect sensor to a different pin. 

    [The only exception might be if you have something like a 5V-to-3.3V translator chip between the hall-effect sensor and your C2000 device.  If that chip has an output enable pin and you happen to be controlling it with a C2000 GPIO, you may have some ability to guarantee a certain logic state during boot time.]


    Thank you,
    Brett