⚠️
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 https://www.dialog-semiconductor.com/support . We’ll be fixing bugs / optimising the searching and tagging over the coming days.
2 posts / 0 new
Last post
DanyloVodopianov
Offline
Last seen: 1 year 1 month ago
Joined: 2019-09-30 19:35
DSPS

Hello, I try to run your example with custom dsps service on my da14585dk.

I have problem with art, I can not get data from art and can not send data to the uart from ble

When I debug, I can see that I send data from app to the device, but it doesn't send data to the uart

I set up uart like in this picture 

http://lpccs-docs.dialog-semiconductor.com/da14585_getting_started/_images/jumper_Setting.svg

But I don't work for me

I read your reference manual

https://www.dialog-semiconductor.com/sites/default/files/um-b-088_da14585-531_serial_port_service_reference_application_2v0.pdf

And found on page 41 hardware setup for the device, but I have another motherboard.

My question is, what right uart set up should be for my board

 

Device: 
PM_Dialog
Offline
Last seen: 2 days 8 hours ago
Staff
Joined: 2018-02-08 11:03
Hi DanyloVodopianov,

Hi DanyloVodopianov,

I assume that you are using the latest version of DSPS, that contains build configuration for DA14585 and DA14531.

In that case, please use the same HW setup (like the attached image) but build the project with different UART Flow Control.

Please check the GPIO configuration in the user_periph_setup.h as follow:

#define GPIO_UART1_TX_PORT   GPIO_PORT_0
#define GPIO_UART1_TX_PIN    GPIO_PIN_4
#define GPIO_UART1_RX_PORT   GPIO_PORT_0
#define GPIO_UART1_RX_PIN    GPIO_PIN_5
#define GPIO_UART1_RTS_PORT  GPIO_PORT_0
#define GPIO_UART1_RTS_PIN   GPIO_PIN_6
#define GPIO_UART1_CTS_PORT  GPIO_PORT_0
#define GPIO_UART1_CTS_PIN   GPIO_PIN_7

Thanks, PM_Dialog