cancel
Showing results for 
Search instead for 
Did you mean: 

CubeMX USART bug on PB6 Pin of STM32F7 Disco

federicoanoto
Associate II
Posted on March 19, 2016 at 04:02

PB6 pinned as USART1 TX its wrong in software, the correct option is also available (PA9), but the PB6 one should be deleted, is used by default if you don't configure it manually.

#bug #tx #usart1
3 REPLIES 3
Walid FTITI_O
Senior II
Posted on March 21, 2016 at 13:18

Hi noto.federico,

I have checked this using the last version of CubeMx (4.1), and I do not see the issue that you havementionned; every thing goes well and PA9 is well selected by default as USART_Tx.

So Maybe you have used an old version of CubeMx ?

Try with this last version of STM32CubeMx (

4.1

) and hopefully your issue will disappear.

I have attached the .ioc of th test project That I have used.

-Hannibal-

________________

Attachments :

Pin_USART_TX_PB6_and_P19_together.ioc : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Htjv&d=%2Fa%2F0X0000000aWQ%2FlRi826x77RyaHcnOdgWI4PKX3A9anNrKf82KFttT6tw&asPdf=false
federicoanoto
Associate II
Posted on March 22, 2016 at 22:28

Why is USART1_TX in PB6 Pin?  (I'm using 4.14.0 Version) , yes, now USART1_TX by default assing the correct pins.

Walid FTITI_O
Senior II
Posted on March 23, 2016 at 12:19

Hi noto.federico,

Yes, it is selected by default PA9, but you can remap it to PB6. Take a look to both ( Table 10 and Table 12) to see the pin definition and the associated possible alternate functions.

IT is nice to hear that everythig is fixed now for you.

-Hannibal-