IMX8QXP Configure GPIO

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

IMX8QXP Configure GPIO

1,400 次查看
shalanyang
Contributor II

Hi ,ALL,

            we are useing  imx8qxp , I want to config gpio_1_20 to test startup time in uboot, but I do not use  "imx8_iomux_setup_multiple_pads,gpio_request(GPS_TRX_TEST, "GPS_TRX_TEST"), gpio_direction_output(GPS_TRX_TEST, 1); " system call function, because I want to use it in first uboot, so I must configure it by register or Assembly language (for example: use it start.s), how can I configure the gpio1_20?

could you give me a example ? tks!

0 项奖励
回复
2 回复数

1,007 次查看
shalanyang
Contributor II

why I canot read  0x33F8_0000 memory? for example:

@nutshell:/ # ./var/memtool -r 0x33F80000 0x0
[ 28.124924] Unhandled fault: synchronous external abort (0x92000210) at 0x0000ffff8d7c8000
Bus error

[ 154.501982] Unhandled fault: synchronous external abort (0x92000210) at 0x0000ffffa8133000
Reading 0x1 count starting at address 0x33F80000

Bus error
135|@nutshell:/ # ./var/memtool_imx -32 0x33FC1340 1
E
[ 172.989935] Unhandled fault: synchronous external abort (0x92000210) at 0x0000ffff9c840340
Reading 0x1 count starting at address 0x33FC1340

Bus error
135|@nutshell:/ #

0 项奖励
回复

1,007 次查看
shalanyang
Contributor II

Hello,

         anyonecan help me to configure GPIO1_20  SC_P_FLEXCAN2_TX by register?(IMX8QXP )

0 项奖励
回复