Hi,
I have designed a Vehicle infotainment system using iMX6Q processor in sabre platform.
during the uboot, I2C2 and I2C3 ports are enabling but I2C1 port.
I have checked and modified the pad multiplexing register and pad control register of the corresponding pins of I2C1, and input selection registers of i2c1 also.
but, still there is no i2c1 detecting in the board.
i am adding the console details below.
**********************************************************
U-Boot 2017.03 (Sep 20 2017 - 01:30:19 +0800)
CPU: Freescale i.MX6Q rev1.2 996 MHz (running at 792 MHz)
CPU: Automotive temperature grade (-40C to 125C) at 29C
Reset cause: POR
Model: Freescale i.MX6 Quad SABRE Automotive Board
Board: MX6Q-Sabreauto revA
DRAM: 2 GiB
PMIC: PFUZE100! DEV_ID=0x10 REV_ID=0x21
MMC: FSL_SDHC: 0, FSL_SDHC: 1
MMC: no card present
mmc_init: -123, time 2
*** Warning - MMC init failed, using default environment
No panel detected: default to Hannstar-XGA
Display: Hannstar-XGA (1024x768)
In: serial
Out: serial
Err: serial
flash target is MMC:1
MMC: no card present
mmc_init: -123, time 1
MMC card init failed!
MMC: no card present
mmc_init: -123, time 1
** Block device MMC 1 not supported
Net: No ethernet found.
MMC: no card present
mmc_init: -123, time 2
Block device mmc 1 not supported
bcb_rw_block, get_block_size return 0
read_bootctl, bcb_rw_block read failed
read command failed
Fastboot: Normal
Hit any key to stop autoboot: 0
=> mw 20e00a4 00000016 1
=> mw 20e00c4 00000011 1
=> mw 20e03d8 0001b8b1 1
=> mw 20e03b8 0001b8b1 1
=> mw 20e0898 00000000 1
=> mw 20e089c 00000000 1
=> i2c bus
Bus 1: i2c@021a4000 (active 1)
08: pfuze100@08, offset len 1, flags 0
Bus 2: i2c@021a8000
30: gpio@30, offset len 1, flags 0
32: gpio@32, offset len 1, flags 0
34: gpio@34, offset len 1, flags 0
=> i2c dev 0
Setting bus to 0
Failure changing bus number (-19)
=> i2c probe
No I2C bus selected
=>
**************************************************
please help to solve this problem....
Hi Dibin
i2c1 signals are multiplexed with parallel nor and sensor, so these
peripherals should not be used. Also one can check if i2c1 clock is enabled in
CCM_CCGR2 register.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------