Search found 4 matches

by HIDDEN
Tue Feb 04, 2020 1:19 am
Forum: General discussion
Topic: [Help]How to configure PA15 PC13 PC14 PC15 as inputs on Libmaple core
Replies: 5
Views: 6795

Re: [Help]How to configure PA15 PC13 PC14 PC15 as inputs on Libmaple core

Thank you very much for the answers. I will try to desolder the crystal to verify that the inputs work correctly. As for PA15, I have set up as stevestrong says, but for some reason it still doesn't work as input. Keep investigating.
by HIDDEN
Fri Jan 03, 2020 5:54 am
Forum: General discussion
Topic: [Help]How to configure PA15 PC13 PC14 PC15 as inputs on Libmaple core
Replies: 5
Views: 6795

[Help]How to configure PA15 PC13 PC14 PC15 as inputs on Libmaple core

I am having some problems to configure these pins as inputs because they share other predefined functions at boot. In the case of PA15 I have disabled the JTAG function so that it isn't used as JTDI. When I try to use it as input, it remains in activated state all the time. Doesn't matter if I set i...
by HIDDEN
Sat Dec 21, 2019 7:44 pm
Forum: General discussion
Topic: DDRX function on STM32
Replies: 7
Views: 18459

Re: DDRX function on STM32

Thanks for the answers. I already found what I was looking for. Exactly the functions to work directly with ports are GPIOA->regs->REG syntax format for Libmaple Core. GPIOA->regs->CRL and GPIOA->regs->CRH for configure output, inputo or alternate function. GPIOA->regs->IDR for Input Data register G...
by HIDDEN
Fri Dec 20, 2019 5:14 am
Forum: General discussion
Topic: DDRX function on STM32
Replies: 7
Views: 18459

DDRX function on STM32

I don't know if I'm posting this in the right section but there goes my question. Is there any function similar to DDRX in Arduino AVR to work with a full port in STM32? I have been searching and I haven't been able to find anything clarifying about it. In some places they refer to the GPIO concept ...

Go to advanced search