CAN communication demo running error (CAN_IT Module) of STM32-MAT/TARGET
- August 1, 2019
- 1 reply
- 993 views
Hello!
I have installed the STM32-MAT/TARGET toolbox.My operating environment:
matlab 2018b
STM32CubeMX 5.1.0
STM32-MAT/TARGET 5.1.0
There are two question about CAN communication example!
- Question 1:
There is a error about CAN_IT module as follows when I simulate the CAN communication example in STM32demos.
I have tryed to solve this error.However,It seems that we need to modify S-function.But the S-function is saved as .p file,we can't view and modify.
- Question 2:
I want to delete CAN_IT module and simulate in polling mode.However,it still can't send or recieve CAN messege.The CAN state which gets from CAN_Get_State module is always “reset�?.
The attached are the Simulink model and the .ioc configuration file for STM32CubeMX of question 1 and question 2.
Please any help! Thank you!
