eCAN Receive - Initialize - Problem - Simulink - Embedded Coder - C2000 - TMS320F237xD

Hi,
I have problems initializing the "eCAN Receive" Block.
My CAN message is 8 bytes long, but I can only initialize the first byte in the "eCAN Receive" block.
If i'm initializing the byte "B3" (in Hex), then there will be written the value "B3" in all the other 8 Bytes.
As soon as I want to initialize more bytes, e.g. "A1B3", I get the value "B3" for all 8 bytes again and byte "A1" is ignored.
Can anyone help me?
Thanks!

 채택된 답변

Bernd Pfeifer
Bernd Pfeifer 2021년 1월 21일
Perfect, I figured it out.
In the above problem, the bytes must be initialized as follows:

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Simulink Coder에 대해 자세히 알아보기

제품

릴리스

R2020b

질문:

2021년 1월 20일

답변:

2021년 1월 21일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by