I'm familiar with the PSoC5LP but not with your Microchip BLE device. I'll try to make some guesses as best I can.
I have looked at the Microchip link you provided. It is the datasheet for the BLE device.
- You are using the available UART comm on the RN4871.
- You are NOT using the RN4871 pin P0_0 as UART_CTS.
A few items should be noted:
- The maximum UART data rate is 10Kbps. Therefore the maximum Byte rate is 1KBps (10Kbps, 8N1).
Make sure the baud rate on the RN4871 (however that is accomplished) matches the PSoC5LP baud rate to less than +/- 4%.
Here's the baud rate chart provided in the datasheet.
- I recommend that you connect the RN4871 pin P0_0 output as an input to a PSoC5LP GPIO pin. This pin on the RN4871 is UART_CTS by reset default. It is possible that you might be blindly sending data from the PSoC5LP Tx port without flow control. The UART_CTS pin is intended to signal from the RN4871 that its UART Rx buffer is full. When full, stop transmitting from the host (PSoC5LP) side.
I recommend before you make any changes to the wiring of your system, put a scope probe on the P0_0 and watch what is does when you are trying to send 200 bytes of data.
PS: To get more expert eyes on this post, you might want to move this discussion to the PSoC5 discussion forum.
Thanks for your suggestions!
Yes, I have not been using the UART_CTS - without the flow control. I will have a look into this as you mentioned.
Will keep you posted further.
Thanks once again!