Dear Martin,
Thanks for your kind reply.
What if I need to send two signals as in the example [For example, I need
to put motor speed (14bit) in DATA[0] (07 bit) and DATA[1] (05bit) and
Motor status (2bit) in DATA[1] (6~7bit). ]
Motor speed = 0x2a11 which is 14 bit signal and motor status is 0x3 which
is 2bit signal.
And I need to send above two signals with DATA.B[0] and DATA.B[1].
In order to send two signals, do I need to put first 8 bits of motor speed
in DATA.B[0] and last 6 bits of motor speed and 2 bits of motor status in
DATA.B[1], which is very uncomfortable?
In this way, I need to reconfigure both signals whenever send data.
Is there any function like setting the start bit of signal and length of
signal?
For example, start bit of motor speed signal = 0 and signal length of motor
signal = 14 bit, start bit of motor status signal = 14 and signal length =
2 bit.
Thanks for your support in advance.
Best regards,
Hyuntae
2017-05-16 16:56 GMT+09:00 b55689 <admin@community.nxp.com>:
NXP Community
<https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg>
Re: MPC5744P CAN
reply from Martin Kovar
<https://community.nxp.com/people/b55689?et=watches.email.thread> in
MPC5xxx - View the full discussion
<https://community.nxp.com/message/905775?commentID=905775&et=watches.email.thread#comment-905775>