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

ModusToolbox™ General Forum Discussions

MaMi_1205306
Level 6
50 solutions authored 25 likes received 250 sign-ins
Level 6

Dear Sirs and Madams,

 

Please tell us how to realize the following connection used in PSoC Creator with Modus Toolbox.

MaMi_1205306_0-1657178854484.png

MaMi_1205306_1-1657178994626.png

PSoC Creator will automatically wire normally.

MaMi_1205306_2-1657179053131.png

 

We would like to realize it with PSoC4S MAX.

I did the following procedure for Modus Toolbox, but it cannot be set correctly.

 

(1) Start Device Configurator3.1

(2) Enable CTBm 0 and SAR ADC 0 from Peripheral Tab

(3) Set CTBm0 to follower

(4) Set Input of CTBm0 to P1[0:7], set output of CTBm0 to "SAR ADC 0 vplus"

(5) Set "number of channels" to "1" and Ch0 Vplus of SAR ADC to "CTB 0 OpAmp 0 out_1x"

 

Setting of CTBm 0

MaMi_1205306_3-1657179855751.png

Settings of SAR ADC

MaMi_1205306_5-1657179961120.png

Analog-Routing

MaMi_1205306_6-1657179991432.png

 

When I run the build, I get an error and cannot analog-routing properly.

Please let us know if there is a problem with my settings, Or is it possible to get a sample project?

 

Regards,

0 Likes
2 Replies
Raj_JC
Moderator
Moderator 250 sign-ins 25 likes received 50 solutions authored
Moderator

Hi @MaMi_1205306,

I am attaching a PSoC 6 project for muxing the inputs at OpAmp ( configured as a follower).

>> P9[0] is configured as the input to the opamp.

P9[0] is connected to the AMUXBUS A. P9[1], P9[2] and P9[4] are connected to P9[0] using AMUXBUSA in a cycle.

You can refer to the project and develop your own project.

>> You can refer to the PSoC 6 PDL for further configuration.

 

Please, let us know if you need further clarification.

 

Thank you

Best Regards

Raj Chaudhari

MaMi_1205306
Level 6
50 solutions authored 25 likes received 250 sign-ins
Level 6

Raj-san,

 

Thank you for your support.

 

I imported and confirmed for your attached project.

However, Device configurator 3.10 cannot be opened.

In the first place, I cannot be confirmed for the analog routing because "Device configurator" is no choice in the tool.

So I tried to set it with PSoC4S MAX, but "AMUXBUS A" is not displayed at the pin connection destination.

Does "AMUXBUS A" in your comment refer to "MSC 0 amuxbus_a" or "MSC 1 amuxbus_a"?

 

MaMi_1205306_0-1657532815713.png

I also don't understand that We can't select "PASS_amuxbus_a/b".

 

Regards,

0 Likes