I2C Expansion Board
#25
Yeah I was also wondering if I was looking at the right I2C interface... I had a look at the devicetree-file we use for the Linux kernel. Seems the I2C Interface for pin PL8/9 is not mapped. I then checked the usermanual and found out that this particular interface is actually different from TWI0/TWI1/TWI2.... it is named R_TWI and while it is the same hardware block, it does not sit on the APB2 bus like the others, it sits in the secure domain of the SoC on the APBS bus... so you can't just copy the dts entry from the others, fix the addresses/clocks/pins and call it a day... I am not sure what implications this has for adding it to the devicetree-file but I looked at R_UART - which is already configured (the name in the dts is s_uart though....) and found out that the secure devices have their own pin-control section, so that seems to be doable. What I do not know, what clock needs to be assigned to drive devices on the APBS bus? Also what are the correct IRQ definitions, I looked at the GIC IRQ table from the usermanual but couldnt figure out how the IRQ line numbers and vectors translate to the interrupt entries in the dts...
Come have a chat in the Pine IRC channel >>
  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,605 05-01-2019, 11:17 PM
Last Post: amp
  Audio DAC pot board nejec 2 6,531 12-09-2017, 01:43 PM
Last Post: nejec
  Zwave Board: 300, 400 or 500? Lugor 4 8,498 01-10-2017, 08:55 PM
Last Post: Lugor
  Questions. board serial.? bongky youn 8 11,026 09-12-2016, 09:24 AM
Last Post: bongky youn
  My Board Layout Diagram UnixOutlaw 8 13,057 09-09-2016, 02:41 AM
Last Post: pfeerick
  New module: POT board Crispin 25 40,991 07-12-2016, 08:47 PM
Last Post: khgoh
  GPS expansion board stephen fleming 3 5,921 07-06-2016, 11:20 AM
Last Post: xalius

Forum Jump:


Users browsing this thread: 1 Guest(s)