Master sends a message of 4 bytes:
- First is the command to write to slave "0x2"
-Second is the address "0x00"
-Last two bytes are the data.
The 4 bytes are sent back to back without delays and with chip select pin kept low.
The command is received correctly and "write buffer done interrupt" fires, however, the data buffer returns garbage. What could be the issue?