Skip to content

Working Processor swap to STM32 on YST-DXT-J20 V4 Motherboard : no motor control yet #175

@123JRM

Description

@123JRM

Hello all,

I found lack of documentation for the Avery AT32F403 aggravating so I decided to buy an STM32F103 and swap it out on my YST board. I now use the PlatformIO system on Visual Studio and it works pretty good. I am using a fork this firmware located here https://github.com/bipropellant/bipropellant-hoverboard-firmware . I have a 3.3 volt serial connected to C9,B2 and that works too. I have ASCII control of the board. I also have the STlink connected for debug and that works as well. using the software ASCII console I am unable to rotate the motors and I think it relates to different drive circuitry on the YST boards. I have been intently comparing the various differences in the makefile looking for the area that addresses the motor control of the AT32 system that i will need to substitute in so that I have that in my ST32 firmware. I hope this makes sense. I am slowly coming up to speed with the code but so far I have been unable to find what I need. I see references to a current limiting system being controlled with a gpio pin on the new boards but i can not find that code either.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions