Search found 13 matches

by embedded-creations
Thu Dec 17, 2020 11:46 am
Forum: ESP-IDF
Topic: I2S Rx in Slave mode
Replies: 3
Views: 4501

Re: I2S Rx in Slave mode

I'm looking for working I2S Slave example code and striking out... I found this on another thread, not sure if it's accurate or if there's a workaround, but at least it's some information: ESP32's I2S interface has problem in slave mode. It use its internal clock to clock the state machine, when the...
by embedded-creations
Thu Dec 17, 2020 11:40 am
Forum: ESP-ADF
Topic: I2S Slave mode with external MCLK
Replies: 6
Views: 12007

Re: I2S Slave mode with external MCLK

I'm looking for working I2S Slave example code and striking out... My guess on your issue is that you're trying to clock the data out too fast. I think ESP32 GPIO can only handle around 7MHz (I don't have the figure handy), unless you're using a special pin mapped directly to a peripheral. Have you ...
by embedded-creations
Thu Dec 17, 2020 11:02 am
Forum: General Discussion
Topic: Anyone knows how to use I2S in Master Rx in LCD mode
Replies: 5
Views: 8869

Re: Anyone knows how to use I2S in Master Rx in LCD mode

I have an Arduino sketch that receives 1-bit serial data (received as parallel) or up to 8-bit parallel data with an external clock, and it works receiving a continuous stream of data using DMA. The details are in the i2s_in.* files, but unfortunately aren't well commented. I found a series of confi...
by embedded-creations
Sun Mar 24, 2019 11:58 pm
Forum: Showcase
Topic: I2S-parallel example: Drive a 64x32 display
Replies: 61
Views: 280394

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: 61
Views: 280394

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: 61
Views: 280394

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: 61
Views: 280394

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: 61
Views: 280394

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: 61
Views: 280394

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: 61
Views: 280394

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...