foxd27 technical documentation Buy

Getting started with Fox board D27

This article explains how to get started with the FOX board D27 single board compuuter

Follow this article to make a bootable microSD

Manage the green leds group power line

The line PA26 manages a cmos that detach the GND to the common catode of the 3 green leds

  • LED GND ON (PA26) sudo gpioset gpiochip0 26=1
  • LED GND OFF (PA26) sudo gpioset gpiochip0 26=0

Manage the RGB led

  • RED ON (PC9) sudo gpioset gpiochip0 73=0
  • RED OFF (PC9) sudo gpioset gpiochip0 73=1
  • GREEN ON (PA25) sudo gpioset gpiochip0 25=0
  • GREEN OFF (PA25) sudo gpioset gpiochip0 25=1
  • BLUE ON (PB13) sudo gpioset gpiochip0 45=0
  • BLUE OFF (PB13) sudo gpioset gpiochip0 45=1

Manage the 3V3_USER power line

The line PIOBU3 line manages the EN pin of PMIC that will provide the 3V3_USER power supply

  • 3V3_USER ON (PIOBU3)sudo gpioset gpiochip1 3=1
  • 3V3_USER OFF (PIOBU3)sudo gpioset gpiochip1 3=0

Manage the ACME Sensor 1 port power supply line

The line PIOBU4 manages a cmos that detach the GND from the ACME Sensor 1 port (J4)

  • ACME Sensor 1 power line ON (PIOBU4)sudo gpioset gpiochip1 4=1
  • ACME Sensor 1 power line OFF (PIOBU4)sudo gpioset gpiochip1 4=0

Manage the ACME Sensor 2 port power supply line

The line PIOBU5 manages a cmos that detach the GND from the ACME Sensor 2 port (J5)

  • ACME Sensor 2 power line ON (PIOBU5)sudo gpioset gpiochip1 5=1
  • ACME Sensor 2 power line OFF (PIOBU5)sudo gpioset gpiochip1 5=0

Manage the USBA power supply line

The line PB25 manages the EN pin of PMIC that provide the 5V0 power to the USBA port

  • USBA ON (PB25) sudo gpioset gpiochip0 57=1
  • USBA OFF (PB25) sudo gpioset gpiochip0 57=0

Manage the USBB power supply line

The line PB24 manages the EN pin of PMIC that provide the 5V0 power to the USBB port

  • USBB ON (PB24)sudo gpioset gpiochip0 56=1
  • USBB OFF (PB24)sudo gpioset gpiochip0 56=0

Switch the USBA and USBC ports

The line PIOBU6 manages the USB switch chip that manages the line of USBA port (Host port) and the USBC line (client port)

  • Enable the USBA port (PIOBU6) sudo gpioset gpiochip1 6=0
  • Enable the USBC port (PIOBU6) sudo gpioset gpiochip1 6=1

Home page foxd27 technical documentation Buy