---
crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68

On Wed, Feb 22, 2017 at 6:35 PM, Internet <internet@devpi.de> wrote:

The power issue is pretty tough I think. Do you want to allow charging from both sides (12v dc jack and eoma-5v0)


yes. 

or does the power from the card only act as additional power for the system (without charging and just taking the load off the battery)?


no.  an OTG cable into the EOMA68 Card should be capable of charging (not necessarily *running* the system as it's far too much current required). 

How do you want to control the power switch (SY6280) and detect whether the card is passive or active (taking power/providing power)?

 usual OTG software detection, then communicated (quickly) to avoid any current bun-fights.  OTG generates IRQs from the cable being plugged in (usual way) - the extra bit will be to ensure that the required GPIOs are pulled high/low - there's quite a few.

l.