Page 1 of 1

intialization nucleo f767ZI

Posted: Mon Sep 28, 2020 4:14 pm
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.

Re: intialization nucleo f767ZI

Posted: Mon Sep 28, 2020 7:30 pm
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. ;)

Re: intialization nucleo f767ZI

Posted: Tue Sep 29, 2020 7:01 am
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... ?

Re: intialization nucleo f767ZI

Posted: Tue Sep 29, 2020 8:29 am
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.