Search found 10 matches

by embedded-creations
Sun Mar 24, 2019 11:58 pm
Forum: Showcase
Topic: I2S-parallel example: Drive a 64x32 display
Replies: 60
Views: 35220

Re: I2S-parallel example: Drive a 64x32 display

Take a look at the "Hardware" section in the README, and the schematic that's included in that repo. Short answer is the address lines are stored in an external flip flop chip, so some of the RGB lines are used for both RGB data and address data.
by embedded-creations
Tue Oct 23, 2018 11:14 am
Forum: Showcase
Topic: I2S-parallel example: Drive a 64x32 display
Replies: 60
Views: 35220

Re: I2S-parallel example: Drive a 64x32 display

all that needs to change is set the DMA mode to 8 bit
Make sure that you make all the changes needed to put the DMA in 8 bit mode, they're all in that commit, but changes are made in several places.
by embedded-creations
Thu Oct 18, 2018 12:51 pm
Forum: Showcase
Topic: I2S-parallel example: Drive a 64x32 display
Replies: 60
Views: 35220

Re: I2S-parallel example: Drive a 64x32 display

The link you quoted is to a commit in my project code repository, so you're close. This is the full project code:

https://github.com/pixelmatix/SmartMatrix/tree/teensylc
by embedded-creations
Thu May 17, 2018 11:09 am
Forum: Showcase
Topic: I2S-parallel example: Drive a 64x32 display
Replies: 60
Views: 35220

Re: I2S-parallel example: Drive a 64x32 display

I got I2S Parallel working in 8-bit mode so the SmartMatrix Library can refresh the panel with I2S data stored in uint8_t instead of uint16_t, cutting the RAM needed to hold the refresh buffer in half. I made the modifications inside SmartMatrix Library and not Sprite_TM's I2S Parallel example, but ...
by embedded-creations
Fri Apr 20, 2018 8:57 am
Forum: Showcase
Topic: I2S-parallel example: Drive a 64x32 display
Replies: 60
Views: 35220

Re: I2S-parallel example: Drive a 64x32 display

I have the SmartMatrix Library ESP32 port far enough along that other people can start using it. I'm able to do up to 48-bit color refresh while keeping the refresh rate high. Here's a demo video showing refreshing a 64x32 panel with 36-bit color, >120Hz refresh (I think it's around 200Hz), and gene...
by embedded-creations
Wed Mar 28, 2018 12:28 pm
Forum: Showcase
Topic: I2S-parallel example: Drive a 64x32 display
Replies: 60
Views: 35220

Re: I2S-parallel example: Drive a 64x32 display

Hi, my name's Louis, and I designed the SmartMatrix Shield for Teensy and wrote the SmartMatrix Library which was originally designed to make it easy to add a HUB75 matrix panel to a Teensy Arduino sketch . I've been wanting to add support for a platform with WiFi capability to the SmartMatrix Libra...
by embedded-creations
Wed Mar 28, 2018 11:41 am
Forum: Showcase
Topic: I2S-parallel example: Drive a 64x32 display
Replies: 60
Views: 35220

Re: I2S-parallel example: Drive a 64x32 display

It looks like the code was only tested on I2S1. Search I2S_Parallel for //Because of... reasons... the 16-bit values for i2s1 appear on d8...d23 I2S0 seems to have the same issue. You can copy the code block that changes the base and apply it to I2S0 as well: if (dev==&I2S0) { sig_clk=I2S0O_WS_OUT_I...
by embedded-creations
Tue Feb 27, 2018 3:44 pm
Forum: General Discussion
Topic: How to connect GPIO output with peripheral input - single pin
Replies: 3
Views: 958

Re: How to connect GPIO output with peripheral input - single pin

I figured it out after stumbling across the GPIO_MODE_INPUT_OUTPUT definition in some code. It's not as easy as calling gpio_set_direction(GPIO_NUM_12, GPIO_MODE_INPUT_OUTPUT) as gpio_set_direction doesn't handle GPIO_MODE_INPUT_OUTPUT properly. It does seem to work when calling gpio_config() with t...
by embedded-creations
Sat Feb 24, 2018 9:18 am
Forum: General Discussion
Topic: How to connect GPIO output with peripheral input - single pin
Replies: 3
Views: 958

Re: How to connect GPIO output with peripheral input - single pin

WiFive wrote:Shouldn't it be

Code: Select all

PIN_INPUT_ENABLE(GPIO_PIN_MUX_REG[12]);
gpio_matrix_in(12, PWM0_SYNC0_IN_IDX, false);   
Thanks, but GPIO_SYNC0_IN is #defined to 12 in my code for the SYNC_PIN_SOURCE_INTERNAL test, so my code is effectively the same as what you suggested.
by embedded-creations
Fri Feb 23, 2018 1:57 pm
Forum: General Discussion
Topic: How to connect GPIO output with peripheral input - single pin
Replies: 3
Views: 958

How to connect GPIO output with peripheral input - single pin

I have a GPIO output driving an external chip that I would like to connect to a MCPWM timer sync input, without using an extra pin. I haven't been able to get this to work, but ESP_Sprite's comment from this thread gives me hope: Are all pin uses mutually exclusive or may some be overlapped during u...

Go to advanced search