Skip to main content
AShap.5
Associate
September 2, 2019
Question

Misalignment between STM32CubeMX and the datasheet of STM32G030J6 regarding USART modules

  • September 2, 2019
  • 4 replies
  • 1418 views

I am interested in how many USART modules are available in the STM32G030J6.

Datasheet contains contradictions.

According to table 12 (pages 32-34) we get the following:

USART1_TX 8 pin

USART1_RX 1 pin

USART2_TX 4 pin

USART2_RX 8 pin

According to Figure 6 (page 30) and Table 13 (page 35) we get the following:

USART1_TX 5 pin

USART1_RX 1 pin

USART2_TX 4 pin

USART2_RX 8 pin

STM32CubeMX indicates that only USART1 is available.

How right?

This topic has been closed for replies.

4 replies

oleksandr.karbivsky
Senior II
September 2, 2019

Hi. Only one USART in the STM32G030J6. Pin "PA8/PA11[PA9]/PB0/PB1" don`t have  USART1_TX.

AShap.5
AShap.5Author
Associate
September 2, 2019

STM32CubeMX make this:

0690X00000AQPapQAH.png

Pin "PA8/PA11[PA9]/PB0/PB1" have USART1_TX

How right?

oleksandr.karbivsky
Senior II
September 2, 2019

What is your CubeMX Version?

0690X00000AQQoEQAX.png

AShap.5
AShap.5Author
Associate
September 3, 2019

Last version - 5.3.0

1st step:

0690X00000AQSo6QAH.png

2nd step

0690X00000AQSoBQAX.png

Amel NASRI
Technical Moderator
September 26, 2019

Hello @AShap.5​ ,

This seems to be a limitation on STM32CubeMX side as it is possible to use USART2 on pins 4 and 8 of STM32G030Jx SO8N package.

This will be reported to our STM32CubeMX team.

-Amel

To give better visibility on the answered topics, please click on "Best Answer" on the reply which solved your issue or answered your question.
Nesrine.JLASSI
Visitor II
September 30, 2019

Hello @AShap.5​ 

Thanks for the feedback,

 It will be fixed in the next CubeMX release.

Regards,

Nesrine