|
SPI.beginTransaction(SPISettings(14000000, MSBFIRST, SPI_MODE0)); |
According to Datasheet of the a1335, the SPI frequency should be at max 10Mhz and this sensor is utilizing SPI mode 3. You have set frequency to 14MHz and SPI mode 0. Wouldn't it be a problem?
closed-loop-stepper-controller/tests/samd21_stepper_serial/samd21_stepper_serial.ino
Line 87 in 6e79ac7
According to Datasheet of the a1335, the SPI frequency should be at max 10Mhz and this sensor is utilizing SPI mode 3. You have set frequency to 14MHz and SPI mode 0. Wouldn't it be a problem?