imx6ull->ADC Hi, I am working with an i.MX6ULL-based custom SOM module. For our requirements, we are configuring the pins using Config Tools for i.MX Processors. In Config Tools, I selected Create a Standalone Project, then selected i.MX 6ULL → (6Y2...05). Our requirement is to configure the pins using Config Tools, take the generated .dtsi file, and use the same file to build the image. However, this did not work initially. For UART, I understood that we need to add the corresponding device node and set its status to okay. Similarly, a small modification was also required in the generated .dtsi file. I have attached the .dtsi file generated by Config Tools. Please have a look at it. In that file, when I commented out the imx6ull-board line, the configurations started working properly. After UART, I moved on to ADC configuration. When I checked the ADC configuration in Config Tools, I noticed that the ADC appears to use the same GPIO pin. However, I observed that when I configure one GPIO pin as GPIO and another GPIO pin as ADC, the generated IOMUX configuration looks the same. Why is this the case? Is this the expected behavior? Could you please help me understand the correct way to configure and test the ADC on our i.MX6ULL custom SOM? Also, our original requirement was to configure the pins using Config Tools, take the generated configuration file, and directly use it to build and flash the image. I would like to confirm whether this approach should work for our custom board or whether additional changes are required in the generated .dtsi file. I have attached the dts and .dtsi file generated from Config Tools for your reference. what actually does this meant by? Re: imx6ull->ADC Hello @Et_MM
It seems to be a bug from Config Tools for i.MX6ULL.
Please clarify what GPIO you want as ADC and what other for GPIO function.
I can help you to generate the correct &adc1 node and the correct pinmux.
Best regards,
Salas.
記事全体を表示