Page 1 of 1

Understanding the Interfaces

Posted: Wed Nov 23, 2016 6:52 am
by nsaggere
Hi,
I have got the PYBv1.1 could you please point me to the document that describes how the interface is done between the micro controller signals and the perhiperals.

Please help me with an example.

for example i want to know which pins i have to use a ADC on the board.

Re: Understanding the Interfaces

Posted: Wed Nov 23, 2016 8:03 am
by dhylands
This picture shows the functions available on various pins:
https://store.micropython.org/static/st ... v1_1-E.jpg

The documentation for the pyb modules documents how to use the various peripherals, with examples:
http://docs.micropython.org/en/latest/p ... y/pyb.html
Scroll to the bottom to see the various classes.

Re: Understanding the Interfaces

Posted: Wed Nov 23, 2016 8:43 am
by nsaggere
Thank you dhylands for sharing this.

Is there any other documentation from which i can understand the pin mapping and accessing various peripherals more from a hardware and memory mapping perspective.

Re: Understanding the Interfaces

Posted: Wed Nov 23, 2016 8:31 pm
by dhylands
If you want that level of detail, then you'll need to consult the datasheets for the MCU of the processor you're using.