This issue was in it before as well.. But its a very small issue.
In HAL.h in the function spiSend, response is used but not declared.
just added "uint8_t response;" at line 503 in HAL.h to fix it.
Works as expected after that. Can confirm fix for lockup on DUE.