Other Parts Discussed in Thread: CC1310
1. CC1310的参数手册上有Battery Monitor and Temperature Sensor。想咨询有没有相关的例程学习下。例如如何获取电池容量?
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.
1. CC1310的参数手册上有Battery Monitor and Temperature Sensor。想咨询有没有相关的例程学习下。例如如何获取电池容量?
您好,
很抱歉在SDK中没有相对应的实际示例。
您可以看我如下的提示使用Battery monitor:
#include <ti\devices\cc13x0\driverlib\aon_batmon.h> static uint8_t GetBatteryVoltage(void) { // Return the battery voltage loosing some precision to fit in 8 bits return (uint8_t)((AONBatMonBatteryVoltageGet()) >> 3); }
当然这边需要有一个数值转换,请参考18.3.1.10中的Figure 18-10. BAT Register,文档: www.ti.com/.../swcu117h.pdf
我们也给您提供一些相关帖子供您参考:
希望可以帮助到您。