Search found 13 matches

by YvesDS
Wed Dec 26, 2018 6:48 am
Forum: ESP32 Arduino
Topic: HardwareSerial question
Replies: 4
Views: 2934

Re: HardwareSerial question

Serial1.setRxBufferSize(1024); Thanks guys, will try that first and see if it helps me ! edit : i was more looking for a method of increasing the TX in one way or another. My ESP32 has no realy needed data coming back from the other device, i would only need a slightly bigger TX buffer, so i don't ...
by YvesDS
Sun Dec 23, 2018 10:39 am
Forum: ESP32 Arduino
Topic: HardwareSerial question
Replies: 4
Views: 2934

HardwareSerial question

Hi to everyone! I have a simple question : On a other (dutch) forum, someone told me that HardwareSerial uses a buffer and interrupts to do the communication with other hardware. Is that correct? If a buffer is used, would that then mean that when a different, external interrupt is triggered, the bu...
by YvesDS
Fri May 25, 2018 3:52 pm
Forum: ESP32 Arduino
Topic: is it possible to work with 2 setup() functions and 2 loop() within the ESP32-Arduino enviroment
Replies: 10
Views: 4040

Re: is it possible to work with 2 setup() functions and 2 loop() within the ESP32-Arduino enviroment

Hi chegewara, Two loop functions is not an issue, you can create one or two tasks and run your code in that tasks. Now is the question, why do you need two setup functions? Well the issue for me is that i am building a chronometer for dogsports, but since the dogs run against eachother on two separa...
by YvesDS
Fri May 25, 2018 11:35 am
Forum: ESP32 Arduino
Topic: is it possible to work with 2 setup() functions and 2 loop() within the ESP32-Arduino enviroment
Replies: 10
Views: 4040

is it possible to work with 2 setup() functions and 2 loop() within the ESP32-Arduino enviroment

Hi all, maybe a very,very silly question, but anyway here i go ... Does anyone have a idea on using 1x ESP32 but using both cores with 2 separate programs in each one running arduino code so one would need 2 void setup() and 2 void loop() functions... at first there is no need of data to travel betw...
by YvesDS
Wed Nov 01, 2017 9:04 pm
Forum: ESP32 Arduino
Topic: How can i use the ESP_INTR_ALLOC() function to pin a interrupt and it's ISR to a specific core?
Replies: 1
Views: 1357

How can i use the ESP_INTR_ALLOC() function to pin a interrupt and it's ISR to a specific core?

Hi,

How can I use the "ESP_INTR_ALLOC() API to pin a interrupt to a specific core, and can i be sure that the ISR function would be on the same core?

I can nowhere find a example for this question
Grtz,
Yves
by YvesDS
Sun Oct 22, 2017 11:53 am
Forum: ESP32 Arduino
Topic: simple beginners questions about ESP32 - Arduino
Replies: 5
Views: 4112

Re: simple beginners questions about ESP32 - Arduino

Please re-read the first error message. It tells you exactly what the error is. Now if you look to see why the compiler wants to convert 'void (*)(void*)' to 'void (*)()', you will notice that attachInterrupt() requires a pointer to a function that returns nothing and takes NO ARGUMENTS. You are su...
by YvesDS
Sat Oct 21, 2017 12:51 pm
Forum: General Discussion
Topic: Can i create a ISR or interrupt and let that be pinned to a core?
Replies: 4
Views: 1836

Re: Can i create a ISR or interrupt and let that be pinned to a core?

Hi WiFive, read the article, seems very interesting. Allocating an external interrupt will always allocate it on the core that does the allocation. https://esp-idf.readthedocs.io/en/latest/api-reference/system/intr_alloc.html Can anyone point me to a example? Just googled for a sort of hands on, but...
by YvesDS
Fri Oct 20, 2017 7:31 pm
Forum: General Discussion
Topic: Can i create a ISR or interrupt and let that be pinned to a core?
Replies: 4
Views: 1836

Can i create a ISR or interrupt and let that be pinned to a core?

Hi, Is it possible to pin a interrupt routine to one of the two cores (or a ISR function pinned to one of the cores)? The goal is to let some logic be done by one core (trapping external interrupts from eg. a pushbutton) and send a timestamp and some other data to the other core where it can be proc...
by YvesDS
Fri Oct 13, 2017 6:34 pm
Forum: ESP32 Arduino
Topic: simple beginners questions about ESP32 - Arduino
Replies: 5
Views: 4112

simple beginners questions about ESP32 - Arduino

Hi all, i have some simple questions about ESP32 programming in Arduino : My setup : Windows 7, Arduino IDE with latest ESP32 toolchain installed, NodeMCU-32S board, 80Mhz,921600, COM4 The esp32 has two cores, one can assign a task to either one of the cores. I would like to do some logic on one cor...
by YvesDS
Wed Oct 11, 2017 6:44 am
Forum: ESP32 IDF
Topic: Newbie on ESP32 and FreeRTOS
Replies: 5
Views: 3633

Re: Newbie on ESP32 and FreeRTOS

Hi,

Great!!
Back to studying now :D

If i achieve something good, should i post it here? Or start a different thread?
Is there no such thing as a 'absolute beginners forum' where we can post things we try and then get some do and dont's from the pro's?

Anyway thanks a lot for this help
Grtz, Yves

Go to advanced search