cancel
Showing results for 
Search instead for 
Did you mean: 

Re: STM32MP1 FDCAN issues

ngoctoan150699
Associate III

I am setting up the fd-can protocol on stm32mp1, please let me know after creating the dts file from stm32mx , how to transfer that file to stm32mp1 to use, do I use the command root@stm32mp1:~# ls / sys/class/net
end0 lo usb0 , it doesn't show that there is can0 , and I have another question
when I type like this there is flexcan , does it have any effect?
root@stm32mp1:~# lsmod
Module Size Used by
flexcan 32768 0
cfg80211 663552 0
usb_f_ncm 24576 2
u_ether 20480 1 usb_f_ncm
libcomposite 49152 10 usb_f_ncm
stm32_adc 36864 0
stm32_timer_trigger 20480 1 stm32_adc
stm32_lptimer_trigger 16384 1 stm32_adc
snd_soc_stm32_sai_sub 28672 8
snd_soc_audio_graph_card 16384 2
snd_soc_simple_card_utils 20480 1 snd_soc_audio_graph_card
stusb160x 16384 0
stm32_adc_core 20480 0
stm32_hash 32768 0
crypto_engine 16384 1 stm32_hash
typec 45056 1 stub160x
stm32_vrefbuf 16384 1
snd_soc_hdmi_codec 16384 1
snd_soc_cs42l51_i2c 16384 1
snd_soc_cs42l51 24576 1 snd_soc_cs42l51_i2c
snd_soc_stm32_i2s 20480 2
snd_soc_core 184320 6 snd_soc_stm32_i2s,snd_soc_cs42l51,snd_soc_audiob
snd_pcm_dmaengine 16384 1 snd_soc_core
ac97_bus 16384 1 snd_soc_core
galcore 372736 2
snd_pcm 98304 7 snd_soc_stm32_i2s,snd_soc_cs42l51,snd_pcm_dmaenb
snd_timer 28672 1 snd_pcm
stm32_cec 16384 0
snd 57344 9 snd_soc_hdmi_codec,snd_timer,snd_soc_core,snd_pb
soundcore 16384 1 snd
snd_soc_stm32_sai 16384 0
stm32_crc32 16384 0
sch_fq_codel 20480 3
ip_tables 24576 0
x_tables 24576 1 ip_tables
ipv6 503808 38
root@stm32mp1:~#

This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
PatrickF
ST Employee

Hi, @ngoctoan150699 ,

 

may I suggest you to look to following links:

Device tree:

https://wiki.st.com/stm32mpu/wiki/Device_tree

https://wiki.st.com/stm32mpu/wiki/STM32_MPU_device_tree

FDCAN:

https://wiki.st.com/stm32mpu/wiki/FDCAN_internal_peripheral

https://wiki.st.com/stm32mpu/wiki/FDCAN_device_tree_configuration

https://wiki.st.com/stm32mpu/wiki/Networking_overview

https://wiki.st.com/stm32mpu/wiki/CAN_overview

 

Regards.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
Tip of the day: Try Sidekick STM32 AI agent, see here

hi, I have a problem when controlling FDCAN, there is no option as instructed 

ngoctoan150699_1-1704439114263.png

 

ngoctoan150699_0-1704439075732.png