intialization nucleo f767ZI

All about boards manufactured by ST
Post Reply
Lowfog4
Posts: 2
Joined: Mon Sep 28, 2020 4:08 pm

intialization nucleo f767ZI

Post by Lowfog4 »

Hello!
Please help -
1. How can Start Hardware Serial 1,2,3,6 on nucleo f767 ? Nobody working. Only Base Serial work.
On Nucleof401RE all Serial working good.

2. how need pin mapping - example PG_10 - not working , PG10 - error.
User avatar
fpiSTM
Posts: 1738
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: intialization nucleo f767ZI

Post by fpiSTM »

1- https://github.com/stm32duino/wiki/wiki ... wareserial

2- PG10 is not defined in the variant.h so that is normal. Don't know why it was not added and I guess some other pins are missing.
Do not hesitate to update it. ;)
Lowfog4
Posts: 2
Joined: Mon Sep 28, 2020 4:08 pm

Re: intialization nucleo f767ZI

Post by Lowfog4 »

hello, i find variant.h ... part of its code are below:

Code: Select all

......#define PG9  0
#define PG14 1
#define PF15 2
#define PE13 3
#define PF14 4
#define PE11 5
#define PE9  6
#define PF13 7
#define PF12 8
#define PD15 9......
PD15 is number 9. What is number fo PG_10, PA_13 etc... ?
User avatar
fpiSTM
Posts: 1738
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: intialization nucleo f767ZI

Post by fpiSTM »

PYn is pin number used by the Arduino API. It allows to find the PinName PY_n which represent a concatenation of GPIO port and pin.
Post Reply

Return to “STM boards (Discovery, Eval, Nucleo, ...)”