Serial Receive' is not connected.

1 次查看(过去 30 天)
chabane abdeldjalil
回答: Vidip 2024-1-17
i'm using arduino support package for simulink to transfert data signals between 2 arduino's,i'm using serial ports blocks (1 arduino as transmetter and 1 as reciever) so for the reciver arduino i'm using serial port 1 and 2 (as RX1 and RX2) but when i deploy the scheme to the arduino board it say Serial Receive' is not connected.

回答(1 个)

Vidip
Vidip 2024-1-17
I understand that while using Arduino support package for Simulink to transfer data signals between 2 Arduino’s, you are getting ‘Serial Receive is not connected’ error.
When using the Arduino Support Package for Simulink, you must ensure that all blocks are properly configured and connected to avoid errors during deployment. If you receive such errors, it typically means that the block does not have an input or output connected as expected by Simulink.
So, you need to ensure that the 'Serial Receive' block is properly configured with the correct serial port settings, verify the hardware connections and you must configure your serial port parameters using the Serial Configuration block before you specify the Serial Receive block parameters.
For further information, refer to the documentation links below:

类别

Help CenterFile Exchange 中查找有关 Modeling 的更多信息

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by