Serial Receive' is not connected.

1 visualización (últimos 30 días)
chabane abdeldjalil
chabane abdeldjalil el 12 de Jun. de 2021
Respondida: Vidip el 17 de En. de 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.

Respuestas (1)

Vidip
Vidip el 17 de En. de 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:

Categorías

Más información sobre Modeling en Help Center y File Exchange.

Productos


Versión

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by