cancel
Showing results for 
Search instead for 
Did you mean: 

How to send several frames through CAN

jefferson
Associate
Posted on December 02, 2014 at 22:47

I tried to send several frames through CAN of STM32F103R4 but i could only send one frame. Somebody know How to sende several frames?

#can #stm32f103r4 #can
2 REPLIES 2
Posted on December 03, 2014 at 01:01

Pretty sure you can just send one after another.

[DEAD LINK /public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/transmit%20interrupt%20of%20CAN%20works%20well%20in%20loopback%20mode%20but%20vice%20versa%20in%20normal%20mode&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B&currentviews=1271]https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=%2Fpublic%2FSTe2ecommunities%2Fmcu%2FLists%2Fcortex_mx_stm32%2Ftransmit%20interrupt%20of%20CAN%20works%20well%20in%20loopback%20mode%20but%20vice%20versa%20in%20normal%20mode&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B¤tviews=1271
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
jpeacock
Associate III
Posted on December 03, 2014 at 14:08

First the obvious, do you have two nodes connected together?  You cannot send data with just one node.  Are both ends of the twisted-pair bus terminated?  Is the second node receiving the message sent by the first node?

What are the contents of the error registers?  You may be stopping due to a fault condition.

  Jack Peacock