Search found 13 matches

by stoumk
Thu Jan 30, 2025 1:14 pm
Forum: Hardware
Topic: ESP32-P4-NANO High-performance Development Board
Replies: 3
Views: 3287

Re: ESP32-P4-NANO High-performance Development Board

What do you think, if you connect two OV5647 cameras in 1280x720px 60 fps gray 8bit mode, will it be possible to make a depth sensor at 60 fps or will there not be enough computing power?

It's a pity that there is only 32 MB of RAM.
by stoumk
Fri Sep 27, 2024 2:25 pm
Forum: ESP-IDF
Topic: operations in different cores influence each other if 1 of those writes to memory
Replies: 11
Views: 8070

Re: operations in different cores influence each other if 1 of those writes to memory

Oh. I have the same problem. How did you solve this problem?
by stoumk
Tue Mar 19, 2024 9:39 am
Forum: ESP-IDF
Topic: Change name final binary output file via CMakeLists
Replies: 1
Views: 788

Re: Change name final binary output file via CMakeLists

Alternatively, after compilation, you can copy the bin file with your own name.
viewtopic.php?f=13&t=11528&start=10#p47552
by stoumk
Mon Mar 18, 2024 5:20 pm
Forum: ESP-IDF
Topic: Change name final binary output file via CMakeLists
Replies: 1
Views: 788

Change name final binary output file via CMakeLists

project(myProject) creates the project itself, and specifies the project name. The project name is used for the final binary output files of the app - ie myProject.elf, myProject.bin.
How can I change the final binary output file to myNameFile.bin via CMakeLists?
by stoumk
Tue Aug 08, 2023 5:21 pm
Forum: Hardware
Topic: esp32 poweron reset
Replies: 5
Views: 7205

Re: esp32 poweron reset

What is the solution to the problem? I have the same problem, I don't know what to do.
WiFi/BLE disabled. ESP32E spontaneously calls POWERON_RESET after 5-50 seconds
by stoumk
Thu Jul 27, 2023 8:47 pm
Forum: General Discussion
Topic: attribute register or DRAM_ATTR
Replies: 10
Views: 4146

Re: attribute register or DRAM_ATTR

Indeed, the compiler optimizes.

Code: Untitled.c Select all


//global
volatile uint32_t start = 111;
volatile uint32_t start2 = 111;
volatile uint32_t startDiff = 111;
Now showing 16 ticks
by stoumk
Thu Jul 27, 2023 5:27 pm
Forum: General Discussion
Topic: attribute register or DRAM_ATTR
Replies: 10
Views: 4146

Re: attribute register or DRAM_ATTR

Thanks. I tried to take measurements in this way. In any case, I get 1 tick for different inputs to the formula.
start = XTHAL_GET_CCOUNT();
delay_us = (_baseDelay_ns - (uint32_t)((float)(_dT_us_first - _dT_us_current) *kefK)) /1000 ;
start2 = XTHAL_GET_CCOUNT();
startDiff = start2 - start ...
by stoumk
Tue Jul 25, 2023 7:09 pm
Forum: General Discussion
Topic: attribute register or DRAM_ATTR
Replies: 10
Views: 4146

Re: attribute register or DRAM_ATTR

line 104

#define GPIO_Set(x) REG_WRITE(GPIO_OUT_W1TS_REG, 1<<x)
#define GPIO_Clear(x) REG_WRITE(GPIO_OUT_W1TC_REG, 1<<x)
#define GPIO_IN_Read(x) REG_READ(GPIO_IN_REG) & (1 << x)
#define GPIO_IN_ReadAll() REG_READ(GPIO_IN_REG)
#define GPIO_IN_ReadAll2() REG_READ(GPIO_IN1_REG)

#define DEF_PIN ...
by stoumk
Tue Jul 25, 2023 4:53 am
Forum: General Discussion
Topic: attribute register or DRAM_ATTR
Replies: 10
Views: 4146

Re: attribute register or DRAM_ATTR

My goal: to get the fastest possible calculations
I measure the period of the pin, do the calculation and raise another pin.
by stoumk
Thu Jul 20, 2023 6:41 am
Forum: General Discussion
Topic: attribute register or DRAM_ATTR
Replies: 10
Views: 4146

attribute register or DRAM_ATTR

Code: Untitled.c Select all


register uint32_t var1 = 123;
DRAM_ATTR uint32_t var2 = 123;
IRAM_ATTR uint32_t var3 = 123;
I usually use "register", but in ESP32 do I need to use DRAM_ATTR to get the same effect?
Can I use IRAM_ATTR on variables or structures?

Go to advanced search