4000S PSoC DAC and ADC Functionality

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

cross mob
979A35J
Level 1
Level 1
First question asked Welcome!

I have been working to prototype a control system using a PSoC 4000S development board. In theory the device has 1 ADC block and two DAC blocks. However, when I try to instantiate two IDAC7 blocks and one ADC block I get an error stating the "maximum number of DACs exceeded  (max=2, needed=3)". I can delete the ADC block and the project will build, or I can delete one of the DAC blocks and the project will build. Does this mean the ADC block requires one of the DAC blocks to function, or is this a bug?

0 Likes
1 Solution
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

Hi,

As it seems to be an interesting symptom, I checked with the Architecture Technical Reference Manual of PSoC 4000S.

The IDAC blocks was shown as

002-IDAC_Connection.JPG

Abd there the ADC function was shown like below.

Note:  IDACB is used.

001-ADC_Block.JPG

So I think that as you imagined, one IDAC (IADCB) is used in ADC,

so you can not use both ADC and two IDACs in the same time.

moto

 

View solution in original post

0 Likes
1 Reply
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

Hi,

As it seems to be an interesting symptom, I checked with the Architecture Technical Reference Manual of PSoC 4000S.

The IDAC blocks was shown as

002-IDAC_Connection.JPG

Abd there the ADC function was shown like below.

Note:  IDACB is used.

001-ADC_Block.JPG

So I think that as you imagined, one IDAC (IADCB) is used in ADC,

so you can not use both ADC and two IDACs in the same time.

moto

 

0 Likes