2026-05-06 6:36 AM - last edited on 2026-05-06 6:46 AM by Andrew Neil
Why after last update the pins PD7 , PD6 are only with USB_OTG_HS functions:
2026-05-06 8:27 AM - edited 2026-05-06 8:33 AM
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.
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.
2026-05-07 12:16 AM
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 ?
2026-05-07 12:54 AM
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.
2026-05-07 1:10 AM
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:
2026-05-07 11:27 PM
this is old project on FW_WBA V1.7.0
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.
2026-05-08 12:44 AM
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.
2026-05-08 7:51 AM
Tnx a lot, I need to able to update device. Should be good to use last IDE and MX.
2026-05-13 5:25 AM
some news ?