Page 1 of 1

Why can not I see portC13? (STM32 F091RC NUCLEO)

Posted: Sun Mar 25, 2018 1:05 pm
by celebriums
Hi All
When I look at the chip, I want to define PortC13 as a button, but can not?

Re: Why can not I see portC13? (STM32 F091RC NUCLEO)

Posted: Mon Mar 26, 2018 9:53 am
by LeighM
Hi
The Nucleo definition file (FCD) was designed for simplicity to have the "Arduino" footprint pinouts, so some pins are missing.
We could create a chip definition for the 32F091RC, but that would not include the download configs for the Nucleo.
Another option is to use a calculation macro to read the state of the pin into a variable...
PORTC13.jpg
PORTC13.jpg (3.97 KiB) Viewed 6275 times
Will that help you?
Let me know if you need the raw chip definition and I'll find some time to create the FCD.

Re: Why can not I see portC13? (STM32 F091RC NUCLEO)

Posted: Wed Mar 28, 2018 9:23 pm
by celebriums
Hi LeighM
Thank you for your interest.
I do not have B0 = $ PORTC13, because FLOWCODE7 now recognizes $ PORTC13 as a new variable.

I think you'il need a little help. :D

Thanks in advance

Re: Why can not I see portC13? (STM32 F091RC NUCLEO)

Posted: Thu Mar 29, 2018 8:10 am
by LeighM
Hi,
Sorry, the image is a little difficult to see, it is ...

Code: Select all

B0 = $PORTC.13