Search found 7 matches
- Fri Jul 19, 2024 8:01 pm
- Forum: ESP-IDF
- Topic: ESP32-S3 reading INMP441 micorphone data by i2s incorrect
- Replies: 0
- Views: 903
ESP32-S3 reading INMP441 micorphone data by i2s incorrect
The IDF version I am currently using is 5.1.2 . The inmP441 microphone is a MEMS microphone that can directly output audio data in i2s format. Therefore, I plan to set up ESP32s3 as the host to obtain i2s data from the microphone. The microphone supports 24 bit bit wide data output, and the data I ...
- Wed May 04, 2022 12:08 pm
- Forum: General Discussion
- Topic: (C) ESP32 SPI Master drive SK68(RGB LED)
- Replies: 10
- Views: 5353
Re: (C) ESP32 SPI Master drive SK68(RGB LED)
For that driver, yes, the readme and the comments in the headers are what you want. In general, ESP-IDF has pretty good documentation (most of it is also in Chinese if that's easier for you) but I don't think we have a book you can read from back to front to understand the entirety of ESP-IDF... al...
- Wed May 04, 2022 10:10 am
- Forum: General Discussion
- Topic: (C) ESP32 SPI Master drive SK68(RGB LED)
- Replies: 10
- Views: 5353
Re: (C) ESP32 SPI Master drive SK68(RGB LED)
Your code always runs in a task, the main task is simply started inside ESP-IDF. You can change its stack allocation using menuconfig: Component config → ESP System Settings -> main task stack size. Also note that it's more common to drive WS2811 leds and their clones using RMT - ESP-IDF comes with...
- Wed May 04, 2022 7:31 am
- Forum: General Discussion
- Topic: (C) ESP32 SPI Master drive SK68(RGB LED)
- Replies: 10
- Views: 5353
Re: (C) ESP32 SPI Master drive SK68(RGB LED)
Are you allocating the data array on the stack? If so, it may be overflowing that stack. Either increase the stack size of your main task, or use malloc()/free() to allocate/deallocate the buffer. Good news: It's worked! though it still weird that I don't use a task to excute the spi mission(you me...
- Tue May 03, 2022 11:58 am
- Forum: General Discussion
- Topic: (C) ESP32 SPI Master drive SK68(RGB LED)
- Replies: 10
- Views: 5353
Re: (C) ESP32 SPI Master drive SK68(RGB LED)
sorry that I don't get it, but it requires at least a continuous 80us level to as a reset signal, bunch of 0 seems can't reach it. also I tried to release the SPI Bus then reset the GPIO(MOSI) and pull it down, this action will cost few ms to finish it so this can't be possible. Why not? At 10MHz, ...
- Tue May 03, 2022 6:09 am
- Forum: General Discussion
- Topic: (C) ESP32 SPI Master drive SK68(RGB LED)
- Replies: 10
- Views: 5353
Re: (C) ESP32 SPI Master drive SK68(RGB LED)
Easiest way is to add a bunch of 0 bytes at the end of your SPI transaction. sorry that I don't get it, but it requires at least a continuous 80us level to as a reset signal, bunch of 0 seems can't reach it. also I tried to release the SPI Bus then reset the GPIO(MOSI) and pull it down, this action...
- Tue May 03, 2022 4:34 am
- Forum: General Discussion
- Topic: (C) ESP32 SPI Master drive SK68(RGB LED)
- Replies: 10
- Views: 5353
(C) ESP32 SPI Master drive SK68(RGB LED)
I'm tring to use ESP32-S3 SPI to drive SK68 (which is a RGB LED) ,this led requires pulldown the signal transmission pin 80 us after once transmission (PS: pin also trgging at Microsecond level so I want to use SPI), But I can't find a way to set the SPI MOSI Pin..... and here is my code: sure there...