It's ­čÉŹCircuitPython Monday­čÉŹ at Adafruit! Use the code ADATY to get 20% off CircuitPython and 15% off items storewide!
0

Enable SPIM on nRF52840
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Enable SPIM on nRF52840

by Fanton on Sat Oct 16, 2021 7:36 am

Hi all! How to enable SPIM3 to work with Adafruit nrf52840 ? I can`t get more than 8MHZ on SPI_MODE_2. How to enable it?

Fanton
 
Posts: 4
Joined: Tue Jun 29, 2021 3:18 am

Re: Enable SPIM on nRF52840

by mikeysklar on Mon Oct 18, 2021 6:13 pm

@Fanton,

Interesting thread on the nordic site with someone using Adafruit Feather nRF52840 controller. They were getting SPI3 to work with a 15pF cap on the MOSI line.

https://devzone.nordicsemi.com/f/nordic ... or-to-work

It also ends with the suggestion of setting the driver strength to high before initialization.

mikeysklar
 
Posts: 6184
Joined: Mon Aug 01, 2016 8:10 pm

Re: Enable SPIM on nRF52840

by Fanton on Tue Oct 19, 2021 12:26 pm

@mikeysklar Unfortunately adding 15pF didn't fix the problem. The maximum speed remains the same - 8MHz. Most likely this is a problem with the Adafruit_nRF52_Arduino package, but I don't know how to fix this problem yet.

Fanton
 
Posts: 4
Joined: Tue Jun 29, 2021 3:18 am

Re: Enable SPIM on nRF52840

by mikeysklar on Tue Oct 19, 2021 7:11 pm


mikeysklar
 
Posts: 6184
Joined: Mon Aug 01, 2016 8:10 pm

Please be positive and constructive with your questions and comments.