2020-10-06 11:01 PM
I'm configuring an STM32G474VEH and I right clicked on pin PA3 and I get the attached popup dialog.
The datasheet has OPAMP1_VINM / OPAMP1_VINP / OPAMP5_VINM.
How do these each of these three items map to the entries in the list below?
Solved! Go to Solution.
2020-11-06 07:42 AM
Hi @Singh.Harjit ,
Referring to RM 0440 "Table 200.Operational amplifier possible connection", these extra-signals are needed, each according to the chosen mode.
For OPAMPX_VINM_SEC, we just use it if we activate the Timer Controlled Mux mode.
So there's no CubeMX issue, but waiting for DS update.
Best Regards,
Khouloud
2020-10-07 06:15 AM
There is no image attached, and no "list below".
Pins are used by analog peripherals by putting them in analog mode. See:
2020-10-07 08:11 AM
Sorry the picture didn't come through. Weird - it was in the version I composed. Trying again.
I left click on ball PA3 and this menu pops up (see STM32CubeMX).
Since I'm working with opamp1, what do the following mean:
OPAM1_VINM
OPAM1_VINM0
OPAM1_VINM_SEC
OPAM1_VINP
OPAM1_VINP_SEC
STM32CubeMX:
Datasheet - DS12288 Rev 4, page 61:
Reference manual - RM0440 Rev 4, page 800:
2020-10-12 03:36 AM
Hello @Singh.Harjit
This will be internally checked.
Thanks
Khouloud
2020-11-06 07:42 AM
Hi @Singh.Harjit ,
Referring to RM 0440 "Table 200.Operational amplifier possible connection", these extra-signals are needed, each according to the chosen mode.
For OPAMPX_VINM_SEC, we just use it if we activate the Timer Controlled Mux mode.
So there's no CubeMX issue, but waiting for DS update.
Best Regards,
Khouloud
2020-11-07 07:36 PM
A suggestion for the CubeMX team - please make all pin configuration available. For example, in the bit definition for VP_SEL, I can select three inputs VINP0, VINP1 and VINP2 in the registers but CubeMX doesn't let me setup pins for these. I can setup the primary pin and then have to make the pin an GPIO_Analog which is confusing because it would be nice to know which pin i've mapped to which opamp/mux input in CubeMX.