cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 6 MCU

New Contributor II

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

0 Likes
Reply
1 Solution
Employee

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
Reply
5 Replies
Moderator
Moderator

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
Reply
New Contributor II

thank,please tell me the API name

0 Likes
Reply
Moderator
Moderator

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

Cy_SysPm_LdoGetVoltage() / Cy_SysPm_BuckGetVoltage1() / Cy_SysPm_BuckGetVoltage2()

New Contributor II

thank you so much

0 Likes
Reply
Employee

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
Reply
Top labels