DSPIN Whith arduino 33ble

Hello,

I am making a robot using 8 dspin V13. Thank you for your sample code, the tutorial is super good and can better understand all the settings of this driver full of resources ^[1](https://learn.sparkfun.com/tutorials/getting-started-with-the-autodriver%20---%20v13?%20_ga%20=%202.140464371.1390726351.1573156721-1219440080.1567301581)

My system works very well with an Arduino Uno card. But it does not work at all with the new 33ble cards. I have this error message:

exit status 1

‘class arduino :: MbedSPI’ has no member named ‘setDataMode’

It looks like some code is obsolete. Https://www.arduino.cc/en/Reference/SPISetDataMode

I try to modify it with this:

SPI.beginTransaction (SPISettings (5000000, MSBFIRST, SPI_MODE3));

https://www.arduino.cc/en/Reference/SPISetDataMode

It compiles but the code blocks the download process. After injection of the code, the arduino is hs, it disappears from com ports… Double click on the reset button to put it in constant download mode and inject a new code. I do not have the level to find the problem. Can you help me? Otherwise I would buy 8dspin for nothing …

Thanking you in advance,


  1. I2C - SparkFun Learn … 1567301581 ↩︎

Hi Merlin.

It looks like the library wasn’t designed to be used with the Arduino Nano 33 BLE board. When the library was written the 33 BLE didn’t even exist.

You might consider using something Atmel based like our Pro Mini or Pro Micro as your controller as the library will work with those boards. (Unless you want to re-write the library for the 33 BLE anyway)