Part Number: LAUNCHXL-F28379D
Hello there!
I'm new to the C2000 µC Family and I really like the good Support by Matlab and Simulink. I have deployed all my algorithms to the C2000 and it seems to work fine so far. I now want to use CAN communication to read and write some variables and data in my Simulink model. Therefore I'm using Vector Software.
At first I tried to Transmit some data via CAN to Vectors CANoe, which worked fine with some Signals. Unfortunately the eCAN Transmit block only accepts type uint values. For negative Signals this is a Problem. First question: do you know how to use the eCAN Transmit block when using also signed singals?
Then I tried to Receive a CAN Signal, to set variables for example. Unfortunetly this is an 8 Byte length vector as Output. What is the architecture of this vector?
Then I found an Simulink example using the CCP block. It seems to me that definded Paramters and Signals are send and recieved via CAN using this block. I have an a2l and a hex generated when Building the model. I thought I can use it for Vectors CANape maybe. But unfortunately I cannot connect to the board somehow. There is no CAN stream also, when compiling the Simulink example. (link to the example:
)
Maybe you can give me a little help for starting here :)