Search found 19 matches

by GolamMostafa
Tue Sep 05, 2023 8:01 am
Forum: ESP32 Arduino
Topic: How does FreeRTOS allocate more service time (CPU cycles) to higher priority level task?
Replies: 3
Views: 2454

Re: How does FreeRTOS allocate more service time (CPU cycles) to higher priority level task?

I have prepared and tested the following three tasks sketch that blinks three LEDs concurrently at different blink rates. Are there anything exaggerate particulalry on the definition of Tick Time and Time Slice (Fig-2)? Schematic: esp32-3led.png Figure-1 Task State Diagram: taskStateDiag.png Figure-...
by GolamMostafa
Tue Sep 05, 2023 4:39 am
Forum: Hardware
Topic: Memory Structure of LX6 Processor and ESP32 Board
Replies: 14
Views: 5544

Re: Memory Structure of LX6 Processor and ESP32 Board

If the cache is full, the least recently used block will be overwritten. (Note a block here would be one cache line which is 64 bytes.) Q1: By that cache, are you referring to I-Cache of the Core 0 which is 8 KB (Fig-1)? So, far I know that there is no cache memory outside the Core0/MPU0. Q2: In Fi...
by GolamMostafa
Mon Sep 04, 2023 1:44 pm
Forum: Hardware
Topic: UART1(RX1, TX1) Port is re-routable to UART1(5, 18); do you recommend it?
Replies: 2
Views: 3174

Re: UART1(RX1, TX1) Port is re-routable to UART1(5, 18); do you recommend it?

It is 30-pin ESP32 Board and comes as ESP32 Dev Module in Boards List. At the back of the board, there is a laser engraving: ESP32S. The propsed UAR1(5, 18) communicates well with UART2(16, 17) of another ESP32S.

Thank you for the answer.
by GolamMostafa
Mon Sep 04, 2023 1:20 pm
Forum: Hardware
Topic: Memory Structure of LX6 Processor and ESP32 Board
Replies: 14
Views: 5544

Re: Memory Structure of LX6 Processor and ESP32 Board

Q1: The Mask ROM of Fig-1 contains a Boot Loader with which the Arduino IDE's uploader is compatible. It is because Espressif has an agreement with arduino.cc Company? Q2: Assume that size of a sketch (application + FreeRTOS) is larger than the comined size of IRAM of Core0 + RAM of ESP32 but less ...
by GolamMostafa
Mon Sep 04, 2023 9:34 am
Forum: Hardware
Topic: UART1(RX1, TX1) Port is re-routable to UART1(5, 18); do you recommend it?
Replies: 2
Views: 3174

UART1(RX1, TX1) Port is re-routable to UART1(5, 18); do you recommend it?

In the pinout diagram of my 30-pin ESP32 Dev Module, only UART2 Port is free. I need to use UART1 Port. Data sheet shows that the IO lines of this port are associated with physical pin-28/29 (GPIO9/10) of ESP32 MCU). Currently, PPin-28/29 of ESP32 MCU are engaged with flash memory. The following cod...
by GolamMostafa
Sun Aug 27, 2023 2:55 pm
Forum: ESP32 Arduino
Topic: How does FreeRTOS allocate more service time (CPU cycles) to higher priority level task?
Replies: 3
Views: 2454

How does FreeRTOS allocate more service time (CPU cycles) to higher priority level task?

I have been experimenting with the following setup (Fig-1) and the sketch to understand the mechanism of FreeRTOS in allocating more time to Task11 (with higher priority level 2) than Tasks10 with priority level 1. Would appreciate you explain this mechanism. Sketch: TaskHandle_t Task10Handle; TaskH...
by GolamMostafa
Sat Aug 26, 2023 5:35 am
Forum: Hardware
Topic: Memory Structure of LX6 Processor and ESP32 Board
Replies: 14
Views: 5544

Re: Memory Structure of LX6 Processor and ESP32 Board

Thanks for the answer. In fact,

I wished to know if there is any internal cache inside the ESP32 (apart from external 4 MB flash memory and the memory block of the cores).
by GolamMostafa
Fri Aug 25, 2023 2:53 pm
Forum: Hardware
Topic: Memory Structure of LX6 Processor and ESP32 Board
Replies: 14
Views: 5544

Re: Memory Structure of LX6 Processor and ESP32 Board

With reference to the attached diagram (Fig-1, given below), I would like to know, if there is any cache memory that Espressif has installed along with their Mask ROM, RAM, and RTC memory? If yes, how much its capacity and what kind of interface is used to access it (SPI, I2C, UART, ..)? ESP32Memory...
by GolamMostafa
Mon Aug 14, 2023 11:28 am
Forum: Hardware
Topic: How much DC Voltage can be applied at VIN-pin of ESP32 Dev Module?
Replies: 3
Views: 6117

Re: How much DC Voltage can be applied at VIN-pin of ESP32 Dev Module?

Source: 20/40mA

Does above mean --
20 mA continuous rating at 3.3V ?
40 mA means what?