你好,
对阿希姆的响应的一个修正,祝福中断(触发每个广告/连接间隔)是一个深度睡眠中断,并且能够唤醒来自DeepSleep的内核。
也就是说,将一个中断映射到两个内核不是一个好主意。虽然从理论上讲,它可以映射到两个内核并唤醒它们。在WHO清除中断时,将存在一个竞争条件。如果您使用的是BLE组件/PDL,那么它将祝福中断映射到实现控制器的核心。
如果你需要唤醒另一个核心,那么你可以使用IPC从被祝福中断(控制器核心)唤醒的核心通知另一个核心。还要注意的是,当您为BLE选择“双核架构”时,CM0+(Controller)通过IPC SoeStudio唤醒CM4(主机),每当需要在主机端处理数据时。可以将回调附加到IPC中断,并可以使用该回调来处理所需的数据。
如果你需要帮助的话,请告诉我。
当做,
Meenakshi Sundaram R
以上来自于百度翻译
以下为原文
Hello,
One correction to Achim's response, the BLESS interrupt (that triggers every Advertisement/Connection interval) is a DeepSleep interrupt and is capable of waking up the cores from DeepSleep.
That said, it is not a good idea to map a single interrupt to both the cores. Though theoretically it can be mapped to both the cores and wake-up both of them. There will exist a race condition on who clears the interrupt. If you are using the BLE component/PDL, then it maps the BLESS interrupt to the core that implements the controller.
If you need to wake-up the other core, then you can use IPC to notify the other core from the core that is woken up by the BLESS interrupt (controller core). Also note that when you select the "Dual-core architecture" for BLE, then CM0+ (controller) wakes-up CM4 (Host) through the IPC SystemPipe, whenever there is a need to process data on the host side. You can attach a callback to the IPC interrupt and can use that to process the required data.
Let me know if you need any help with that.
Regards,
Meenakshi Sundaram R
你好,
对阿希姆的响应的一个修正,祝福中断(触发每个广告/连接间隔)是一个深度睡眠中断,并且能够唤醒来自DeepSleep的内核。
也就是说,将一个中断映射到两个内核不是一个好主意。虽然从理论上讲,它可以映射到两个内核并唤醒它们。在WHO清除中断时,将存在一个竞争条件。如果您使用的是BLE组件/PDL,那么它将祝福中断映射到实现控制器的核心。
如果你需要唤醒另一个核心,那么你可以使用IPC从被祝福中断(控制器核心)唤醒的核心通知另一个核心。还要注意的是,当您为BLE选择“双核架构”时,CM0+(Controller)通过IPC SoeStudio唤醒CM4(主机),每当需要在主机端处理数据时。可以将回调附加到IPC中断,并可以使用该回调来处理所需的数据。
如果你需要帮助的话,请告诉我。
当做,
Meenakshi Sundaram R
以上来自于百度翻译
以下为原文
Hello,
One correction to Achim's response, the BLESS interrupt (that triggers every Advertisement/Connection interval) is a DeepSleep interrupt and is capable of waking up the cores from DeepSleep.
That said, it is not a good idea to map a single interrupt to both the cores. Though theoretically it can be mapped to both the cores and wake-up both of them. There will exist a race condition on who clears the interrupt. If you are using the BLE component/PDL, then it maps the BLESS interrupt to the core that implements the controller.
If you need to wake-up the other core, then you can use IPC to notify the other core from the core that is woken up by the BLESS interrupt (controller core). Also note that when you select the "Dual-core architecture" for BLE, then CM0+ (controller) wakes-up CM4 (Host) through the IPC SystemPipe, whenever there is a need to process data on the host side. You can attach a callback to the IPC interrupt and can use that to process the required data.
Let me know if you need any help with that.
Regards,
Meenakshi Sundaram R
举报