NUCLEO-H743ZI using all pins

Post here first, or if you can't find a relevant section!
DrBanana
Posts: 16
Joined: Thu Jun 10, 2021 3:02 pm

NUCLEO-H743ZI using all pins

Post by DrBanana »

I have NUCLEO-H743ZI2 and I need to use almost all pins of board both input and output. The problem is some of them are not working as intended.

Like if I set use following, the PH1 never gets HIGH
PinMode(PH1, OUTPUT);
digitalWrite(PH1, HIGH);
same goes for PC8 and PC9 as input, but they are always HIGH, never goes low


any idea how to make it work ?
by fpiSTM » Tue Nov 16, 2021 3:57 pm
For PH1 this is normal.
As PH0 is used by default for STLink MCO then the PH0 and PH1 are not connected as SB46 and SB44 are DNF.
If you really want to use it then you have to remove SB45 and feed SB44 but in this case you will have to change the system core clock config which probably use the HSE bypass of the STLink by default.
Go to full post
Last edited by DrBanana on Tue Nov 16, 2021 12:40 pm, edited 1 time in total.
ag123
Posts: 1657
Joined: Thu Dec 19, 2019 5:30 am
Answers: 25

Re: NUCLEO-H743ZI using all pins

Post by ag123 »

maybe you'd need to check schematics etc to see if something is connected there.
PH0 and PH1 is your HSE crystal oscillator
PC14 and PC15 is your LSE 32 Khz crystal oscillator
check the specs
https://www.st.com/en/microcontrollers- ... 743zi.html
DrBanana
Posts: 16
Joined: Thu Jun 10, 2021 3:02 pm

Re: NUCLEO-H743ZI using all pins

Post by DrBanana »

ag123 wrote: Tue Nov 16, 2021 7:42 am maybe you'd need to check schematics etc to see if something is connected there.
PH0 and PH1 is your HSE crystal oscillator
PC14 and PC15 is your LSE 32 Khz crystal oscillator
check the specs
https://www.st.com/en/microcontrollers- ... 743zi.html
PH1 is not connected to crystal, it should be but 25Mhz Crystal is not mounted soldered and nor its solder bridges.
Last edited by DrBanana on Tue Nov 16, 2021 12:00 pm, edited 1 time in total.
ag123
Posts: 1657
Joined: Thu Dec 19, 2019 5:30 am
Answers: 25

Re: NUCLEO-H743ZI using all pins

Post by ag123 »

Check for things like LEDs, pull up resistors etc, they tend to be 'littered' around boards and consuming gpios.
DrBanana
Posts: 16
Joined: Thu Jun 10, 2021 3:02 pm

Re: NUCLEO-H743ZI using all pins

Post by DrBanana »

ag123 wrote: Tue Nov 16, 2021 12:00 pm Check for things like LEDs, pull up resistors etc, they tend to be 'littered' around boards and consuming gpios.
I checked the entire PCB as its open source, there is nothing attached to PH1
ag123
Posts: 1657
Joined: Thu Dec 19, 2019 5:30 am
Answers: 25

Re: NUCLEO-H743ZI using all pins

Post by ag123 »

Those OSC pins can have artefacts, I'd guess, They normally have a not gate (transistor) there to work as an oscillator. It may help to check specs, app notes etc.
DrBanana
Posts: 16
Joined: Thu Jun 10, 2021 3:02 pm

Re: NUCLEO-H743ZI using all pins

Post by DrBanana »

ag123 wrote: Tue Nov 16, 2021 12:12 pm Those OSC pins can have artefacts, I'd guess, They normally have a not gate (transistor) there to work as an oscillator. It may help to check specs, app notes etc.
okay I will avoid PH1 but what about PC8, PC9, PF14 not working as INPUT
User avatar
fpiSTM
Posts: 1746
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: NUCLEO-H743ZI using all pins

Post by fpiSTM »

Well which connector you used to test?
For PC8 and PC9 there are not connected by default to the Morpho connector as SB are DNF by default:
PC8-9_H743.png
PC8-9_H743.png (2.62 KiB) Viewed 2753 times
User avatar
fpiSTM
Posts: 1746
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: NUCLEO-H743ZI using all pins

Post by fpiSTM »

PF14 are available on the morpho but not on the CN10 A8 (as SB is DNF) A8 is PF6 by default.
DrBanana
Posts: 16
Joined: Thu Jun 10, 2021 3:02 pm

Re: NUCLEO-H743ZI using all pins

Post by DrBanana »

fpiSTM wrote: Tue Nov 16, 2021 1:54 pm Well which connector you used to test?
For PC8 and PC9 there are not connected by default to the Morpho connector as SB are DNF by default:
PC8-9_H743.png
I'm using both CN11 and CN12. Yes you are right, PC8 and PC9 have SBs DNF by default. I was focused on PF14, I forgot to check these 2.

Thank you, it works now.

Edit :
About PF14, the problem was in hardware connection, its all good except PH1 cant be used as output.
Post Reply

Return to “General discussion”