cancel
Showing results for 
Search instead for 
Did you mean: 

STSPIN32F0A configure PWM input

JosefSchon
Associate

Hello,

is there is an option of adding input pin for external PWM? I want it for ESC, I would like to control it with PWM signal like on board B-G431B-ESC1. I tried with STSPIN32F0A board example, however adding ESC to .json file doesn't do anything. I added with PA6 pin from STEVAL-ESC002V1 schematic. The attached photo is for B-G431B-ESC1 and I would like to enable it also for STSPIN32F0A.  Could you please tell how to configure the board for PWM input? Thank you!

Kind regards,

JS

esc.png

1 REPLY 1
cedric H
ST Employee

Hello @JosefSchon ,

Unfortunately, not yet.

This feature is more applicative than a part of the library itself. We developed it to satisfy the requirement of our B-G431B-ESC1 board but we did not generalize it yet to all the families.

Nevertheless, nothing is preventing you to generate the B-G431B-ESC1 example and do the porting to your STSPIN32F0A board.

The generalization of this feature is planned for this coming year.

Regards

Cedric