I2C Expansion Board
#14
On the second I2c Port (TWI-SDA and TWI-SCL), which is connected to the Pin 28 & 29 of Pi-2 Connector, is on port PL8 and PL9 of the MCU. The base address of the MCU I/O configuration register for this Port L is on 0x01F02C00. To enable the I2c function for this pin, we need to configure the PL Configuration Register 1(by default, the MCU disable the i/O function of this 2 pin during power up). The detail of the setting can be found at the MCU User Manual on page 410 to page 416.

I think (some one please correct me if I am wrong) all this setting has to be done in the linux kernel in order for the user land program to be able to access it. Since I am not very good in linux kernal, may be someone which is good in it can help out. Thanks.

Regards,
KH Goh
  Reply


Messages In This Thread
I2C Expansion Board - by DonFL - 07-21-2016, 11:15 AM
RE: I2C Expansion Board - by Artyom - 07-21-2016, 12:59 PM
RE: I2C Expansion Board - by DonFL - 07-21-2016, 01:17 PM
RE: I2C Expansion Board - by khgoh - 07-21-2016, 07:16 PM
RE: I2C Expansion Board - by MarkHaysHarris777 - 07-21-2016, 10:34 PM
RE: I2C Expansion Board - by DonFL - 07-22-2016, 12:28 AM
RE: I2C Expansion Board - by khgoh - 07-26-2016, 02:59 AM
RE: I2C Expansion Board - by MarkHaysHarris777 - 07-26-2016, 07:09 AM
RE: I2C Expansion Board - by DonFL - 07-26-2016, 05:19 AM
RE: I2C Expansion Board - by Artyom - 07-26-2016, 08:51 AM
RE: I2C Expansion Board - by MarkHaysHarris777 - 07-26-2016, 10:52 AM
RE: I2C Expansion Board - by DonFL - 07-26-2016, 09:03 AM
RE: I2C Expansion Board - by Artyom - 07-26-2016, 11:31 AM
RE: I2C Expansion Board - by khgoh - 07-26-2016, 09:17 PM
RE: I2C Expansion Board - by dkryder - 07-27-2016, 12:51 AM
RE: I2C Expansion Board - by pineadmin - 07-27-2016, 01:30 AM
RE: I2C Expansion Board - by Artyom - 07-27-2016, 12:07 AM
I2C Expansion Board - by Artyom - 07-27-2016, 08:16 AM
RE: I2C Expansion Board - by DonFL - 07-27-2016, 09:06 AM
RE: I2C Expansion Board - by xalius - 07-27-2016, 11:06 AM
RE: I2C Expansion Board - by Artyom - 07-27-2016, 11:17 AM
RE: I2C Expansion Board - by dkryder - 07-27-2016, 12:10 PM
RE: I2C Expansion Board - by Artyom - 07-27-2016, 12:20 PM
RE: I2C Expansion Board - by dkryder - 07-27-2016, 05:58 PM
RE: I2C Expansion Board - by martinayotte - 07-27-2016, 12:41 PM
RE: I2C Expansion Board - by xalius - 07-27-2016, 12:49 PM
RE: I2C Expansion Board - by martinayotte - 07-27-2016, 04:54 PM
RE: I2C Expansion Board - by martinayotte - 07-28-2016, 03:44 PM
RE: I2C Expansion Board - by martinayotte - 07-27-2016, 07:19 PM
RE: I2C Expansion Board - by khgoh - 07-27-2016, 09:33 PM
RE: I2C Expansion Board - by martinayotte - 07-28-2016, 09:14 AM
RE: I2C Expansion Board - by DonFL - 07-28-2016, 06:21 AM
RE: I2C Expansion Board - by khgoh - 07-28-2016, 04:28 PM
RE: I2C Expansion Board - by xalius - 07-28-2016, 03:58 PM
RE: I2C Expansion Board - by martinayotte - 07-28-2016, 05:46 PM
RE: I2C Expansion Board - by xalius - 07-28-2016, 06:28 PM
RE: I2C Expansion Board - by martinayotte - 07-28-2016, 07:19 PM
RE: I2C Expansion Board - by Artyom - 07-30-2016, 06:31 AM
RE: I2C Expansion Board - by tllim - 07-30-2016, 06:07 PM
RE: I2C Expansion Board - by AndrewC78 - 08-16-2022, 10:29 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Poll: interest for SPDIF-only POT board? amp 0 2,796 05-01-2019, 11:17 PM
Last Post: amp
  Audio DAC pot board nejec 2 7,006 12-09-2017, 01:43 PM
Last Post: nejec
  Zwave Board: 300, 400 or 500? Lugor 4 9,212 01-10-2017, 08:55 PM
Last Post: Lugor
  Questions. board serial.? bongky youn 8 12,093 09-12-2016, 09:24 AM
Last Post: bongky youn
  My Board Layout Diagram UnixOutlaw 8 14,128 09-09-2016, 02:41 AM
Last Post: pfeerick
  New module: POT board Crispin 25 44,610 07-12-2016, 08:47 PM
Last Post: khgoh
  GPS expansion board stephen fleming 3 6,416 07-06-2016, 11:20 AM
Last Post: xalius

Forum Jump:


Users browsing this thread: 2 Guest(s)