Hi everybody,
I am working with the F28335 dsp to build a stepper motor driver, and there is something that it is driving me crazy.
I have configured all the PWM's that I use with the pull-up resistor (register GpioCtrlRegs.GPAPUD to 0 en the corresponding bits). So I expect those pins to be in high state when I halt the dsp (is this right?).
But the first time I run my program, there is one pin, and sometimes more than one, that go to low state when I halt the dsp. After I run the program for a while, it stops happening, but I do not understand why it does the first time, because I halt after all the configuration has been made.
My doubt is if halting through "asm (" ESTOP0");" can have undesired effects. I have this instruction after all the configuration has been done, just before the infinit loop and starting the interrupts (normal operation of the driver).
Any idea?
Thanks a lot!
Ricardo