cancel
Showing results for 
Search instead for 
Did you mean: 

Same AFIO mapped to multiple pins

FLast.17.70
Associate II
Posted on October 23, 2017 at 12:53

Is it OK to map the same alternate function to multiple pins? 

I'm using an STM32F767 DFSDM module and I want to output the DFSDM clock both on PC2  and PD10 (for PCB routing reasons, outputting the clock on PC2 would route neatly with DFSDM channels 0 and 4; and likewise also outputting the same clock on PD10 would make routing easy for channels 1 and 2 on PB12 and PB14).

I have tried it in the firmware and it works (I can see the clock on the scope) but ST32CubeMX does not allow me to do this. It only seems to allow the choice of one pin for a particular function.

Is this 'legit'? 

10 REPLIES 10
Posted on February 09, 2018 at 11:40

ok gaspar.laszlo.

I thought you said that was with CubeMX that you succeeded in mapping DFSDM1_CKOUT to both PC2 and PC3. That was very surprising.

So ok, this was what I said in a previous comment, it is not possible with CubeMX to map one AF on two different pins. And for the moment, it is not planned to do any change on that topic.

Furthermore, I keep in mind your 'side comment'.

Thanks!