Part Number: MSP432P401R
Hello
My project is a bidirectional SPP<->UART gateway for high-speed communication between a phone or computer and a third-party device. Our Bluetooth module consists of a MSP432P401R and a CC2564.
We are seeing intermittent data loss and are trying to find the cause.
We are using 3 UARTs:
- Host UART
- Baud rate 921600
- Hardware flow control implemented in software
- DMA on the receive path
- Debug UART
- Baud rate 115200
- HCI UART
- Using stack code
- Baud rate 2000000 (defined by the stack)
- High IRQ priority
- Hardware flow control
In SPPAPI.h I saw the following comment “The following Constants represent the ONLY allowable Baud Rates (Bits/Second) that are supported by the Serial Port Profile.” With the highest supported baud rate being “SPP_BAUD_RATE_230400”. For this reason, I reduced the HCI UART from 2000000 to 230400, however this caused receive errors (0x24) on the host UART. My preliminary investigation showed that reducing the baud rate on the HCI UART had a negative impact on the host UART’s bit width, going from 1.083us to 1.125us (I would expect 1.085us for 921600). Can you shed any light on this issue?