Arduino Nano 33 BLE MATLAB(Simulink) Connection Issues

4 visualizaciones (últimos 30 días)
Nathan Schleider
Nathan Schleider el 28 de Oct. de 2022
Comentada: Sebastian Sperber el 23 de Jun. de 2023
Hi, I'm trying to use my Arduino Nano 33 BLE (NOT Sense) with Simulink. I believe that it is compatible (MATLAB command line recognises it and says it is), although is not listed as an option, so I have been selecting the BLE Sense option. I have gone through the "Set up Hardware" wizard in Simulink, and that works fine, and the test program from that works, however when I try and use a basic model (template, signal generator into pin 13 to flash the onboard LED), it gives the following error:
'The following error occurred during deployment to your hardware board:
'Unable to create a communication link with the serial port. Please check the input argument PORT and verify that a device is connected.
This is after double checking the COM ports, and making sure I have double pressed the button on the board.
I can use Simulink with my Uno and Nanos, but just cannot quite figure out this Nano 33 BLE.
I'd be grateful for any suggestions.
I am using R2022a.
Thanks!

Respuestas (1)

Shivani Dixit
Shivani Dixit el 2 de Nov. de 2022
Hi Nathan,
As per my understanding you are facing error while creating a communication link with the serial port using Arduino Nano 33 BLE.
You can resolve the issue by deleting the configuration for the device and re-adding it.
Refer to the following steps to get the issue resolved:
1) Download Arduino IDE: https://www.arduino.cc/en/software
2) In Arduino IDE, navigate to Tools > Board > Boards Manager. Search for "Arduino SAMD Boards (32-bits ARM Cortex-M0+)" and install it in the IDE
3) Reset the board and try again in Simulink.

Categorías

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

Etiquetas

Productos


Versión

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by