I am using the command "HCI_VS_Update_UART_HCI_Baudrate (0xFF36) to change the baud rate on a Bluetooth classic link. I am using the latest Bluetopia stack and example code on an STM32F429 device. The reason the baud rate needs to change is I am changing the base clock speed from 120 Mhz to 26 Mhz.
I am able to change baud rates using TIs example code to work doing this as long as there is no traffic on the link. For example, I can switch back and forth between 4Mbaud and 921.6Kbaud as long as there is no traffic.
However if my application is sending data I am seeing the HCI communication being disrupted at the time the baud rate is changed. Sometimes it works, sometimes it does not which causes the application to fail.
Is there a way to suspend link communication so that there is no traffic when I change the baud rate. For example, is it possible to do it in a callback or using the HCI_LL suspend command?