Configuring CY8C6247 ADC on pins not on dedicated ADC pins

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

cross mob
a_a_86
Level 1
Level 1
First question asked Welcome!

Hi All,

I have been working on a project using a PSOC CY8C6247 with 2 ADC traced to Port7 pin6 and 7. We have used all the dedicated ADCs on port10 for other analogue conversions.


I have been trying to configure the micro to switch port7 pin6&7 to AMUXBUSA and AMUXBUSB. Then mapping AMUXBUSA & B to the SAR MUX.

Unfortunately, I haven’t had any success in doing so. I have tried modifying our existing codebase. I have tried using PSOC creator to generate the register configuration, but this looked to be incomplete.

Looking at the Analog System diagram from the datasheet I think we might have made a mistake with port 7 pin 7 but pin 6 should be configurable to AMUXBUSA and subsequential to the SAR AMUX.


Essentially, I am trying to find out if there are any examples implementing addition ADC’s from GPIO’s not on port10? Perhaps there is an example for this in PSOC creator? I have been able to find one.

Any help with this would be greatly appreciated as this has become a bit of a blocker for us.

0 Likes
1 Solution
Arpit_S
Moderator
Moderator
Moderator
50 likes received 250 replies posted 100 solutions authored

Hi @a_a_86 ,

 

Can you please refer to the below mentioned thread. We discussed about the same issue there:

https://community.infineon.com/t5/PSoC-4/PSoC4-ADC-input-External-analog-multiplexer/td-p/358316

 

Thanks!

Kind regards

Arpit Srivastav

View solution in original post

0 Likes
2 Replies
Arpit_S
Moderator
Moderator
Moderator
50 likes received 250 replies posted 100 solutions authored

Hi @a_a_86 ,

 

Can you please refer to the below mentioned thread. We discussed about the same issue there:

https://community.infineon.com/t5/PSoC-4/PSoC4-ADC-input-External-analog-multiplexer/td-p/358316

 

Thanks!

Kind regards

Arpit Srivastav

0 Likes
Arpit_S
Moderator
Moderator
Moderator
50 likes received 250 replies posted 100 solutions authored

Hi @a_a_86 

 

You can also refer to https://www.infineon.com/dgdl/Infineon-PSoC_6_MCU_PSoC_62_Architecture_Technical_Reference_Manual-Ad... Section 39.2.2.2 Analog Interconnection

you can find in-depth details there.

 

Thanks!
Kind regards

Arpit Srivastav

0 Likes