Developing an implementation of uart to ble connection.
I have it working when I wait for new rx data.
Would like to be able to use the uart interrupts for the implementation.
Is there any example of the uart running under interrupts?
Sun, 2014-08-31 19:56
#1
uart and interrupts
Hi Rony,
Thank you for your interesting on Dialog BLE, the UART to BLR bridge is still under developing. If you hope to know more about UART, please refer to the prod_test project in our reference SDK.
Thanks for the answer but this is not what I need.
I am trying to operate the uart using the sleep modes.
After I do that I will be able to integrate it with the ble module.
In the meantime I am able to do it but without turning the sleep mode on.
It is sufficient for one of our projects but not for another one that needs the sleep mode.
Hi Rony,
我也有类似的问题uart接收中断, it woks with sleep mode turned off but when sleep mode is turned on , uart receive interrupt stops working . did you find any solution for this?
Thanks
Mohit
Not yet.
We have it working without getting into sleep mode because we get the power from the host computer .
But I think Dialog has a solution they presented in the Serial Port Service. Check it inhttp://support.dialog-semiconductor.com/ref-designs.
Good luck
Hello Rony, we will add extended sleep support to the serial port service in the final release : that will come i hope in 2-3 weeks.
BR JE_Dialog
Great news.
By then we should be in our initial clinical tests...
Guess we will use it for next step
Thanks
Hi. I'm facing a similar but opposite problem. I'm using the SPS example and performing a cold boot.
I've noticed that for the first 2 seconds the sleep_mode remains at mode_active. During that time the uart interrupt is not called for some reason.
I've done further testing and left the cpu at active mode constantly and it seems that the uart interrupt it not working.
Did someone face this problem?
Hi,
The uart is not initialized until after a connection has been established. That should explain the 2 seconds delay.