Serial Receive' is not connected.

17 vues (au cours des 30 derniers jours)
chabane abdeldjalil
chabane abdeldjalil le 12 Juin 2021
Réponse apportée : Vidip le 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.

Réponses (1)

Vidip
Vidip le 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:

Catégories

En savoir plus sur Arduino Hardware dans Help Center et File Exchange

Produits


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by