cancel
Showing results for 
Search instead for 
Did you mean: 

U575ZITx discrepancy between Nucleo IOC and MCU IOC in STM32CubeIDE v1.19.0

kumaichi
Associate III

I purchased a NUCLEO-U575ZI-Q and I noticed when I create a new project using the board selector and then create a new project with the MCU selector, I get different results in the IOC files which I think are causing me issues.

This is the NUCLEO IOC:

kumaichi_0-1755189346634.png

This is the MCU IOC:

kumaichi_1-1755189377223.png

As you can see, Pin 36 is different between the two IOC's.  Obviously PA2 and PA3 are different interrupts.  I have my CC1101 connected to Pin 36.


The datasheet shows Pin 36 as PA3. 

The code that is being generated for the MCU IOC is assigning Pin 36 to PA2:

#define MCU_RF_GDO0_INT_Pin GPIO_PIN_2
#define MCU_RF_GDO0_INT_GPIO_Port GPIOA

 

The code being generated for the NUCLEO IOC seems to match the datasheet:

 
#define MCU_RF_GDO0_INT_Pin GPIO_PIN_3
#define MCU_RF_GDO0_INT_GPIO_Port GPIOA

 

In the MCU IOC generated project, I don't get an interrupt.

Both IOC's are using the same firmware version, STM32Cube FW_U5 V1.8.0. STM32CubeMX v6.15.0 shows the same results.

Is there a way to fix this?

Kindest regards.

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Super User

Those aren't the same MCU. The "Q" on the end is an SMPS part with a different pinout.

TDK_0-1755192120621.png

 

If you select the Q version in the MCU selector, the pinout is correct and matches the Nucleo board.

TDK_1-1755192173596.png

 

If you feel a post has answered your question, please click "Accept as Solution".

View solution in original post

2 REPLIES 2
TDK
Super User

Those aren't the same MCU. The "Q" on the end is an SMPS part with a different pinout.

TDK_0-1755192120621.png

 

If you select the Q version in the MCU selector, the pinout is correct and matches the Nucleo board.

TDK_1-1755192173596.png

 

If you feel a post has answered your question, please click "Accept as Solution".
kumaichi
Associate III

Perfect, thank you!