cancel
Showing results for 
Search instead for 
Did you mean: 

stm32wba64CIUx: PD7,6 only showing USB_OTG_HS functions

Brussl
Associate III

Why after last update the pins PD7 , PD6 are only with USB_OTG_HS functions:

Brussl_0-1778074569624.png

 

8 REPLIES 8
Ghofrane GSOURI
ST Employee

Hello @Brussl 

According to the datasheet  DS14736 Rev 3, PD6 and PD7 are dedicated to USB_OTG_HS only, cannot be used as normal GPIO or alternate functions, and if USB_OTG_HS is unused they must be left in analog mode; therefore CubeMX showing only USB_OTG_HS functions for these pins is expected behavior.

GhofraneGSOURI_0-1778081392969.png

 

THX
Ghofrane

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

This is super strange ! I had been working device with this pins as outputs. And this device is with software generated with old cubeMX and cubeIDE. Device work.

We have ordered a lot of PCB's. Can you check what is the problem really ?

 

Hello @Brussl 

To confirm the actual hardware behavior on your board, could you please perform a simple validation by toggling an LED on PD6 and/or PD7 configured as GPIO outputs in the old project, and check whether the LED switches reliably? This will help verify whether those pins are truly behaving as standard outputs on the hardware, despite the newer CubeMX and datasheet restrictions.

I will be waiting for your feedback .

THX

Ghofrane

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

PD7 i use as custom SPI CLK output for SPI communication more than 1y. The device is produced before 1y ! Clock output is with 1mhz frequency. : This is my schematic. It is of working device:

Brussl_0-1778141401683.png

 

 

this is old project on FW_WBA V1.7.0

Brussl_0-1778221519499.png

Can see the pins are outputs. And work well. But as i said when migrate to new FW_WBA. Pins are only for USB comunication. Where is the problem. I can send you also and IOC file.

Hello @Brussl 

I have escalated this issue to our expert for feedback. I will keep you updated as soon as I have any news.

THX

Ghofrane

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Tnx a lot, I need to able to update device. Should be good to use last IDE and MX.

some news ?