Page 1 of 1

How to code the touchscreen for a STM32MP157C-DK2 ?

Posted: Tue Jun 09, 2020 11:32 pm
by Starless
I need to use the touchscreen to show information and "press" a button. I am using the Arduino IDE. Do I need to call any library or something?
Got any example perhaps?

I plan on using the Adafruit libraries for the GUI, I dont know it that is important.

Thank you

Re: How to code the touchscreen for a STM32MP157C-DK2 ?

Posted: Wed Jun 10, 2020 1:52 am
by ag123
it seemed MP1 runs linux
https://www.st.com/en/evaluation-tools/ ... l#overview
so it probably runs like an Rpi, have you tried out the linux firmware / software provided by ST?
it can probably run X windows, c++, python, java, all the various apps (web browser?) and all. only the cortex m4 'co-processors' need bare metal style development.

Re: How to code the touchscreen for a STM32MP157C-DK2 ?

Posted: Wed Jun 10, 2020 3:07 am
by Starless
I am using Arduino IDE. Using the Adafruit libraries. We will see if it works.

Re: How to code the touchscreen for a STM32MP157C-DK2 ?

Posted: Wed Jun 10, 2020 5:46 am
by fpiSTM
This will not work. The support added is only for the cortex m4, it has no access to the screen. It handle only the Arduino connector and can communicate with the Linux thanks OpenAmp.

Re: How to code the touchscreen for a STM32MP157C-DK2 ?

Posted: Sat Jun 13, 2020 7:36 pm
by Starless
fpiSTM wrote: Wed Jun 10, 2020 5:46 am This will not work. The support added is only for the cortex m4, it has no access to the screen. It handle only the Arduino connector and can communicate with the Linux thanks OpenAmp.
Why wouldnt it work? Arduino is CC language.

Can I at least display information on the screen?

Re: How to code the touchscreen for a STM32MP157C-DK2 ?

Posted: Sun Aug 09, 2020 9:55 am
by darkspr1te