SARADC is a 6-channel 10-bit effective digital-to-analog converter. When the input frequency is 13MHz, the conversion speed is 1MSPS.
Hot Wheels Technology has developed a rk3588s motherboard, youyeetoo R1, which provides 40pin expansion pins, including 1 CAN pin. The pin distribution is shown in the figure below:
If you want to use shell commands in the Android system, you need to enter the Android command line window through ADB. For tutorials on using ADB, please refer to the adb debugging chapter. After opening the Android system command line through adb.
adb root
adb shell
Here we take the ADC3 pin in the picture as an example.
cat /sys/bus/iio/devices/iio\:device0/in_voltage3_raw
cat /sys/bus/iio/devices/iio\:device0/in_voltage3_raw