I loaded the can example that came with the pack installer and stepped thru it till I got to these lines.
#if (CAN_LOOPBACK == 1) if (can_cap.external_loopback != 1U) { return false; } status = ptrCAN->SetMode (ARM_CAN_MODE_LOOPBACK_EXTERNAL); if (status != ARM_DRIVER_OK) { return false; }
The debug will not pass, it is just sitting at this point. I can see it is running but can not find a way to break the code. if I remove the code it runs.
I didnt realize the can example waits for a reply after one send, that is kind stupid imo? removed the endless wait and I see data now.