2022-04-02 11:19 PM
Hi , iam trying to use spi1 pheripheral for the cortex M4 and iam using Pz0 as CLK, pz1as MISO, pz2 as MOSI, pz3 as NSS , but i tried several ways to do it by changing the kernel DTS and TF-A as well but no result , could anyone please help me how can i configure a spi pheripheral to cortex M4 with above given pins
Thanks & regards
Akshay.
2022-04-04 01:21 AM
Hi @Maksh.1 ,
did you generate your DT using CubeMx ?
Could you elaborate on the 'unable to assign' ? It there any error messages ?
Please have a look to this post which highlight the need to use pinctrl_z:
Please also look at https://wiki.st.com/stm32mpu/wiki/How_to_assign_an_internal_peripheral_to_a_runtime_context
and ensure you have only and &spi1_m4 "okay" (i.e. keep &spi1 "disabled")
Regards.
2022-04-12 02:04 AM
Hi @Maksh.1 ,
Do you progress on this subject ?
Regards.
In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'