I found a typo in the documentation Melody Audio 7.x User Guide r3.pdf on page 113. The command UART_CONFIG only accepts a set list of speeds. Trying to set any other speed will result in an error (13 I think). The list of speeds ends with an incorrect value of 961200. Trying to set the UART to this speed will not work. This command fails:
SET UART_CONFIG=961200 OFF 0
The correct value is 921600 (2 * 460800). This command will succeed:
SET UART_CONFIG=9921600 OFF 0
Just wanted to post this in case anyone else gets tripped up here. I copied the value out of the pdf and pasted it into my code and it kept erroring out. That’s when I looked more closely and realized it was a typo in the documentation.
Be well everyone. Cheers!