2024-01-10 10:18 AM - edited 2024-01-10 10:21 AM
We are working with STM32MP135FAE7 processor. We are unable to get clock, chip select spi4. Here is the pinmux for spi4 according to our board which is defined in optee stm32mp135dk.dts.
spi4_pins_alt1: spi4-alt1 {
pins {
pinmux = <STM32_PINMUX('B', 15, AF5)>, /* SPI4_MOSI */
/*<STM32_PINMUX('D', 10, AF5)>, /* SPI4_NSS */
<STM32_PINMUX('F', 3, AF5)>, /* SPI4_MISO */
<STM32_PINMUX('H', 9, AF5)>; /* SPI4_SCK */
bias-disable;
drive-push-pull;
slew-rate = <1>;
};
};
and stm32mp135.dtsi
spi4: spi@4c002000 {
compatible = "st,stm32h7-spi";
reg = <0x4c002000 0x400>;
interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&rcc SPI4_K>;
resets = <&rcc SPI4_R>;
#address-cells = <1>;
#size-cells = <0>;
feature-domains = <&etzpc STM32MP1_ETZPC_SPI4_ID>;
status = "okay";
};
What can be the issue and how can I debug it at hardware level and software level?
Solved! Go to Solution.
2024-01-11 10:12 PM
Its okay it was our mistake, hardware issue was there in circuit. Clock is showing.
2024-01-11 10:12 PM
Its okay it was our mistake, hardware issue was there in circuit. Clock is showing.