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

PSoC™ 4 Forum Discussions

deonc_3697476
Level 2
Level 2
First like given

Is there a way to manually fetch ADC voltage data from pSoC 4000S MCU ADC? We are using the CY8CKIT-145-40XX prototyping kit

0 Likes
1 Solution
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked

Hi,

If you are thinking about triggering the ADC, you can keep it in continuous trigger mode or hardware trigger mode. In hardware trigger mode you can trigger the ADC externally. Also you can call ADC_StartConvert API to trigger the ADC once. So you can call this API inside an ISR to initiate one ADC sample conversion externally.

Best Regards,
VRS

View solution in original post

0 Likes
2 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Not quite clear for me what you mean to say with "manually". A PSoC needs to run a program that (in your case) starts the ADC, starts conversion. What would you now do with the result of a conversion? You may do anything you like, but you have to write a program for that.

Bob

0 Likes
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked

Hi,

If you are thinking about triggering the ADC, you can keep it in continuous trigger mode or hardware trigger mode. In hardware trigger mode you can trigger the ADC externally. Also you can call ADC_StartConvert API to trigger the ADC once. So you can call this API inside an ISR to initiate one ADC sample conversion externally.

Best Regards,
VRS

0 Likes