293 Star 1.6K Fork 383

GVP合宙Luat / LuatOS

 / 详情

[🚀新需求]: 请求适配qma6100p驱动

待办的
创建于  
2024-01-15 21:30

您的功能请求是否与解决某些问题有关?请描述一下。/ Is your feature request related to a problem? Please describe.

请求给luatos添加外设qma6100p,使用luatos一直无法读取到正确的x,y,z加速度值。需一次读出6个字节,以下为所有相关datasheet以及c参考驱动,以及我移植的部分代码(init初始化可用)。
https://gitee.com/norapodis/qma6100p.git

描述您想要的解决方案 / Describe the solution you'd like

添加 qma6100p的luatos i2c驱动代码

描述您想要的详细使用步骤描述 / Describe the solution you'd like to use in what way

能读取到正确的x,y,z加速度值(寄存器表位置,0x01->0x06),注意,要初始化后(设置带宽,设置mclk等)方能读到x,y,z值,不然读取寄存器都是0,可以在我的qma6100p lua驱动基础上进行。

其他备注信息或截图 / Add any other context or screenshots about the feature request here

确认信息

  • 检查过该需求,之前没有人提过 / Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • 这个需求是真实存在的,并且对于本项目来说是必要的
  • 我已经提供了该需求的清晰、详细、完整的方案,请按该方案进行实施
  • 我认为我提供的信息已经足够,不需要其他人继续完善该需求的其他细节
  • 我同意跟进该需求的实施进程,并在适时提供合理的解释与纠正

评论 (0)

NorAuriga 创建了任务

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(1)
Lua
1
https://gitee.com/openLuat/LuatOS.git
git@gitee.com:openLuat/LuatOS.git
openLuat
LuatOS
LuatOS

搜索帮助