Hello Nordic team,
I'm working on an nrf52840 with the SDK 15.3.0.
I'm using the SPIM instance 3 at 32MHz to interract with a Slave SPI which can support up to 40MHz.
When stressing the SPI access using easyDMA data transfer, I have some SPI errors, so I want to verify the SPI MISO/MOSI timings.
Timings on the nrf52840 datasheet seems to be given for a SPIM frequency of 8MHz.
Especially the value tSPI,VMO = 59ns which is almost 2 periods of 32MHz !
Can you give : tSPI,SUMI & tSPI,HMI & tSPI,VMO & tSPI,HMO values at 32MHz ?
If you have other explanation on this subject i'm looking forward to hearing it !
Thanks in advance,
Did you remember to check the errata sheet and implemented the required workaround for EasyDMA on SPIM3?
Also, you need to manually put the SPI output pins in high drive mode IIRC.
Hello and thanks for your answer !
I've indeed manually set the GPIOs used for SPI in high drive mode '0' and '1' (PIN_CNF[n] = 0x3xx).
Looking at "bool errata_66()" which has the same build requirement for the flaw it looks like i'm in a build with this default but I can't find in my SDK nor in the new 16.0.0 SDK an "errata_174()" reference.
Do you have a patch for the errata you mentionned or some input on how to ensure if I have this flaw ?
Yeah I found that you were talking about errata 198 forget my last message. I'm trying it right now.
<error> app: SOFTDEVICE: INVALID MEMORY ACCESS
Any input on this ?
See SDK release notes, known issues: Does not work with softdevice enabled.