I2C Expansion Board
#24
The EnableI2cPullup.c is doing much more than just adding PullUps on I2C GPIOs, it seems to do the same with all those GPIOs :

PC5,PC9,PH2,PH3,PH5,PH6,PL8,PL9

There 2 I2C in the list, the PH2/PH3 which are TWI1 (btw, TW0 on PH0/PH1 seems to have been forgotten), and PL8/PL9 which is S_TWI, not defined or initialised yet in the Kernel.
So, I doubt that POT boards are using S_TWI, but simply using the TWI1 on PiHeader pins 3/5 instead of pins 27/28.
Maybe someone can verify the traces on the board, I don't have such board and Wiki doesn't provide schematic for this ...

For the other GPIOs which PullUps have been initiaized, PC5/PC9/PH5/PH6, I don't know why they have done that (for PH5/PH6 maybe to prevent breaks on UART3, but no other UARTs have that done).

Last thing, if S_TWI on pins 27/28 is really useful, than the current DTS of the Kernel will need to provides new entries which will bring it probably as /dev/i2c-4.

BTW, for the TWI1, it would be probably pretty easy to have the pullup mode done directly in the DTS too, but why there are external pullups on those pins already ?
  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,833 05-01-2019, 11:17 PM
Last Post: amp
  Audio DAC pot board nejec 2 7,074 12-09-2017, 01:43 PM
Last Post: nejec
  Zwave Board: 300, 400 or 500? Lugor 4 9,326 01-10-2017, 08:55 PM
Last Post: Lugor
  Questions. board serial.? bongky youn 8 12,311 09-12-2016, 09:24 AM
Last Post: bongky youn
  My Board Layout Diagram UnixOutlaw 8 14,335 09-09-2016, 02:41 AM
Last Post: pfeerick
  New module: POT board Crispin 25 45,271 07-12-2016, 08:47 PM
Last Post: khgoh
  GPS expansion board stephen fleming 3 6,519 07-06-2016, 11:20 AM
Last Post: xalius

Forum Jump:


Users browsing this thread: 2 Guest(s)