-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RTOS] Convert STM32CubeMX Generated Code to FreeRTOS #41
Comments
ADC and timer are super tightly coupled in the auto-gen code, hard to separate even at a high level. Gate Driver should take the SVGEN Stuff, should take in alpha and beta, so we can calculate sector, duty cycle, and timer values since there so tightly coupled. This way, the gate driver can use those values to configure the ADC for it's next value collection. Timer interrupt starts up ADC again, so where do we put that logic Gate Driver SV PWM and 3-phase inverter Encoder - only need position for Nick's algorithm |
* (#41) Added new devkit autogen code * (#41) Added working encoder initialization * (#41) Injected mode ADC working, plumbed up into FOC block * Added bus voltage reading, center aligned * SPIN --------- Co-authored-by: Ben Thacher <[email protected]>
This was done for our final project for a class |
Description
Currently, we're using auto-generated code from MCSDK to run our dev kit. We need to port this code to FreeRTOS so that we can integrate it with the rest of our code to verify that everything we're making actually works with hardware. This ticket is to figure out how we can actually do that using the STM MCSDK and STM32CubeMX by configuring the project to use FreeRTOS
Here are the parts the devkit is using for reference:
https://www.st.com/en/evaluation-tools/nucleo-f103rb.html
https://www.digikey.com/en/products/detail/stmicroelectronics/X-NUCLEO-IHM07M1/5492161
Acceptance Criteria
Code is ported over to FreeRTOS in a way that's actual useable to test our stuff on the devkit
Proposed Solution
See links above
The text was updated successfully, but these errors were encountered: