Other Parts Discussed in Thread: CC2340R5, BQ27Z746
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号: CC2340R5
主题中讨论的其他器件: BQ27Z746
您好:
是否计划为 vbatmon 子系统提供 Zephyr 驱动程序? 或者、如果没有在某处进行初始化、以便客户可以直接读取电压值?
Munan
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
您好!
CC2340R5 上目前没有适用于 Zephyr 的 vbatmon 子系统的驱动程序。
TI 的 BQ27Z746 等电池在 Zephyr 中具有电量计驱动器、因此可以使用常见的 Zephyr API 来实现此目的。 如果您只有一个常规电池来测量电压并根据该电压做出决策、只需使用 CC2340R5 支持的 Zephyr 中的 ADC 驱动器。 然后、连接 ADC 引脚和电池、不时运行一些 ADC 测量、并根据电压估算电池电量。
此致、
Lea