Hi There,
In one of our projects we are using CC2540 as a main microcontroller with BLE Stack. In this project, we have another microcontroller, that we suppy Vdd from CC2540. In order to supply Vdd to 2nd microcontroller, we are using P1_1 which can drive a load up to 20 mA. Since we are not using another external voltage regulator, CC2540 is connected to battery after a diode. Therefore, we are depended on CC2540's internal voltage regulator.
According to our measurements, 2nd microcontroller drain 14 mA max and it is active around 3 seconds. After 3 second we shut down the 2nd microcontroller by setting P1_1 to low. However, current flows from P1_! to 2nd microcontroller is not stable and varries from 5 to 14 mA during 3 seconds operation. We discover that sometimes, when 2nd microcontroller demands more current (less than 14 mA), Vdd goes lower than 2 V which is the minimum voltage for CC2540.
1) Is there a special register that we should set to use P1_1 as high output current supplier compare to other logic iOs?
2) Is there a way to stabilize the inner voltage regulator for CC2540?
We would appreciate if you suggest any other ideas that we can try.
PS: I know TI suggest to use tps62730 for such applications but for some reason we are not using it.
Thank you so much!
Have a great day!
Deniz