Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

Linux/AM5728: pinmux tool file generated

$
0
0

Part Number:AM5728

Tool/software: Linux

HI 

I am looking at the pinmux tool output files and i must be missing something. I am creating pinout for the AM5728. I tried to use the genericfileformatpadconf.txt below is from the .txt file

0x4A003804 0x50000 C20 CTRL_CORE_PAD_I2C1_SCL i2c1_scl i2c1_scl
0x4A003800 0x50000 C21 CTRL_CORE_PAD_I2C1_SDA i2c1_sda i2c1_sda

But in the sdk mux.h its a different format is shown below

ti-processor-sdk-linux-rt-am57xx-evm-05.02.00.10/board-support/u-boot-2018.01+gitAUTOINC+313dcd69c2-g313dcd69c2/board/ti/am57xx/mux.h

The problem i see is that one has the register address and the value the other has the following format

{I2C1_SDA, (M0 | PIN_INPUT_PULLUP)}, /* i2c1_sda.i2c1_sda */
{I2C1_SCL, (M0 | PIN_INPUT_PULLUP)}, /* i2c1_scl.i2c1_scl */

this is very annoying to convert the register values to the text that is needed in the mux.h file.

I must be missing something here. Any help would be great.

Also the only thing that i find in the dts file is for the mmcx but nothing for the pinmux configuration on the like i2c and so on. I must be missing something here as well.

Thanks


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>