Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

DAVE™

u-s
Level 3
First like given 10 replies posted 10 questions asked
Level 3
Hi,

I want use the PWMSVM01 APP at DAVE Ver.3.

In this APP provided the function void PWMSVM01_SVM(const PWMSVM01_HandleType* HandlePtr, uint16_t Amplitude, uint16_t Angle);
About the argument(Amplitude) I have the following question:

- What is the unit of this argument?
I defined a value as .kMaxAmplitude = (uint16_t) 5999 in initialization.
With this setting, PWM can generate a sin wave.
I want to adjust this sin wave the P-P ofto 0.8 times.
I change the argumet Amplitude to 5399(5999 - 2999 * (1 - 0.8)).
Is this method correct?

Please referens to the attached image for details.
Thank you for your support.

Best regards
Xingwei
0 Likes
2 Replies
u-s
Level 3
First like given 10 replies posted 10 questions asked
Level 3
Hi,

Could you tell me some updates on this subject?

Best regards
Xingwei
0 Likes
u-s
Level 3
First like given 10 replies posted 10 questions asked
Level 3
Hi, All

Would anyone like to try and answer this problem?

Best regards
Xingwei
0 Likes