What is the correct way to read AMUXBUS voltage with SARADC?

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

cross mob
Khaz_4682641
Level 1
Level 1
5 replies posted First question asked First reply posted

Hi all,

I'm working on a project and I need to read the AMUXBUS with the SAR ADC.

I'm using the CY8CKIT-062-BLE board and I'm working on a modus toolbox.

I tried two ways for reading AMUXBUS :

  1. By using pin fast initialization and connect the port10 pin 0 to AMUXBUSB and start measuring.
  2. the second way, I used SARSEQ and open AMUXBUSB switch and connecting it with SAR ADC channel

But none of them worked for me, there is a difference between the measured value with the ADC and the real value I measured by AVO.

ADC measured voltage > AVO measured voltage

And I tried to measure the voltage with the other channels which not connected to AMUXBUSB and the measured voltage = measured voltage by the AVO.

regards,

Khalil

0 Likes
1 Reply
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked

Hi Khalil,

Are you using Modus ToolBox 2.1 ? Did you use the Analog Route Editor in the device configurator ? Or are you  connecting the switches manually using register writes and changing them dynamically ? In that case how are you deciding the registers to be written ?

Best Regards,
Vasanth

0 Likes