4 years, 10 months ago.

Pin conflicts between Digital Out and Analog in

Hi,

Are there any know pin conflicts I should be aware of?

https://os.mbed.com/forum/bugs-suggestions/topic/35953/

I just raised this issue on the main forum but was hoping I may receive a quicker response here.

Question relating to:

Affordable and flexible platform to ease prototyping using a STM32F303K8T6 microcontroller.

It would probably help if you could be a bit more specific. The problem described in that link is because of the PCB layout. I mean, just look at the schematic to see how things are connected. Obviously easiest to pick a pin that is not already connected somewhere else. Which pins specifically are you worried about? What do you want to configure them to do? Are you just trying to identify one DigitalOut pin that will work and one AnalogIn pin that will work?

Issues to worry about are the PCB layout, the pin mode (pull up, down etc), which peripherals are actually mapped to which pins, and if mbed-os implements specific peripheral on a specific pin. In some cases even though the micro supports a peripheral on a pin, mbed may not have implemented support for that configuration. You can take a look at PeripheralPins.c to see how pins are setup when you try to use each peripheral.

posted by Graham S. 02 Jul 2019

OK thanks graham I will look at the schematic, I was specifically interested in the analog in pins.

posted by joe holdsworth 19 Sep 2019
Be the first to answer this question.