This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Cannot transfer more than 255 bytes via SPIM0 on nrf52840

When trying to write a long buffer to external flash via SPIM0, I found the TXD.MAXCNT is limited to 255.

I'm directly manipulation the registers. When I wrote 256 into TXD.MAXCNT and read it,  I got 0 instead.

The datasheet shows this register should be 16 bit.