The DSPS sample can only send data from PC to DSPS app.

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.xmece.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
3 posts / 0 new
Last post
cgha
Offline
Last seen:3 months 3 weeks ago
加入:2016-03-23 13:05
The DSPS sample can only send data from PC to DSPS app.

I debug the DSPS example(v5.150.2), and can only send from PC to DSPS app, when send from app, the user_ble_push function get called, but seems can not trigger any send from UART TX. I'm using custom board, and my board use P0.4 as TX and P0.5 as RX. If I download and debug the ancs project, it can print message to PC, and the ancs project also use P0.4 as uart tx, so the hardware of my custom board is OK.

Device:
cgha
Offline
Last seen:3 months 3 weeks ago
加入:2016-03-23 13:05
It's because the cts pin is

It's because the cts pin is not connected on my board, after connect the cts pin to GND, Tx to PC now get OK.

PM_Dialog
Offline
Last seen:1 day 14 hours ago
工作人员
加入:2018-02-08 11:03
Hi cgha,

Hi cgha,

The DSPS project uses extended sleep mode by default, so you should have Hardware Flow Control (RTS/CTS). Can you please make sure that you have this setup in your custom board? Please check the user_periph_setup.h in order to find in which GPIOs the RTS/CTS are exposed. Which configuration do you have in the Serial Monitor setup?

Thanks, PM_Dialog