Due to high demand, expect some shipping delays at this time - orders may not ship for up to 2-3 business days.
0

Trellis Datasheet
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Trellis Datasheet

by Trainmaster2 on Sun Jan 23, 2022 7:24 am

I'm looking for a datasheet or list of commands for the Trellis board (Product ID: 1616). The store page sends me to the tutorial, but the tutorial doesn't seem to have the datasheet. A quick look through Google results didn't look promising, either. The only other thing I've thought of is digging through the Arduino library to find every command, and I'm willing to do that if it's the last option. Thanks in advance.

Trainmaster2
 
Posts: 4
Joined: Mon Oct 01, 2018 8:48 pm

Re: Trellis Datasheet

by dastels on Sun Jan 23, 2022 2:13 pm

There doesn't seem to be any. Looking at the examples in the repo https://github.com/adafruit/Adafruit_Trellis_Library/tree/master/examples are probably your best bet. I usually skip documentation and go directly to the code anyway... it's all you can fully trust.

Dave

dastels
 
Posts: 9742
Joined: Tue Oct 20, 2015 3:22 pm

Re: Trellis Datasheet

by Trainmaster2 on Sun Jan 23, 2022 11:29 pm

I realized that the Trellis boards are basically just premade circuit boards and silicon for the HT16K33, which does have a datasheet. I'll give another update later if there is anything to note after comparing the datasheet with the Arduino library, just in case someone else with the same issue finds this.

https://cdn-shop.adafruit.com/datasheets/ht16K33v110.pdf

Trainmaster2
 
Posts: 4
Joined: Mon Oct 01, 2018 8:48 pm

Re: Trellis Datasheet

by Trainmaster2 on Fri Jan 28, 2022 3:13 am

https://cdn-shop.adafruit.com/datasheets/ht16K33v110.pdf p.33

------------------------------

Display data Address pointer
The A# bits can be set from 0x0 to 0x7, but should be 0x0 to address all LEDs. The first nibble of the LED address refers to the byte the data will be in, the second nibble is the bit in that byte.


System setup
Works as written.

Key data Address pointer
The K# bits should all be zero. Need to read 6 bytes to clear interrupt, but only the first 4 have information on the buttons. The first nibble of the button address refers to the byte the data will be in, the second nibble is the bit in that byte.

INT flag Address pointer
Alternative to using interrupt pin, 0 is no interrupt, 255 is an interrupt.

Display setup
Works as written.

ROW/INT set
Works as written, but I’m not sure what “ROW driver output” means.

Dimming set
Works as written.

------------------------------

Interrupt Pin
If enabled, the interrupt pin will be set as long as any button is pressed.

LED Addresses
0x72, 0x67, 0x65, 0x64,
0x50, 0x51, 0x43, 0x44,
0x26, 0x33, 0x21, 0x20,
0x16, 0x15, 0x14, 0x02

Button Addresses
0x07, 0x04, 0x02, 0x22,
0x05, 0x06, 0x00, 0x01,
0x03, 0x10, 0x30, 0x21,
0x13, 0x12, 0x11, 0x31

Trainmaster2
 
Posts: 4
Joined: Mon Oct 01, 2018 8:48 pm

Please be positive and constructive with your questions and comments.