You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working on an NUCLEO-H563ZI with Zephyr and using a motor driver (L6472) over SPI. I noticed that the MOSI line (green in the photo) goes high even when no clock signal is generated. I am wondering if this could affect the response to the 0x21 frame.
In the component's datasheet, it is mentioned that there is no response from the driver before sending the command frame. How can I ensure that the MOSI line remains low when there is no clock signal?
This is my device tree and the functions I use to write and read register.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
[Hello,]
I am working on an NUCLEO-H563ZI with Zephyr and using a motor driver (L6472) over SPI. I noticed that the MOSI line (green in the photo) goes high even when no clock signal is generated. I am wondering if this could affect the response to the 0x21 frame.
In the component's datasheet, it is mentioned that there is no response from the driver before sending the command frame. How can I ensure that the MOSI line remains low when there is no clock signal?
This is my device tree and the functions I use to write and read register.
`&spi4 {
pinctrl-0 = <&spi4_sck_pe12 &spi4_miso_pe13 &spi4_mosi_pe14>;
pinctrl-names = "default";
cs-gpios = <&gpiod 11 (GPIO_ACTIVE_LOW)>;
status = "okay";
};
&spi4_sck_pe12{
slew-rate = "very-high-speed";
bias-pull-up;
};
&spi4_miso_pe13{
slew-rate = "very-high-speed";
bias-pull-down;
};
&spi4_mosi_pe14{
slew-rate = "very-high-speed";
bias-pull-down;
};`
Beta Was this translation helpful? Give feedback.
All reactions