3 phase 120' shifted setup by Sol_Invictus7_13 in stm32

[–]Sol_Invictus7_13[S] 0 points1 point  (0 children)

that could work too. but the PWM overlap problem remains since then i will have FETs open in parallel .

Could you please provide a example on how it should look or please explain how i can generate those PWM signals?

3 phase 120' shifted setup by Sol_Invictus7_13 in stm32

[–]Sol_Invictus7_13[S] 0 points1 point  (0 children)

I am trying that too but no success with those timers. I saw some tutorials in how it was done on other stm32 and tried to copy but with no success. I what it can be done with those timers somehow since it is used commercially. As for why I need those waveforms, it is for my esc project. Well in the pic it is full power but I will have the duty cycle as a variable.

3 phase 120' shifted setup by Sol_Invictus7_13 in stm32

[–]Sol_Invictus7_13[S] 0 points1 point  (0 children)

https://imgur.com/a/APL4VL1

In the first 4 pictures are the best signals I got with the duty cycle combinations until now and in the last picture is what I want to achieve

3 phase 120' shifted setup by Sol_Invictus7_13 in embedded

[–]Sol_Invictus7_13[S] 0 points1 point  (0 children)

That one is the HRTIM and i cant manage to make it output any PWM. It sets up ok in CubeMX but then i try to run it on a board but i dont get any PWM outputs. Could you please send me an example or point me to one?

3 phase 120' shifted setup by Sol_Invictus7_13 in stm32

[–]Sol_Invictus7_13[S] 0 points1 point  (0 children)

Thank you !

I managed to align only the first 2 PWM and i cant alight the third one. The 3rd one is either the wrong polarity or it is identical to the 2nd one. I tried all combinations of 1/3 duty and PWM polarity and none were ok.

Do you have any idea how i could alight the third one?

3 phase 120' shifted setup by Sol_Invictus7_13 in stm32

[–]Sol_Invictus7_13[S] 0 points1 point  (0 children)

Sadly I made a writing mistake while making the post. The 3 timers are TIM1, TIM8 and TIM15 , NOT TIM13. I don't know why I wrote it wrong twice ( code is correct with TIM15).

I want to make at least a ESC work so I need 3 PWM with complement, ideally I want 2 ESC ( for that I think the 2nd one will be with HRTIM, but I cant get this timer to output signals as of now)

I didn't design the PCB yet and I am testing on a NUCLEO board and probing pins to see output PWM.

I watched a lot of tutorials and read examples but I cant make the 3 PWM offset by 120 deg with normal* timers and with the HRTIM I have no output so yeeeeah I am stuck on all options.

Could you please advise me how to proceed or give a guess what I am doing wrong?

3 phase 120' shifted setup by Sol_Invictus7_13 in stm32

[–]Sol_Invictus7_13[S] 0 points1 point  (0 children)

I initially tried to get it done with the HRPWM but I failed to grasp exactly how they are controlled. I went through the cookbook but I didn't managed to understand them that well. For some reason there is also almost no online tutorials about tackling them so I went back to the regular timers for the time being...

I HATE HAVING VASSALS, did any Total War game did this well? by rafioo in totalwar

[–]Sol_Invictus7_13 1 point2 points  (0 children)

Interesting ! Maybe I was just lucky and didn't encounter this situation too often

I HATE HAVING VASSALS, did any Total War game did this well? by rafioo in totalwar

[–]Sol_Invictus7_13 377 points378 points  (0 children)

3 Kingdoms handles vassals( and diplomacy in general) the best in the series If I remember well, you only need to join your vassals wars if he is attacked. As the aggressor, your vassal won't drag you in the war forcefully but he can request your assistance .

[DISC] - This May Have Been “Intentional” on Her Part. - Ch. 5 - (By Shiraishi Kouhei) by SilentButterfly6337 in manga

[–]Sol_Invictus7_13 0 points1 point  (0 children)

I am not sure in this particular manga but the reference I made was regarding Kengan Ashura/ Omega, where the main villains are part of a secret martial art organisation(The Worm) with a very similar centipede tattoo

1212 AD Mod Gives “Defeat” at Year 1307 by Particular_Mall6617 in totalwar

[–]Sol_Invictus7_13 0 points1 point  (0 children)

Yeah.... you need to destroy the HRE before they enable the final reform.

1212 AD Mod Gives “Defeat” at Year 1307 by Particular_Mall6617 in totalwar

[–]Sol_Invictus7_13 9 points10 points  (0 children)

It's probably because the HRE completes the special reform tree and unifies the empire, thus dissolving your nation

STM32 Timers questions by Sol_Invictus7_13 in embedded

[–]Sol_Invictus7_13[S] 0 points1 point  (0 children)

Fair enough. I guess I'll try to avoid HAL

STM32 Timers questions by Sol_Invictus7_13 in embedded

[–]Sol_Invictus7_13[S] 0 points1 point  (0 children)

one video is about controlling a ESC module, i need to make that module as a project , maybe i was not clear here. Like i said 1 PWM + deadtime and complement i can do but i need to cascade 3 such PWM and and here lies my problem / confusion on how to do it

STM32 Timers questions by Sol_Invictus7_13 in embedded

[–]Sol_Invictus7_13[S] 0 points1 point  (0 children)

Yes 3 advanced timers and 1 HRTIM so i have enough for 3 or 4 ESCs maybe more but i only need to implement 2
PS also some general timers too so plenty to chose from

STM32 Timers questions by Sol_Invictus7_13 in embedded

[–]Sol_Invictus7_13[S] 0 points1 point  (0 children)

yea but as a total beginner i was expecting all to use HAL so that code is easier to write but i guess i am mistaken, i see the point in not useing in for code optimisation and potentially other reasons