⚠️
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.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
4 posts / 0 new
Last post
redcobaltbluedragon
Offline
Last seen:3年5个月前
加入:2017-11-16 18:38
DSPS with no flow control

Is there a way to modify the code from the DSPS example so there is no flow control. I have an application where Tx and Rx are the only thing available.

Device:
PM_Dialog
Offline
Last seen:4 weeks 1 day ago
工作人员
加入:2018-02-08 11:03
Hi redcobaltbluedragon,

Hi redcobaltbluedragon,

You won’t be able to operate the DSPS with sleep when having no flow control. If you prefer to have no flow control, you should run the DSPS in active mode configuration. Otherwise, if you have only RX/TX pins and sleep mode configuration, you will have data loss

Thanks, PM_Dialog

redcobaltbluedragon
Offline
Last seen:3年5个月前
加入:2017-11-16 18:38
For this design there is no

For this design there is no need for sleep. What modification would I make to the code to run with no flow control (only Tx and Rx).

Thanks,

PM_Dialog
Offline
Last seen:4 weeks 1 day ago
工作人员
加入:2018-02-08 11:03
Hi redcobaltbluedragon,

Hi redcobaltbluedragon,

Be aware that the DSPS project is designed to operate by default with software and hardware flow control. If you disable the sleep mode and remove the software flow control functionality from your project, I am not 100% sure that there will be no missing data. If you use the software flow control that requires only the Rx/Tx pins and no further connections. In order to disable the flow control functionality, you can also check the following past thread on the forum in which some users wanted to do the similar modifications. Although, be aware that if you remove flow control there is no guarantee that there will be no data loss.

https://support.dialog-semiconductor.com/dsps-without-flow-control-ble-buffer-overflow.

Thanks, PM_Dialog