你好,我用的是CAN模块。我用微芯片提供的程序作为基础。我的问题是:在一个CAN帧传输中,8个数据字节被组合成2到2。因此,为了发送下面的8个字节:0x1、0x2、0x、3、0x4、0x5、0x6、0x7,我们得到DATA1= 0x0102、DATA2= 0x0304、DAT。A3= 0x0506,DATA4= 0x0708。我无法单独发送每个字节。根据ECAN P34的数据表,我开始怀疑这是否可能。我希望我已经明确了我想做的事。问候,巴普蒂斯特。
以上来自于百度翻译
以下为原文
Hi,
I use the CAN module available.
I used the program provided by microchip as a basis.
My problem is as follows: during a CAN frame transmission, the 8 data bytes are combined 2 to 2.
Thus, to send the following 8 bytes: 0x1, 0x2, 0x, 3, 0x4, 0x5, 0x6, 0x7
We obtain Data1 = 0x0102, Data2 = 0x0304, Data3 = 0x0506, Data4 = 0x0708.
I can't manage to sent each byte separately.
According to the datasheet about ECAN p34, I'm beginning to wonder if this is possible.
I hope I have been clear in what I want to do.
Regards,
Bap
tiste