Serial Receive not working Arduino nano 33 BLE

I have a nano 33 BLE and a BLE sense rev 2. I use simulink to generate code and deploy on the arduino board. I am able to transmit via serial communication but unable to receive data. I previously used MKRzero and it worked fine. I am not very well versed with arduino in general. I have doubled checked the wiring and cable. It works for mkrzero but not for nano ble or ble sense. Any advice on troubshooting this problem?

Background- I have a motor controller that sends and receives motor commands and transmits motor speed. I am able to send motor commands and the motor responds. But unable to receive any motor speed data.

if you use the pins marked Tx and Rx on the nano 33 BLE, then you need to use Serial1 in your code and not Serial for those pins.

see this example:

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.