Loading...
 

SW4STM32 and SW4Linux fully supports the STM32MP1 asymmetric multicore Cortex/A7+M4 MPUs

   With System Workbench for Linux, Embedded Linux on the STM32MP1 family of MPUs from ST was never as simple to build and maintain, even for newcomers in the Linux world. And, if you install System Workbench for Linux in System Workbench for STM32 you can seamlessly develop and debug asymmetric applications running partly on Linux, partly on the Cortex-M4.
You can get more information from the ac6-tools website and download (registration required) various documents highlighting:

System Workbench for STM32


STM32F1xx: Injected simultanous ADC doesn't work

I want to read in two phase currents of a BLDC motor, simultanous with injected ADC1 and ADC2 triggered by Timer1 Capture Compare Channel 4. See chapter 5.1 of the STM manual UM1052:
https://www.st.com/content/ccc/resource/technical/document/user_manual/5e/5e/d2/cb/07/35/45/a6/CD00298474.pdf/files/CD00298474.pdf/jcr:content/translations/en.CD00298474.pdfQuestion

The basic setup was created with CubeMX. You can find the whole project at github.
https://github.com/stancecoke/LishuiFOC/tree/d7229be95dbf8b61ccf80fbb40bbf10ebefe837fQuestion

The interrupt of Timer1 Capture Compare Channel 4 works properly, but no injected ADC conversion is started :-(

If I start the conversion by software in the Timer1 Capture Compare Channel 4 callback, it works.
https://github.com/stancecoke/LishuiFOCQuestion

Any ideas?

regards
stancecoke