- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Receiver,
I use "Device Configurator" to add ADC module in the MTB. The target board I used is CY8CKIT-062S2-43012.
I add ADC module sucessfully because I can save it without error messages.
But,,, I don't know how to do next in the main.c. For example,,,
How to write initial code ?! How to start ADC conversion?! How to get ADC results ?! How to use ADC interrupt ?!... etc.
Because I can't find any related example codes if I added ADC modules from "Device Configurator".
Thank you so much.
Solved! Go to Solution.
- Labels:
-
ispn:39621:1:0
-
l1:314:1:0
-
PSoC6MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Tim,
Kindly check our PDL documentation and associated code snippets. The configurator will help you in creating config structures to be used along with the PDL which makes it easier to use the component. It has also has snippets which show how conversion and results are handled. There are sections like interrupt functions which will help you in using the interrupts and it has pseudo codes on how to handle them too.
Best Regards,
Vasanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Tim,
Kindly check our PDL documentation and associated code snippets. The configurator will help you in creating config structures to be used along with the PDL which makes it easier to use the component. It has also has snippets which show how conversion and results are handled. There are sections like interrupt functions which will help you in using the interrupts and it has pseudo codes on how to handle them too.
Best Regards,
Vasanth