- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The device is a PSOC 4200. I'm using the 8-bit IDAC for CAPsense and the 7-bit iDAC in standard configuration.
According to the resource meter, the uC has both these iDACs.
When I compile the project with just the 8-bit iDAC it works without a problem. However, when I add the 7-bit iDAC to the design, it fails to compile. The error shown is 'unable to find a solution for the analog routing' That's it. There is no further description.
What could be the problem?
Solved! Go to Solution.
- Tags:
- analog routing
- idac
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
What pins are you using as IDAC outputs ? IDAC output might need to use Amux bus resources for the output pins to be connected to IDAC. See CYDWR, analog tab and see how the outputs are routed. This will let you know what is causing the problem.
Best Regards,
Vasanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The default setting of CapSense uses two IDACs, 8-bit modulation IDAC and 7-bit compensation IDAC.
If you want to use one IDAC for an another purpose, please disable the compensation IDAC.
Because the compensation IDAC is 7-bit, You can use a 7-bit IDAC only.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I have already disabled the compensation iDAC, so technically it should work. I have updated my question to make this clearer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Update: To make things clearer, I have disabled the compenstation iDAC, so it should be possible to include the 7-bit iDAC.
It seems however, that there is a bottleneck in the analog routing fabric, for when I removing the iDAC output pin, the analog routing is successful. Currently, I am using the ADC and the LPcomparator.
It seems that there is not enough analog routing fabric to support all these analog blocks and pins.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
What pins are you using as IDAC outputs ? IDAC output might need to use Amux bus resources for the output pins to be connected to IDAC. See CYDWR, analog tab and see how the outputs are routed. This will let you know what is causing the problem.
Best Regards,
Vasanth