Binho Customer Support
  • Customer Support Portal
  • User Guide
    • Binho Nova
    • Binho Supernova
    • Hardware Comparison Table
    • Safety Notice
    • Compliance & Legal
    • System Requirements
    • Updating Firmware
    • Protocols and Interfaces
      • I3C Common Command Codes
      • Bridge 1.1 API
        • Bridge 1.1 API - Basic I3C Commands
        • Bridge 1.1 API - I3C Common Command Codes
        • Bridge 1.1 API - I2C Commands
        • Bridge 1.1 API - SPI Commands
        • Bridge 1.1 API - UART Commands
        • Bridge 1.1 API - GPIO Commands
  • Getting Started
    • Hardware Setup
      • Binho Nova
      • Binho Supernova
    • Binho Mission Control
      • Overview
      • Download & Installation
      • Interactive Tour
        • App Layout
        • Protocol Activation
        • Command Panel
        • Transaction Log View
      • Updating Binho Mission Control Software
      • Simulators
      • Communication Protocols
        • SPI
        • UART
        • I2C
        • I3C
        • 1-WIRE
        • GPIO
      • Settings
    • Python SDKs
      • SupernovaController
      • Nova SDK
    • C++ SDK
      • Installation
      • Environment Setup
      • Building the C++ SDK Library
      • Building a Project Using the SDK
      • Example Applications
      • Using the Library
    • Software Releases
  • Examples
    • SupernovaController
    • Other Examples
  • Troubleshooting
    • Solving USB Connection Issues on Linux
  • FAQ
    • What is a host adapter?
    • What protocols are supported?
    • Can multiple devices be used at the same time?
    • Where can I find the product datasheet?
    • Is there a GUI available?
    • Is the ADC calibrated?
    • Is the DAC calibrated?
  • Returns & Warranty
    • 90-Day Return Policy
    • 2-Year Warranty
  • Dropping Legacy Terminology
  • Contact Us
  • Orders & Shipping
    • Place an Order
    • Requesting a Quotation
    • Placing a Purchase Order
    • Shipping Policy
    • International Shipping
    • Tax Exemption
    • Discounts
    • Distributors
Powered by GitBook
On this page
  1. Getting Started
  2. Binho Mission Control
  3. Communication Protocols

GPIO

Previous1-WIRENextSettings

Last updated 7 months ago

When the user selects from the Navigation Menu, the GPIO (General-Purpose Input/Output) command panel shows up.

For GPIO, there are six potential configurations for a pin: Analog Input (AIN), Analog Output (AOUT), Pulse Width Modulation (PWM), Digital Input (DIN), Digital Output (DOUT) and Interruptions. The table below delineates the capabilities for each Nova IO pin (N), Supernova IO pin (SN) and Pulsar IO pin (P).

Pin
AIN
AOUT
PWM
DIN
DOUT
Interruption

IO0

N

-

N

N - SN - P

N - SN - P

SN - P

IO1

N

N

-

N - SN - P

N - SN - P

SN - P

IO2

N

-

N

N - SN - P

N - SN - P

SN - P

IO3

N

-

N

N - SN - P

N - SN - P

SN* - P

IO4

N

-

N

N - SN - P

N - SN - P

SN - P

IO5

-

-

-

SN - P

SN - P

SN - P

IO6

-

-

-

SN - P

SN - P

SN - P

*Supernova Rev. B does not support GPIO interruptions on pin 3.

Notes:

  • Analog Input (AIN): When a pin is set to AIN, a READ button appears. Pressing this button prompts the host adapter to gauge the pin's voltage, displaying the result in the Transactions Log View.

  • Digital Input (DIN): Pins configured as DIN behave similarly to AIN. However, the measurement is binary, indicating either a Low or High value.

  • Analog and Digital Output (AOUT/DOUT): For these output configurations, a WRITE button accompanied by a textbox is presented. For AOUT, users can input a voltage value ranging from 0.0 V to 3.3 V. For DOUT, this textbox transforms into a dropdown list, offering either Low or High options.

  • Pulse Width Modulation (PWM): Pins with PWM capabilities allow users to modify both the duty cycle and frequency. Frequency can be adjusted from 750Hz to 80kHz via the provided textbox, while the duty cycle ranges from 0% to 100% (integer values only). It's important to note that IO0 and IO2 share a frequency setting, as do IO3 and IO4. Adjusting the frequency for one channel will also alter its corresponding channel.

Example

To better understand the user interface, let's walk through a simple example using the simulator:

  1. An analog READ operation on the IO0 pin yielded a result of 0.0 V.

  2. An analog WRITE operation was performed on the IO1 pin, setting its value to 1.0 V.

  3. A PWM WRITE was executed on the IO2 pin, with a frequency of 1950 Hz and a duty cycle set at 75%.

  4. A digital READ operation on the IO3 pin returned a value of High.

  5. A digital WRITE operation was conducted on the IO4 pin, selecting a Low value.

For all protocols, both READ and WRITE operations log their results in the Transactions Log.

Initial GPIO command panel for Supernova.
GPIO example for Nova.