- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What is the process to utilize the two Current DACs in a PSoC 6 with ModusToolbox for something other than Capsense?
Reference:
- Just one DAC? @ https://community.infineon.com/t5/PSoC-6/Just-one-DAC/m-p/167885
- DAC Code Example @ https://community.infineon.com/t5/PSoC-6/DAC-Code-Example/m-p/44533
Greg
Solved! Go to Solution.
- Labels:
-
PSoC 6 MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Greg,
It is supported through library manager. There is a CSDIDAC middleware library. You can write your own application by referring to the API reference manual of the csdidac library. Kindly check the following links.
https://github.com/Infineon/csdidac
https://infineon.github.io/csdidac/csdidac_api_reference_manual/html/index.html
Best Regards,
Vasanth R S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Greg,
Apologies for getting back late on this. As of now we do not have any example on this, readily available. I am checking internally whether we have any info internally on this.
Best Regards,
Vasanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Greg,
It is supported through library manager. There is a CSDIDAC middleware library. You can write your own application by referring to the API reference manual of the csdidac library. Kindly check the following links.
https://github.com/Infineon/csdidac
https://infineon.github.io/csdidac/csdidac_api_reference_manual/html/index.html
Best Regards,
Vasanth R S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Greg,
What PSoC6 part are you using?
Here is a very simple PsoC Creator project that can assign both 7-bit iDACs to analog pins for connection to current to voltage resistors. This project uses the CY8CKIT-062-BLE.
Is this what you looking for?
"Engineering is an Art. The Art of Compromise."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Greg,
My investigation with ModusToolBox indicates that you can't get a high-level access to the two current DACs. Their "Device Configurator" tool provides no GUI interface to these resources. This also includes the "Analog Routing" tab.
My recommendation is to use PSoC Creator. If this is not an option then I suggest the following:
- Since control of these iDAC resources have no API interfaces, it still has register interfaces.
- You theoretically can use the API calls created by PSoC Creator. With some modifications you should be able to port it to ModusToolBox.
To use these iDACs means that you can't effective use these subcircuits in CapSense.
"Engineering is an Art. The Art of Compromise."