cancel
Showing results for 
Search instead for 
Did you mean: 

How to enable SPI1 on the M4 side?

Ashvin Ramani
Associate III

I am describing my approach as below:

What we did:

1) We are using the STM32MP157F-EV1 board (No other board is connected for this exercise, lines are open!)

2) We are using OpenSTLinux(kernel:5.4) and we are using the firmware which was suggested under the "getting started" guide.

What we would like to achieve:

1) Want to use SPI1 interface on M4 (alongside RTOS support) and want to use PZ0, PZ1, PZ2, PZ3 Pins only (due to design limitations!)

Could you please guide me from here to enable the SPI1 on the M4 side?

We have already tried with the default SPI example but It seems the clock is not getting generated.

We want to use only a production mode not an engineering one.

Let me know if you need any other information/clarification.

Thank you in advance and hoping a useful response!!

BR,

Ashvin

1 ACCEPTED SOLUTION

Accepted Solutions
PatrickF
ST Employee

Hi,

please see this post Hi iam unable to assign spi1 pheripheral to cortex M4 on STM32MP157c

is is same issue or different project ?

Regards.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

View solution in original post

1 REPLY 1
PatrickF
ST Employee

Hi,

please see this post Hi iam unable to assign spi1 pheripheral to cortex M4 on STM32MP157c

is is same issue or different project ?

Regards.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.