Announcements
IMPORTANT: Cypress Developer Community is transitioning on October 20th. To learn more and be prepared for this change, check out our latest announcement.
cancel
Showing results for 
Search instead for 
Did you mean: 

ModusToolbox PSoC 6 SDK

Khaz_4682641
New Contributor II

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

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