polarfire-soc / polarfire-soc-bare-metal-examples

Bare metal example software projects for PolarFire SoC
25 stars 14 forks source link

Icicle Schematics doesn't match with i2c instructions #2

Closed kowalski100 closed 2 years ago

kowalski100 commented 3 years ago

I need to test I2c interface.

The instruction about J26 here doesn't match schematic here.

One more thing, I couldn't find any document containing default PIN state (which peripheral by default that appears on a pin)?

nitindeshpande commented 3 years ago

@kowalski100 The instructions in the readme look correct. (There's a formatting issue that needs to be sorted, will do that. Please look at the raw file for now.)

I2C-0 I2C-1
I2C 0 SCL: J26 Pin 29 -> I2C 1 SCL: J26 Pin 31
I2C 0 SDA: J26 Pin 35 -> I2C 1 SDA: J26 Pin 37

Note also that, as mentioned in the project readme, the I2C_LOOPBACK variant of the reference design needs to be used for this (The default reference design does not have this connection).

I am not sure what you mean when you say that the readme instructions dont match the schematics.

kowalski100 commented 3 years ago

@nitindeshpande Thank for your kind reply.

I mean I cannot see any I2C signals on J26 as can be seen from the attachment below.

j26

nitindeshpande commented 3 years ago

Ok. Yes, The I2C loopback design variant routes the I2C signals to the J26.

nitindeshpande commented 3 years ago

Hello @kowalski100 Hope your question was answered. Can the issue be closed?

nitindeshpande commented 2 years ago

Believe the query is answered.