Is there any chance that DA14580 acting as spi slave will lost bytes when bluetooth interrupt happen?

⚠️
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
cgha
Offline
Last seen:5 months 2 weeks ago
加入:2016-03-23 13:05
Is there any chance that DA14580 acting as spi slave will lost bytes when bluetooth interrupt happen?

Or if I Disable the gloabal interrupt, and use the block transfer(polling), will the ble lost connection when it is connected?

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

Hi cgha,

Can you please indicate if this ticket is related with the following ticket that you had created?

https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/should-i-disable-system-sleep-when

Still I am not able to understand what you have already implemented. In your previous post I’ve seen that you are using the SPI_Handler, so have you created you own SPI handler? Why don’t you use the APIs from the SPI driver?

Thanks, PM_Dialog

cgha
Offline
Last seen:5 months 2 weeks ago
加入:2016-03-23 13:05
Yes, I'm using spi slave and

Yes, I'm using spi slave and ble. So can you give me an example on how to combine the spi slave and ble together?

1. Spi can receive and transfer packet at any time.

2. Ble can be off, advertising, connected state.

3.节电。

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

Hi cgha,

You could have a look at the ble_app_security example of the SDK which is located under 5.0.4\projects\target_apps\ble_examples\ble_app_security SDK path.

Thanks, PM_Dialog