Skip to main content
Lep
Senior
September 9, 2022
Question

STM32WB55(BLE) My board is server, USB dongle is client. I collect data from ADS1299 through P2P BLE.However, the data often wraps, and the starting data is after a few digits.

  • September 9, 2022
  • 4 replies
  • 1272 views

The beginning of my data is 0xc0 0x00 0x00. I notify every 15 bytes of data on the server side, and I also receive 15 bytes of data on the client side. Then I wrap and start from scratch. The beginning of each line of data I input through the USB dongle serial port should be 0xc0 0x00 0x00, not other data, and there will be some inexplicable line breaks and character printing, as shown in the figure. This is my problem.

This problem has bothered me for a long time. Thank you in advance.

0693W00000Sv0pAQAR.jpg

This topic has been closed for replies.

4 replies

Lep
LepAuthor
Senior
September 9, 2022

In the process of each data transmission, the drdy pin of ads1299 triggers a rising edge interrupt, and then obtains the return value of 15 times of transmission through SPI, and then performs ble server notification

WPARK.1
Associate III
October 6, 2022

Hello, Lep. Actually, I want to do a similar thing with you the STM32WB55CG custom board as a server and the USB dongle as a client.

However, my custom p2p server for STM32WB55CG cannot connect to the dongle. May I ask you how did you made this example?

Thank you for reading.

WPARK.1
Associate III
October 6, 2022

I successfully connect my custom board and dongle. But, it disconnects automatically. Furthermore, I want to notify ADC value continuously, but I have no idea that where can I add lines for it.

Thank you for reading.