Hardware requirements#
USB Type-C cable
MCIMX93-EVK board
J-Link Debug Probe
12V~20V power supply
Personal Computer
Board settings#
Connect ADC channel0 (ADC_CH_00) to voltage supply which is 1.8v.
Connect ADC channel1 (ADC_CH_01) to voltage supply which is 1.65v.
Connect ADC channel2 (ADC_CH_02) to voltage supply which is 0.9v.
Please note this application can’t support running with Linux BSP!#
Prepare the Demo#
Connect 12V~20V power supply and J-Link Debug Probe to the board, switch SW301 to power on the board.
Connect a USB Type-C cable between the host PC and the J1401 USB port on the target board.
Open a serial terminal with the following settings:
115200 baud rate
8 data bits
No parity
One stop bit
No flow control
Download the program to the target board.
Either re-power up your board or launch the debugger in your IDE to begin running the example.
Running the demo#
When the example runs successfully, you will see similar information from the terminal shown below.
ADC polling example.
Please press any key to get the conversion result.
The channel 0 ADC conversion data is 4084.
The channel 1 ADC conversion data is 3740.
The channel 2 ADC conversion data is 2049.
Please press any key to get the conversion result.
The channel 0 ADC conversion data is 4085.
The channel 1 ADC conversion data is 3741.
The channel 2 ADC conversion data is 2049.
Please press any key to get the conversion result.
The channel 0 ADC conversion data is 4084.
The channel 1 ADC conversion data is 3739.
The channel 2 ADC conversion data is 2049.