Understanding the Interfaces

The official pyboard running MicroPython.
This is the reference design and main target board for MicroPython.
You can buy one at the store.
Target audience: Users with a pyboard.
Post Reply
nsaggere
Posts: 2
Joined: Wed Oct 19, 2016 11:30 am

Understanding the Interfaces

Post by nsaggere » Wed Nov 23, 2016 6:52 am

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.

User avatar
dhylands
Posts: 3821
Joined: Mon Jan 06, 2014 6:08 pm
Location: Peachland, BC, Canada
Contact:

Re: Understanding the Interfaces

Post by dhylands » Wed Nov 23, 2016 8:03 am

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.

nsaggere
Posts: 2
Joined: Wed Oct 19, 2016 11:30 am

Re: Understanding the Interfaces

Post by nsaggere » Wed Nov 23, 2016 8:43 am

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.

User avatar
dhylands
Posts: 3821
Joined: Mon Jan 06, 2014 6:08 pm
Location: Peachland, BC, Canada
Contact:

Re: Understanding the Interfaces

Post by dhylands » Wed Nov 23, 2016 8:31 pm

If you want that level of detail, then you'll need to consult the datasheets for the MCU of the processor you're using.

Post Reply