Highway09a Ic Datasheet

| Symbol | Parameter | Conditions | Min | Typ | Max | Unit | |--------|--------------------------|--------------------------|------|-----|------|------| | VOS | Input offset voltage | | –0.5 | ±0.1| 0.5 | mV | | IB | Input bias current | | – | 10 | 50 | pA | | CMRR | Common-mode rejection | VCM = 0V to 5V | 80 | 95 | – | dB | | PSRR | Power supply rejection | VS = 2.7V to 36V | 85 | 100 | – | dB | | AOL | Open-loop gain | RL = 2 kΩ | 100 | 120 | – | dB | | ISC | Output short-circuit current | Sinking/sourcing | ±30 | ±50 | – | mA | | SR | Slew rate | G = +1, 2V step | – | 5 | – | V/µs | | GBW | Gain-bandwidth product | CL = 20 pF | – | 10 | – | MHz | | VOH | Output voltage high | RL = 2 kΩ to V–/2 | 4.95 | 4.99| – | V | | VOL | Output voltage low | RL = 2 kΩ to V+/2 | – | 0.01| 0.05 | V |

| Parameter | Value | |-----------|-------| | Supply voltage | 2.4V – 5.5V | | I²C address | 0x58 (default, configurable) | | I/O channels | 16 (P00–P07, P10–P17) | | Interrupt output | Yes (active low, open-drain) | | Output type | Push-pull or open-drain | | LED modes | Constant current sink (up to 25mA per channel) | | Special effects | 256-step PWM dimming, breath effect |

#include <Wire.h>

#define AW9523_ADDR 0x58

void setup() Wire.begin(); // Set all pins as output Wire.beginTransmission(AW9523_ADDR); Wire.write(0x04); // Config port 0 Wire.write(0x00); Wire.write(0x05); // Config port 1 Wire.write(0x00); Wire.endTransmission(); highway09a ic datasheet

// Write all pins high Wire.beginTransmission(AW9523_ADDR); Wire.write(0x02); // Output port 0 Wire.write(0xFF); Wire.write(0x03); // Output port 1 Wire.write(0xFF); Wire.endTransmission();

void loop() // Toggle all pins every second delay(1000); Wire.beginTransmission(AW9523_ADDR); Wire.write(0x02); Wire.write(0x00); Wire.write(0x03); Wire.write(0x00); Wire.endTransmission(); delay(1000); Wire.beginTransmission(AW9523_ADDR); Wire.write(0x02); Wire.write(0xFF); Wire.write(0x03); Wire.write(0xFF); Wire.endTransmission();

Below are the stress limits. Exceeding these may permanently damage the IC.

| Parameter | Min | Max | Unit | |-------------------------|----------|----------|-------| | Supply Voltage (VCC) | -0.3 | +7.0 | V | | Bus Pins (A/B or CANH/L)| -60 | +60 | V | | Logic Pins (R, D, RE, DE)| -0.3 | VCC+0.3 | V | | Junction Temperature | -40 | +150 | °C | | Storage Temperature | -65 | +150 | °C |

Caution: Continuous operation near maximum ratings is not recommended. | Symbol | Parameter | Conditions | Min


| Orderable Device | Temperature Range | Package | Marking | |----------------------|------------------|----------------|---------| | Highway09ADR | –40 to +125°C | SOIC-8 (Reel) | H09A | | Highway09APWR | –40 to +125°C | TSSOP-8 (Reel) | H09A | | Highway09ADGNR | –40 to +125°C | DFN-8 (Reel) | H09A |

Purpose: Monitor current in an automotive load (e.g., lamp or motor) without introducing ground disturbance.

| Problem | Likely Cause | Solution | |-----------------------|---------------------------------------|---------------------------------------------| | No communication | RE/DE pins floating or incorrect | Pull RE to GND, DE to VCC for always-on RX | | Low signal on bus | Missing termination resistors | Add 120Ω across A/B or CANH/L near IC | | Intermittent data | Long stub or poor grounding | Shorten stubs; improve GND connection | | Overheating IC | Bus shorted to VCC or GND | Check for wiring faults; enable thermal shutdown | | Wrong logic levels | VCC = 3.3V but logic pins driven by 5V| Use level shifter or select 3.3V-compatible variant | void loop() // Toggle all pins every second


Use the 16 pins to drive a 4×4 LED matrix or 8 buttons + 8 LEDs. The constant current sink eliminates external resistors for LEDs.