Skip to main content
Visitor II
April 19, 2024
Question

STM32MP1 openstlinux hardware access

  • April 19, 2024
  • 1 reply
  • 1951 views

Hi there,

 

we are developing a custom STM32MP135 board to run openstlinux on it. It will be our first experience with embedded linux (linux) systems, so we have some tasks that we don't know if it can be done. 

These tasks are the following:

  1. Can we access the hardware directly?
  2. Can we get gpio interrupt on openstlinux.
  3. Can we send data over spi, i2c, canbus, usart etc.?
  4. Can we get rx interrupt from usart canbus etc.?

The MPU we have chosen is single core, can you guide us on how to do these tasks? Would these tasks be easier if we use dual core MPU?

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    April 19, 2024

    Hi @FatihYazman 


    Please go to our Wiki to start with the STM32MP135, you might find answer to most of your questions : 

    1.1.3 STM32MP135x-DK - stm32mpu

     

    Hope it help 

     

    Olivier 

     

    Visitor II
    April 19, 2024

    I searched the wiki but couldn't find any answers on how to create a new project from stm32CubeIde and stm32Cube. Do you have any guidance on this?

    Mostly guidance on a sample project.

    Technical Moderator
    April 19, 2024

    Hi @FatihYazman 

     

    I understood you plan to use linux .. so for sure not project with STM32Cube Package bare metal only

     

    For linux let first decide at which level you want to work : Distribution or Developper package : 

    Which STM32MPU Embedded Software Package better suits your needs - stm32mpu

     

    Then let have a look to :

    1.1.3.2 Develop on Arm® Cortex®-A7 - stm32mpu

     

    And if you want to use CubeIDE : 

    How to manage OpenSTLinux projects in STM32CubeIDE - stm32mpu

    How to debug a user space application with STM32CubeIDE/User space static library project - stm32mpu

     

    Olivier