Does the ADC on A12 (aka DAC0) work on your board?

Hi,

A11 works and A13 (aka DAC1) works, but not A12. Not sure if this is HW or SW so if it is/isn't working for you please let me know.

Also, the how-to says the CAN pins can be used as ADCs https://docs.arduino.cc/tutorials/giga-r1-wifi/giga-audio

"The GIGA R1 microcontroller, the STM32H747XI, embeds three ADCs whose resolution can be configured to 8, 10, 12, 14, or 16 bits. Each ADC shares up to 20 external channels that can be accessed in the GIGA R1 board through pins A0 .. A11. DAC0, DAC1, CANRX, CANTX can also be used as ADCs."

but everything else I've seen suggests 14 analog and 2 digital CAN. Would be good to have it confirmed as an extra two analog would be handy for me.

Thanks

** Update: this morning A12 is working and A13 is not!

** Update 2: An analogRead on A13 is reading the value of A9.

Found one other thread re A12 not working More than 12ADC inputs

Something freaky is happening with A12/A13 so any results you have from your own tests would help a lot. Thanks

** Update 3: A8 and A9 are some how linked to A12 and A13. A voltage applied to A8 is also present on A12 and the same for A9 seen on A13. This does not always work in reverse, i.e. A voltage on A12 not always seen on A8 and A13 on A9.

** Update 4: Tried putting 3.3v on A8 and 2.5v on A12. Both read as 3.3v. Reversed them and both read 2.5v. Same holds true with A9/A13.

** Update 5: Some progress. Using AdvancedAnalog for A12 / A13 and analogRead for A8 / A9 all pins read as expected. AdvancedAnalog compile fails if trying to use A6-A9.

So I'm fairly sure it's not a board fault and more likely something in the interface layer to mbed? Thoughts from those more knowledgeable?

issue raised GIGA R1 - analogRead(A12) returns A8 value · Issue #758 · arduino/ArduinoCore-mbed · GitHub