cancel
Showing results for 
Search instead for 
Did you mean: 

adc120 channel selection and data issues

WOO
Associate

hello.

I'm currently testing a 2-axis joystick connected to an ADC120.
I want the X and Y axis values ​​to go into IN0 and IN1, but only the X axis values ​​go into all channels. The channel changes normally, but is it possible to separately input 2-axis data into IN0 and IN1? ?

I can show you my code if you need it.

 

thank you

2 REPLIES 2
CMYL
ST Employee

Hello @WOO ,

 

Can you specify on which STM32 board or family you are working ?

To better understand the issue, can you share the related Mx project or the configuration code ?

 

Best regards :)

 

 

Hello.

Firstm thank you for your interest in my project.

The stm32 i am currently working on is stm32f407.

This code sends data through ADC120 via SPI communication.

Please let me know if you need further information.

 

WOO_2-1702518858984.png

 

WOO_3-1702518879097.pngWOO_4-1702518894497.png