|
Ethernet and CAN on STM32
#can
#ethernet
Hi Michael, When available, peripheral drivers of one SoC series should work with all boards using SoC of this series. Peripheral configuration is not done systematically on all the boards, as it requ
Hi Michael, When available, peripheral drivers of one SoC series should work with all boards using SoC of this series. Peripheral configuration is not done systematically on all the boards, as it requ
|
By
Erwan Gouriou
· #2411
·
|
|
Ethernet and CAN on STM32
#can
#ethernet
Dear all, I am new to Zephyr, I would like to use it on a STM32 for a Ethernet-to-CAN converter. While looking on the list of supported boards, and the supported feature, I can not find a single STM32
Dear all, I am new to Zephyr, I would like to use it on a STM32 for a Ethernet-to-CAN converter. While looking on the list of supported boards, and the supported feature, I can not find a single STM32
|
By
schmid.enterprise@...
· #2410
·
|
|
How to use "Serial CAN Bus Module"
#driver
#uart
#can
@Lawrence King Thank you for the code! @All I tried the last few days to get it working but I don’t know how to use a second UART. I’m using the nRF52832dk board which has only “uart0” defined in the
@Lawrence King Thank you for the code! @All I tried the last few days to get it working but I don’t know how to use a second UART. I’m using the nRF52832dk board which has only “uart0” defined in the
|
By
s9gosich@...
· #2172
·
|
|
How to use "Serial CAN Bus Module"
#driver
#uart
#can
I have used the Longan module with Zephyr on nrf52840. I connected it to a Serial, then modified the Longan library to compile and work under Zephyr. This isn’t everything you need (missing the .h inc
I have used the Longan module with Zephyr on nrf52840. I connected it to a Serial, then modified the Longan library to compile and work under Zephyr. This isn’t everything you need (missing the .h inc
|
By
Lawrence King
· #2166
·
|
|
How to use "Serial CAN Bus Module"
#driver
#uart
#can
Hi all, I’m new to zephyr and need some help. I have a nrf52dk board and want to use this ( https://www.longan-labs.cc/1030001.html ) serial to CAN device. I was able to test this with an Arduino and
Hi all, I’m new to zephyr and need some help. I have a nrf52dk board and want to use this ( https://www.longan-labs.cc/1030001.html ) serial to CAN device. I was able to test this with an Arduino and
|
By
s9gosich@...
· #2165
·
|
|
MCP2515 Interrupt
#can
Hello everybody, this is my first post. I have a problem with the drivers/can/can_mcp2515.c interrupt configuration/the mcp2515 driver implementation. I would like to send a can message with the can_s
Hello everybody, this is my first post. I have a problem with the drivers/can/can_mcp2515.c interrupt configuration/the mcp2515 driver implementation. I would like to send a can message with the can_s
|
By
...
· #1959
·
|
|
STM32 CAN bus driver issues
#stm32
#can
*Root directory = project folder
*Root directory = project folder
|
By
...
· #1368
·
|
|
STM32 CAN bus driver issues
#stm32
#can
Josef, The BOARD_ROOT works for me even with Stm32 boards. The pinmux is mandatory for alternate functions on st boards. You can run the following commad to set the board root: west build -b hvac_sens
Josef, The BOARD_ROOT works for me even with Stm32 boards. The pinmux is mandatory for alternate functions on st boards. You can run the following commad to set the board root: west build -b hvac_sens
|
By
...
· #1367
·
|
|
STM32 CAN bus driver issues
#stm32
#can
Update: CAN bus is working now with my board. I had to move by board config into the Zephyr tree, then pinmuxing seems to work. I still do not know the root cause. My configuration (for CAN) was ident
Update: CAN bus is working now with my board. I had to move by board config into the Zephyr tree, then pinmuxing seems to work. I still do not know the root cause. My configuration (for CAN) was ident
|
By
...
· #1363
·
|
|
STM32 CAN bus driver issues
#stm32
#can
Hi, the driver is built into the kernel, but what I found out yesterday is, that the pinmuxing is not set up correctly. And the STM32 CAN controller will wait until it has received some bits before it
Hi, the driver is built into the kernel, but what I found out yesterday is, that the pinmuxing is not set up correctly. And the STM32 CAN controller will wait until it has received some bits before it
|
By
...
· #1362
·
|
|
STM32 CAN bus driver issues
#stm32
#can
Hi Josef To me, the problem look more like you didn’t include the CAN bus drivers when you built the kernel. Try running ‘make menuconfig’ and turning on the CAN bus, then rebuilding. Lawrence King Pr
Hi Josef To me, the problem look more like you didn’t include the CAN bus drivers when you built the kernel. Try running ‘make menuconfig’ and turning on the CAN bus, then rebuilding. Lawrence King Pr
|
By
Lawrence King
· #1359
·
|
|
STM32 CAN bus driver issues
#stm32
#can
Hi Joseph, Which board are you using? Did you check that CAN driver is available for this board? Not sure it has been deployed for the whole STM32 family. Erwan
Hi Joseph, Which board are you using? Did you check that CAN driver is available for this board? Not sure it has been deployed for the whole STM32 family. Erwan
|
By
Erwan Gouriou
· #1357
·
|
|
STM32 CAN bus driver issues
#stm32
#can
With some more debugging it looks like the STM32 CAN initialization fails in the STM32 HAL code: At HAL_CAN_Init() the loop waiting for the INAK bit in the CAN_MSR register to be reset when the initia
With some more debugging it looks like the STM32 CAN initialization fails in the STM32 HAL code: At HAL_CAN_Init() the loop waiting for the INAK bit in the CAN_MSR register to be reset when the initia
|
By
...
· #1356
·
|
|
STM32 CAN bus driver issues
#stm32
#can
Hi, I am trying to get the STM32 CAN bus driver running with the latest revision from git. Unfortunately calling device_get_binding() fails and the reason for that is that the pointer 'driver_api' in
Hi, I am trying to get the STM32 CAN bus driver running with the latest revision from git. Unfortunately calling device_get_binding() fails and the reason for that is that the pointer 'driver_api' in
|
By
...
· #1353
·
|