- Muchas notas - Fran Acién

20230628 - Linux computer for Fadi

He would need something with:

  • 128 MB RAM
  • 2 SPI
  • 2 i2C
  • Wifi
  • USB
  • Power through USB
  • All connectors THRO
  • Reset Button
  • 3 UARTS
  • 5 Volts and 3.3V, is necessary a linear regulator for 3.3V
  • Some ground pins
  • Same antenna for WiFi, with a TBD T impedance.
  • 19-20Some GPIOS, for turning ON/OFF
  • Linux
  • ARM architecture would be desired
  • Power 0.5Watts, Idle with everything shut down

The reason why fadi prefer the chiniese version is because it can use 2 independant SPI, that is perfect for its project.

DISCLAIMER I have been trying to use the allwinner D1 on the mangopi and is giving me a lot of problems. Even when the cable is connected it losses IP. It seems that the hardware/software is not ready yet. For this reason I am going to use the pocketbeagle for my new designs.

Available architectures

Allwinner devices

Finally I am going to ask Fadi to:

Multiplex of Fadi in the MangoPi

I took the Schematic of the mango pi and I tried to fit the necessities of Fadi.

The format I use is: Ball Number of D1 / Pin Name / name of the net / Physical pin on the MangoPi Header

I2C0 / TWI0:

  • PB2 / TWI0-SDA / 36
  • PB3 / TWI0-SCK / 38

I2C1 / TWI1:

  • PB4 / TWI1-SCK / 40
  • PB5 / TWI-SDA / 12

SPI0, there is only one SPI0 interface, that is in the connector:

  • PC3 / SPI0-DBI-CS / NaN
  • PC2 / SPI0-CLK / NaN
  • PC4 / SPI0-MOSI / NaN
  • PC5 / SPI0-MISO / NaN

SPI1:

  • PD10 / SPI1-DBI-CS / 24
  • PD11 / SPI1-DBI-CLK / 23
  • PD12 / SPI1-MOSI_DBI-SDO / 19
  • PD13 / SPI1-MISO_DBI-SDI / 21

Power consumption of BeagleBone

With the internal leds, and removing all the services:

  • 5.1V -> 0.163A, 0.83W
  • Theorically without the leds 0.78 W

Comparing with the raspberry pi zero. This has more power consumption.

Power consumption of MangoPi

  • Similar to the Lichee

Power consumption of Lichee

  • 5.1V -> 0.15A with peaks of 0.2. When the cpu usage is low. That is on startup.
  • After a while the power usage is 5.16V -> 0.1A
  • 5.1 -> 0.7 (peak 0.1) when is disconnected from the dock, that is nothing connected.But wiht the led working.

34cbe6d66f1b602ba2ed7cc0e0a230fb.png

That test is with ubuntu running perfectly. When you connect the ethernet the power goes up to 0.2A.