How to get Voltage of PSOC 6 without ADC

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
jali_3846906
Level 3
Level 3
10 replies posted 5 replies posted 10 questions asked

     Is there an API available to get Voltage of PSOC 6 withou ADC?

0 Likes
1 Solution

You will not be able to get the PSoC 6 voltage supply, however, you can use the Low-Voltage-Detect (LVD) APIs to setup a threshold to trigger an interrupt when the PSoC 6 voltage supply drops to a certain threshold.

Refer to the PDL API Reference > LVD (Low-Voltage-Detect) section.

View solution in original post

0 Likes
5 Replies
ShipingW_81
Moderator
Moderator
Moderator
500 replies posted 250 solutions authored 250 replies posted

I'd like to know if you refer to get voltage of PSoC6 power supply (VDDD/VDDA)?

If it gets your point, there seems be no available API for getting the values. However, you can get the current LDO/BUCK output level through APIs defined in PDL.

0 Likes

thank,please tell me the API name

0 Likes

Please find below APIs in PDL (cy_syspm.h)  -

Cy_SysPm_LdoGetVoltage() / Cy_SysPm_BuckGetVoltage1() / Cy_SysPm_BuckGetVoltage2()

thank you so much

0 Likes

You will not be able to get the PSoC 6 voltage supply, however, you can use the Low-Voltage-Detect (LVD) APIs to setup a threshold to trigger an interrupt when the PSoC 6 voltage supply drops to a certain threshold.

Refer to the PDL API Reference > LVD (Low-Voltage-Detect) section.

0 Likes