Serial Receive' is not connected.

8 Ansichten (letzte 30 Tage)
chabane abdeldjalil
chabane abdeldjalil am 12 Jun. 2021
Beantwortet: Vidip am 17 Jan. 2024
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.

Antworten (1)

Vidip
Vidip am 17 Jan. 2024
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:

Kategorien

Mehr zu Arduino Hardware finden Sie in Help Center und File Exchange

Produkte


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by