uart receive interrupt not working

4 posts / 0 new
Last post
mohit3112
Offline
Last seen:6 months 3 weeks ago
Expert
加入:2014-08-04 13:45
uart receive interrupt not working

uart receive interrupt is not working without using app_force_active_mode() , and if i use app_force_active_mode() then device is not going to sleep mode even if i use app_restore_sleep_mode() . In my application i am using an external interrupt to wake DA14580 , DA14580 wakes up and advertise , after connection it sends some data over uart and receive some data over uart , after disconnection it also goes to sleep mode again , and wake up again when external interrupt is sent. it is able to send data via uart after waking up but is not able to reveive data , I am using uart receive interrupt for receiving data and using extended sleep mode of da14580 ?

JE_Dialog
Offline
Last seen:1 day 18 hours ago
Staff
加入:2013-12-05 14:02
你好,Mohit,I will have

你好,Mohit,I will have someone take a look at your problem. Sorry for delay, we are very busy right now.

Did you take a look at the DSPS ? this is a simple serial port service which we have implemetned that is maybe of interest. We have our beta version - the final version coming in next 2-3 week will add extended sleep mode support. The current version supports only sleep mode.

Please see reference design page for this.

BR JE_Dialog

WT_Dialog
Offline
Last seen:3 years 2 months ago
Staff
加入:2013-12-05 14:43
Hi Mohit,

Hi Mohit,

Sorry for the delay.

You observation is correct. For power saving reasons, UART cannot receive data in extended sleep or deep sleep. The best approach is to wake up the chip first. And then send the data through UART.

BR WT_Dialog

mohit3112
Offline
Last seen:6 months 3 weeks ago
Expert
加入:2014-08-04 13:45
谢谢你的回复,我使用

谢谢你的回复,我使用sps it's working fine . waiting for sleep mode support in sps .

Thanks
Mohit