STM32F745VE CAN2 ISO-TP works strange on Zephyr 3.2 #69221
Replies: 1 comment
-
dts/arm/st/f7/stm32f745.dtsi can2: can@40006800 {
compatible = "st,stm32-can";
reg = <0x40006800 0x400>;
interrupts = <63 0>, <64 0>, <65 0>, <66 0>;
interrupt-names = "TX", "RX0", "RX1", "SCE";
- clocks = <&rcc STM32_CLOCK_BUS_APB1 0x04000000>;
+ clocks = <&rcc STM32_CLOCK_BUS_APB1 0x06000000>;
master-can-reg = <0x40006400>;
status = "disabled";
sjw = <1>;
sample-point = <875>;
}; after change clock on stm32f745.dtsi like above, everything work I supposed. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 wanna make connection with two STM32 MCU via CAN ISO-TP. something like Master and Slave devices.
Master is STM32F745VE, and slave is STM32L433. they are all custom board.
Both of them using CAN tranceiver IC MAX3051EKA+T
I already successed on Zephyr 2.2.99, but in some reasons, I have to migrate Master one to Zephyr 3.2.
And after migrate master to 3.2, I failed communication master and slave.
So I decided to tested again them via sample APP samples/subsys/canbus/isotp.
F745 using CAN2, and L433 using CAN1.
Here's some case of test and results.
And here is the waveform of them.

Each two waveforms meaning CAN_H and CAN_L.
Here is CAN2 config of dts.
Also I checked parameter's like prescaler, clock, bitrate, phase_seg1, phase_seg2 from can_stm32.c and tested them after make each board's value in same value.(via modify dts when can2 sample-point=<0>)
Is there any clue of this problem?
Beta Was this translation helpful? Give feedback.
All reactions