Search found 131 matches

by ESP_Dazz
Tue Oct 08, 2019 12:10 pm
Forum: ESP32 Arduino
Topic: ED Stripes with Button Interrupts strange behaviour
Replies: 4
Views: 139

Re: ED Stripes with Button Interrupts strange behaviour

Moderators Note: Moved to ESP32 Arduino forum
by ESP_Dazz
Tue Oct 08, 2019 8:21 am
Forum: General Discussion
Topic: Esp entering boot mode
Replies: 1
Views: 2469

Re: Esp entering boot mode

GPIO0 should be internally pulled up, so leaving the PIN floating usually isn't an issue. However, keep in mind the internal pull-ups are quite weak (45 K Ohms). Is GPIO0 left completely floating or is it connected to something else (e.g. PCB trace)? Does the issue still persist if you externally ap...
by ESP_Dazz
Tue Oct 08, 2019 7:30 am
Forum: ESP32 Arduino
Topic: Can bus issue , stuck messages
Replies: 6
Views: 287

Re: Can bus issue , stuck messages

I'm not too familiar with the MCP CAN controllers, but generally speaking, a CAN node that is transmitting a message will continuously repeat a message if it detects some form of error in the message it is trying to transmit (e.g. Bit, Form, CRC, and ACK errors). Depending on the error type, this ca...
by ESP_Dazz
Tue Oct 08, 2019 6:34 am
Forum: ESP32 Arduino
Topic: Using the official CAN driver with Arduino
Replies: 7
Views: 314

Re: Using the official CAN driver with Arduino

dmaxben wrote: Ive tried a bunch of different things, but cant get it to compile
Could explain what steps you have taken to port the driver over to Arduino, and also the compilation error log you are seeing.
by ESP_Dazz
Tue Oct 08, 2019 6:33 am
Forum: ESP32 IDF
Topic: portENTER_CRITICAL explaination
Replies: 1
Views: 115

Re: portENTER_CRITICAL explaination

The mux used in portENTER_CRITICAL is actually a spinlock. A spinlock is required in order to prevent multiple CPUs from accessing the same resource concurrently (e.g. a variable, struct, or set of registers). You can use a mutex spinlock as follows: #include <stdio.h> static portMUX_TYPE my_mutex; ...
by ESP_Dazz
Thu Sep 26, 2019 9:09 am
Forum: General Discussion
Topic: ESP_LOG giving a panic error
Replies: 7
Views: 223

Re: ESP_LOG giving a panic error

Code: Select all

xTaskCreate(&blink_task, "blink_task", configMINIMAL_STACK_SIZE, NULL, 1, NULL);
Try increasing your stack size (e.g. 4096).
by ESP_Dazz
Thu Sep 26, 2019 7:05 am
Forum: General Discussion
Topic: freeRTOS / Default Events/Tasks Clarification please....
Replies: 9
Views: 292

Re: freeRTOS / Default Events/Tasks Clarification please....

Can someone give me a point in the right direction on the documentation that explains how and where the initial default tasks are being started -- and the where the scheduler is being started in a default sample project? An application's entry point is the app_main() function which is run from a ma...
by ESP_Dazz
Thu Sep 19, 2019 4:01 pm
Forum: ESP32 IDF
Topic: Timer divider and frequency
Replies: 5
Views: 317

Re: Timer divider and frequency

Does it mean I can have the timer ticking at 40MHz? Yep, just set the divider to 2 Except 0 (obviously), but also 1. Why can it not be 1? Because of the division operation or some other cost involved in prescaling the clock? It's a hardware limitation. A Timer's internal logic operates according to...
by ESP_Dazz
Mon Sep 16, 2019 11:58 am
Forum: General Discussion
Topic: make: *** No rule to make target '//Makefile'. Stop.
Replies: 1
Views: 107

Re: make: *** No rule to make target '//Makefile'. Stop.

Please check if you have properly defined your IOT_SOLUTION_PATH via the following command:

Code: Select all

printenv IOT_SOLUTION_PATH
If not, please set your IOT_SOLUTION_PATH according to the instructions stated here.
by ESP_Dazz
Thu Sep 12, 2019 2:27 pm
Forum: ESP32 Arduino
Topic: Software Timer using xTimerCreate runs 33% slow
Replies: 1
Views: 348

Re: Software Timer using xTimerCreate runs 33% slow

Some points to consider How are you actually measuring the duration of your timer? The timer doesn't start until xTimerStart() returns, and xTimerStart() has a possibility of being blocked if the timer's internal command queue is full. The timer callback could be delayed in running if there is some...

Go to advanced search