hello..everyone
i am new to BLE and cc2540. i am making cc2540 based device.
i want to check battery charging status e.g battery charging ,not charging,battery nearly full ,battery full and battery is defective. with the help of LTC4050.
CHRG pin from LTC4050 is connected at P2_2 of cc2540 and i use additional P1_5 port for detecting charging status at port P2_2.
i don't know how to make port P1_5 to high impedance in programming. also i want to send charging status detail via BLE.
i found example for battery voltage measuring but i can't found any programming example related charging status detection anywhere. also i have to measure battery voltage while charging.
your quick reply will be highly appreciated. and thank you in advance...