On the nFR9160, the modem is drawing more power when it can't connect to a tower and is causing the battery to drop below the rail, causing our device to switch off. Is there a register to cap the amount of power the modem is allowed to draw from?
On the nFR9160, the modem is drawing more power when it can't connect to a tower and is causing the battery to drop below the rail, causing our device to switch off. Is there a register to cap the amount of power the modem is allowed to draw from?
Hello Howard,
thanks a lot for your feedback!
GameCodingNinja said:Is there a register I can monitor that indicates the amount of current the modem is drawing?
There are no registers for current consumption. But there might be some other alternatives for you to consider:
You can measure the current yourself with a nRF9160 DK.
Have a look at this table, which provides you with an overview of typical modem current consumption use cases.
You can use the nRF9160 Online Power Profiler for LTE for estimation of particular use cases.
You could test %XDATAPRFL, although the usage of this command currently has limited impact on power consumption as its functionality is not completely implemented yet.
I hope this will help you.
Regards,
Markus
Hello Howard,
thanks a lot for your feedback!
GameCodingNinja said:Is there a register I can monitor that indicates the amount of current the modem is drawing?
There are no registers for current consumption. But there might be some other alternatives for you to consider:
You can measure the current yourself with a nRF9160 DK.
Have a look at this table, which provides you with an overview of typical modem current consumption use cases.
You can use the nRF9160 Online Power Profiler for LTE for estimation of particular use cases.
You could test %XDATAPRFL, although the usage of this command currently has limited impact on power consumption as its functionality is not completely implemented yet.
I hope this will help you.
Regards,
Markus
Thank you so much Markus!
You've been very helpful and kind. If I could just ask for a bit of guidance on a separate issue.
I have simple Bluetooth commination working. I can connect to our device with your nRF Toolbox on my Android. I can send a string from the device to the Android app and have it display and also send a string from the Android App to the device and see it display in J-Link RTT Viewer. So basically sending a string from the nRF52840 is a simple call to bt_nus_send(NULL, data, strlen(data)).
Our device creates log info about it's operation and I want to send this data to a Python app I'm developing. On a PC, I have a Bluegiga Bluetooth Low Energy dongle that shows as an entry in the COM Ports. With our device advertising, I can connect to it and get it's Services and Characteristics.
I'm new to working with Bluetooth. On the nRF52840, do I need to setup a new service/characteristic to pass data back and forth between the nRF52840 and the Python app on the PC? Is there sample code in the toolchain that might give me some incite or documentation you could point me to?