ModusToolbox : How to connect SAR ADC multiplex using follower

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

cross mob
MiNe_85951
Level 7
Level 7
Distributor - TED (Japan)
50 likes received 500 replies posted 50 solutions authored

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
1 Solution
lock attach
Attachments are accessible only for community members.
Raj_C
Moderator
Moderator
Moderator
250 solutions authored 500 replies posted 50 likes received

Hi @MiNe_85951,

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

View solution in original post

4 Replies
lock attach
Attachments are accessible only for community members.
Raj_C
Moderator
Moderator
Moderator
250 solutions authored 500 replies posted 50 likes received

Hi @MiNe_85951,

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

MiNe_85951
Level 7
Level 7
Distributor - TED (Japan)
50 likes received 500 replies posted 50 solutions authored

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
Raj_C
Moderator
Moderator
Moderator
250 solutions authored 500 replies posted 50 likes received

Hi @MiNe_85951,

Can you please let us know if you were able to resolve the issue? If not what are the issues you are currently facing?

Thank you

Best Regards

Raj Chaudhari

0 Likes
MiNe_85951
Level 7
Level 7
Distributor - TED (Japan)
50 likes received 500 replies posted 50 solutions authored

Raj-san,

 

I mostly understand this issue.

So, I have made your reply an accepted solution.

 

Regards,

0 Likes