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

An area to discuss ARM specific problems and examples

Moderator: Benj

Post Reply
User avatar
celebriums
Posts: 125
Joined: Sun Sep 25, 2016 3:50 pm
Has thanked: 71 times
Been thanked: 33 times
Contact:

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

Post by celebriums »

Hi All
When I look at the chip, I want to define PortC13 as a button, but can not?
Attachments
STM32F091RC.fcfx
(19.91 KiB) Downloaded 297 times
Sincerely Regards
Sadık SUME

www.kaandesign.com.tr

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times

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

Post 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 7826 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.

User avatar
celebriums
Posts: 125
Joined: Sun Sep 25, 2016 3:50 pm
Has thanked: 71 times
Been thanked: 33 times
Contact:

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

Post 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
Sincerely Regards
Sadık SUME

www.kaandesign.com.tr

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times

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

Post by LeighM »

Hi,
Sorry, the image is a little difficult to see, it is ...

Code: Select all

B0 = $PORTC.13

Post Reply