Enable SPIM on nRF52840

Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
Fanton
 
Posts: 4
Joined: Tue Jun 29, 2021 3:18 am

Enable SPIM on nRF52840

Post by Fanton »

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?

User avatar
mikeysklar
 
Posts: 13936
Joined: Mon Aug 01, 2016 8:10 pm

Re: Enable SPIM on nRF52840

Post by mikeysklar »

@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.

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

Re: Enable SPIM on nRF52840

Post by Fanton »

@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.

User avatar
mikeysklar
 
Posts: 13936
Joined: Mon Aug 01, 2016 8:10 pm

Re: Enable SPIM on nRF52840

Post by mikeysklar »


Locked
Please be positive and constructive with your questions and comments.

Return to “Feather - Adafruit's lightweight platform”