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.