DWS3000 Arduino shield with Arduino UNO

Hi all! I have been working hard at porting the DWM3000 raspberry Pi library to work with an atmega328p on the Arduino UNO using Microchip studio. I have been able to get SPI communication working and successfully get the simple RX and simple TX examples to work fully. However, I have been unable to get the ranging TWR-initiator and -responder examples to work. They hang up halfway through and am stumped on what to do next.

I have attached my Microchip GitHub project in its entirety so it can be easily opened and built. If anyone that is much smarter in C and these modules can help guide me in the right direction I would be eternally grateful.