Since there is multiple devices on the SPI bus, which are being accessed from different tasks, a mutex must be added to prevent concurrency issues.