For PIC32MX440F512 the SPI2 should be initialized as Master and a software for reading a block of data (up to 1920 Byte) into memory is needed.
Copying must be done by DMA. crystal frequency is 8Mhz, CPU clock is 72MHz, SPI speed as high as possible.
Software must be usable by Microchip C32 compiler.
The DMA finished interrupt is used for a global finished flag.
(Every time this flag is set the main program clears the flag, starts the DMA with another buffer and uses the just finished buffer for some calculations.)
For demonstration of above routines following main loop could be sufficient:
set pin PORTF.3
start a DMA block copy with specified length and buffer
wait until finished flag is set in DMA finished interrupt
clear PORTF.3 and clear finished flag
delay several ms
Please quote your hourly rate and a rough time estimate for this part of project