Part Number: MSP432P4111
Hi,
I'm using the simple application processor example in MSP432 BLE plugin to connect between a MSP432P4111-Launch Pad and a CC2640R2-LP. I want to stream ~100kbps from MSP432 to an Android app so my current BLE notification configurations are MTU=220 (bytes) and connection interval = 15ms. However, the current bottleneck is the communication between MSP432 and CC2640R2. Currently, with UART protocol, I can only increase baud rate up to 230400 (which already takes ~11ms to transmit only 220 bytes of data). When I increase it to 460800 on both CC2640R2 Simple network processor (SNP) and MSP432 simple application processor (SAP), only CC2640R2 send out messages while MSP432 doesn't respond.
(Btw, I have been able to stream > 100kbps with CC2640R2 alone. However, because of resource constraints on CC2640R2, I'll need to use another MCU to handle my application.)
Here is captured UART signals after reset at 230400 baud. Both MSP432 and CC2640R2 works properly.
When UART baud rate is increased to 460800. MSP432 doesn't respond to message from CC2640R2.
I tried to configure the same UART in my main function and it can send out data properly at 460800 (baud rate lookup table has been set up to accommodate 460800) so I'm thinking it isn't the issue with UART configuration but perhaps, the BLE SAP library doesn't allow me to use high baud rate. Thus, do have any limitations for UART baud rate inside the MSP432 BLE plugin? I have been looking around its documents but haven't found any clue.
Another way I have tried is to use SPI instead of UART but it seems that the pre-compiled SAP library from MSP432 BLE plugin package doesn't allow me to use SPI. I tried to use compile source files of SAP library instead of pre-compiled one but a header file for is missing (npi_tl_spi.h)