Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => STMP1 => Topic started by: Ste_trat on July 08, 2022, 12:32:06 PM

Title: Adding Micropython - Support
Post by: Ste_trat on July 08, 2022, 12:32:06 PM
Hi,
i am currently working on adding circuitPython from Adafruit to the SBC-Version with the
STM32MP157AAA-chip

So far so good:
The board and the chip detection works.

The only thing that i would need for full description/mapping of the board is the following:
either
-a STMCubeMX-file or
the pin locations of the following (pin.123):

.
.
#JTMS_SWDIO = pin.123       #D26
NAND_DQ4 = pin.PE7          #D27
#JTCK_SWCLK = pin.123       #D28
NAND_DQ5 =  pin.PE8         #D29
#JTDO_TRACESWO =pin.123     #D30
NAND_DQ6 = pin.PE9          #D31
#JTDI = pin.123             #D32
NAND_DQ7 = pin.PE10         #D33
#NJTRST = pin.123           #D34

# --------------------------------
# Header GPIO-4
# --------------------------------
# 3.3V - +3.3V               E01
# GND - VSS                  E02
#DSI_D1P = pin.123           #E03
# NC                         E04
#DSI_D1N = pin.123           #E05
#AXP_GPIO1 = pin.123         #E06
#DSI_CKP = pin.123           #E07
#AXP_GPIO0 = pin.123         #E08
#DSI_CKN = pin.123           #E09
#AXP_GPIO2 = pin.123         #E10
#DSI_D0P = pin.123           #E11
#AXP_GPIO3 = pin.123         #E12
#DSI_D0N = pin.123           #E13

LCD_DE = pin.PK7             #LCD32
LCD_LR  = pin.123            #LCD33
LCD_UD  = pin.123           #LCD34

I hope you can provide some info´s since the pin# for those above is not described in the KiCAD - schematic.
Thank you
Title: Re: Adding Micropython - Support
Post by: LubOlimex on July 08, 2022, 01:11:23 PM
Which Olimex board exactly do you have?
Title: Re: Adding Micropython - Support
Post by: Ste_trat on July 08, 2022, 03:42:04 PM
Currently:
STMP157-OLinuXino-LIME2H-EXT
and i would also like to add the
STMP157-OLinuXino-LIME2H-IND
Title: Re: Adding Micropython - Support
Post by: Ste_trat on July 12, 2022, 10:45:22 AM
Any news regarding the pinout. Are they the same for both boards?

If there are significant differences and if they are not correctly displayed on the schematic, i need to know.

Thank you
Title: Re: Adding Micropython - Support
Post by: LubOlimex on July 21, 2022, 02:28:01 PM
There are no differences in the pinout between EXT and IND version. Basically in the IND version the main chip is different so that it allows lower temperature operation (down to -45C) at the cost of maximum frequency (IND chip can work up to 650MHz, while EXT chip can work up to 800MHz).

Umm header 4 can be investigated from the board schematic. Signals from it go to the main chip, some go the AXP209 and two of all signals go to the LCD connector, as can be seen here:

https://i.imgur.com/yZIEvxo.jpg