STM32G4 analog camparators

2021-06-15 Thread Daniel Pereira Carvalho
Hi, I'm trying to use the analog comparators of the nucleo-g431kb board. As a reference I'm using the implementation and pin definition of the nucleo-f334r8 board. Looking at RM0364 Reference manual section *15.3.2 COMP pins and internal signals* there is the following *"The I/Os used as compara

Re: Introduction + incoming RISC-V port(s)

2021-06-15 Thread Xiang Xiao
> > There's a LOT of duplication within arch/risc-v and where there is > divergence, it's not always clear it's intentional or if it's just missed > merges. It's an area where weak symbols (don't call a function if it wasn't > linked) and C++ virtual overrides could really clean things up. I g

Re: STM32G4 analog camparators

2021-06-15 Thread Nathan Hartman
Are these conditions also applicable to the STM32G4 family? This family has different/newer IP blocks than some other STM32 families, but I'm away from my computer and can't check the details now. Maybe raiden00pl knows more. IIRC he fixed some of my mistakes in the pinmap :-) IIRC STmicro has som

Re: STM32G4 analog camparators

2021-06-15 Thread raiden00pl
> These definitions correct? Or I am understanding something wrong. It seems that these definitions are wrong. Probably a copy-paste error from COMPx_OUTx definitions. But what is strange, COMP worked even with bad input pins configuration for stm32f334-disco/powerled example. Unfortunately, my st