Programming Voltage Sensor for QN9090dk6 on MCUXpresso IDE

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Programming Voltage Sensor for QN9090dk6 on MCUXpresso IDE

860件の閲覧回数
Skell1000
Contributor I

I'm attempting to read in a battery voltage on a GPIO input and print the battery voltage to the MCUXpresso terminal. There is very little information on how to do this online and I am unable to get it working as I can't find reference to any functions to call on the battery sensor module the QN9090 clearly has. Could someone send me an example code of this working or point out a list of functions or a library I can call which could help me with this process?

0 件の賞賛
返信
1 返信

848件の閲覧回数
EduardoZamora
NXP TechSupport
NXP TechSupport

Hello @Skell1000

Hope you are doing well.

According to QN9090 User Manual, this device should integrate a supply monitor that is connected to ADC channel 6: this monitors VBAT.

Please, take a look at the BLE example projects from the SDK (for example heart_rate_sensor); in board.c file you can find the function uint8_t BOARD_GetBatteryLevel(void). Could you please confirm if this is useful for you?

Regards,
Eduardo.

0 件の賞賛
返信