Sep 01, 2020
08:18 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 01, 2020
08:18 PM
hi,我有购买一套“ CY8CKIT-062-BLE PSoC 6 BLE Pioneer Kit”,配套的capsense的代码是基free os的参考代码,我现在
想单独学习capsense功能,单独建立了一个不跑OS的capsense工程,基本与基于free os的参考代码一致,只是没有使用Free os,
实际bug发现,代码在CapSense_Start就过不去,具体是卡在uint32 CapSense_IsBusy(void)里,请教一下这是什么问题?或者有没有
不基于OS的capsense示例代码?谢谢!
Solved! Go to Solution.
Labels
- Labels:
-
ispn:39619:1:0
-
l1:314:1:0
1 Solution
Attachments are accessible only for community members.
Sep 02, 2020
12:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 02, 2020
12:42 AM
首先你使用的是 M0+核来运行 CapSense 代码,所以CapSense的中断也需要分配到 M0+核。
其次,你的代码逻辑比较乱,我现在把代码简化成了触摸最小系统,并使用LED 的亮灭来显示按键和滑条的触摸状态,你如果需要添加额外的触摸功能和逻辑,在目前的代码架构上按照自己的要求添加即可。
最后我看到你使用的还是 PDL3.0.4,目前最新版本的PLD 是 3.1.2(官网可下),建议你使用最新版本。
4 Replies
Sep 01, 2020
11:18 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 01, 2020
11:18 PM
把你的工程上传上来看一下。
Attachments are accessible only for community members.
Sep 01, 2020
11:35 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 01, 2020
11:35 PM
Attachments are accessible only for community members.
Sep 02, 2020
12:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 02, 2020
12:42 AM
Sep 02, 2020
12:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 02, 2020
12:53 AM
非常感谢!