有谁调通过CAN FD的longframe收发?

公告

大中华汽车电子生态圈社区并入开发者社区- 更多资讯点击此

Tip / 登入 to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
xiaobuy
Level 3
Level 3
25 replies posted 10 replies posted 5 replies posted
我在调试CANFD的longframe收发功能。message length可以按照设定的发送,但是超过8个byte以外的数据就没法赋值发送出去了。都是默认的0x00.
0 点赞
18 回复数
sjhdaflafjk
Level 4
Level 4
50 replies posted 25 replies posted 10 replies posted
没使能CANFD?
0 点赞
xiaobuy
Level 3
Level 3
25 replies posted 10 replies posted 5 replies posted
已经使能了,发送的也是正常CANFD。就是看起来超过8位的数据没有赋值成功。 接收也是一样。能接收CANFD,但是超过8位的,读不到。
0 点赞
yanhaijian
Level 4
Level 4
250 replies posted 100 replies posted 50 replies posted
CAN标准帧最多只有8字节数据。
0 点赞
xiaobuy
Level 3
Level 3
25 replies posted 10 replies posted 5 replies posted
我的是CANFD,最多64字节。
0 点赞
jeremy_yao
Level 2
Level 2
250 replies posted 100 replies posted 50 replies posted
位数有选择的?
0 点赞
xiaobuy
Level 3
Level 3
25 replies posted 10 replies posted 5 replies posted
你的位数选择是指数据长度吗? 我定义了12bytes的数据,发送的数据也是12bytes,只不过前8位有真实数据,后4位只有默认的00数据,赋值没有发送出来。
0 点赞
ZERO_GO
Level 6
Level 6
5 sign-ins Welcome!
看看CanFD开关是否打开
0 点赞
xiaobuy
Level 3
Level 3
25 replies posted 10 replies posted 5 replies posted
FDEN, FDF, BRS都已经开了。 MMC也设置了64bytes mode。
0 点赞
阳东
Level 5
Level 5
10 comments on blog 5 comments on blog First comment on blog
mark
0 点赞
liliWinner
Level 6
Level 6
500 replies posted 250 replies posted 100 replies posted
学习一下
0 点赞
跑道
Level 4
Level 4
100 replies posted 50 replies posted 25 replies posted
用的Mcal吗?
0 点赞
风行者
Level 3
Level 3
25 replies posted 10 replies posted 5 replies posted
请问楼主解决了吗?能否分享一下
0 点赞
xiaobuy
Level 3
Level 3
25 replies posted 10 replies posted 5 replies posted
已经解决了。。。你哪边有问题?
0 点赞
明曦
Level 1
Level 1
C系列 CANFD例程 可以发一下吗 邮箱1264136841@qq.com 多谢啦
0 点赞
WDS
Level 1
Level 1
5 replies posted First question asked First reply posted
我这里可以发送64位的CANFD,可以用nomimalBitRate去发送,但是无法采用fastBItRate进行CANFD的发送。
0 点赞
xiaobuy
Level 3
Level 3
25 replies posted 10 replies posted 5 replies posted
BRS设置了吗?
0 点赞
天箜
Level 1
Level 1
我的是non ISO的CANFD,TC23X系列应该是支持ISO CANFD的,楼主有遇到这个问题吗
0 点赞
xiaobuy
Level 3
Level 3
25 replies posted 10 replies posted 5 replies posted
我的已经没问题了。。
0 点赞