Search found 143 matches

by gunar.kroeger
Wed Feb 19, 2020 2:34 pm
Forum: IDEs for ESP-IDF
Topic: [Solved] Help needed with VS code and Windows
Replies: 4
Views: 2532

[Solved] Help needed with VS code and Windows

I have installed all prerequisites and the extension through the marketplace, configured according to instructions there and started a project based on the blink example. When I build the project, I get a "Build Successfully" message. The 2 issues I have now are: 1- include errors detected vscode1.p...
by gunar.kroeger
Tue Feb 18, 2020 1:54 pm
Forum: ESP32 IDF
Topic: Watchdog timeout crash with bluetooth SPP
Replies: 0
Views: 342

Watchdog timeout crash with bluetooth SPP

After running bluetooth SPP for half an hour or so, we are getting this crash. We are sending requests and receiving replies from the esp32. IDF version is 3.3 Can anyone help me find the cause? Guru Meditation Error: Core 0 panic'ed (Interrupt wdt timeout on CPU0) Core 0 register dump: PC : 0x40088...
by gunar.kroeger
Wed Feb 12, 2020 5:02 pm
Forum: General Discussion
Topic: Using MCPWM periferal to generate desired pattern
Replies: 5
Views: 1498

Re: Using MCPWM periferal to generate desired pattern

It isn't. The PCB has already been fabricated. Honestly the docs for MCPWM were the most confusing yet. Like what the hell is a "compliment of rising edge delay"? For example, if I set the MCPWM_UP_DOWN_COUNTER, mcpwm_set_frequency sets double the value, and there are many other things like this in ...
by gunar.kroeger
Mon Feb 10, 2020 2:48 pm
Forum: General Discussion
Topic: Using MCPWM periferal to generate desired pattern
Replies: 5
Views: 1498

Re: RMT peripheral synchronized channels

Actually I still am not able to generate that signal. Could someone help me out? I don't understand how to configure the deadtime properly. static void mcpwm_example_gpio_initialize() { ESP_LOGI(TAG, "initializing mcpwm gpio...\n"); mcpwm_gpio_init(MCPWM_UNIT_0, MCPWM0A, pins.cp_ctrl_1); mcpwm_gpio_...
by gunar.kroeger
Mon Feb 03, 2020 4:12 pm
Forum: General Discussion
Topic: Lower ADC measurements on ESP32
Replies: 1
Views: 378

Re: Lower ADC measurements on ESP32

esp32 has a really bad and noisy adc. You can get multiple samples and get the moving mean value, if precision and sample rate are not that important, but you still would have to use an rail-to-rail OP amp to add a constant value and amplify the signal to get away from the lower minimum voltage limi...
by gunar.kroeger
Thu Jan 30, 2020 7:02 pm
Forum: General Discussion
Topic: How to use AT sockets?
Replies: 6
Views: 1227

Re: How to use AT sockets?

I made a separate thread about this, but did you get the set_working_mode() to work? While we have to use pppos, we must be able to change from data to command mode to quickly get rssi and other values. But it is not working with the example given using BG96. I am also failing trying with raising th...
by gunar.kroeger
Thu Jan 30, 2020 1:58 pm
Forum: General Discussion
Topic: Using MCPWM periferal to generate desired pattern
Replies: 5
Views: 1498

Re: RMT peripheral synchronized channels

I see there is a MCPWM component that is much better suited for this.
Still, for future applications this might be usefull to know.
by gunar.kroeger
Thu Jan 30, 2020 1:54 pm
Forum: General Discussion
Topic: How to pause PPPoS comunication to get RSSI
Replies: 0
Views: 311

How to pause PPPoS comunication to get RSSI

We are using the BG96 to connect to our server and exchange HTTPs packets with it every second. Using PPPoS we can't simultaneously ask for information like the signal strength (rssi) etc. For that, we would have to return to command mode. There are 2 ways: sending "+++" and waiting for a second, or...
by gunar.kroeger
Wed Jan 29, 2020 2:52 pm
Forum: General Discussion
Topic: How to use AT sockets?
Replies: 6
Views: 1227

Re: How to use AT sockets?

Upvoted.
We are still having issues with pppos disconnecting and not reconnecting afterwards, the sad thing is that we based our product on the ability to use GSM and now we can't reliably use it.
by gunar.kroeger
Mon Jan 27, 2020 8:58 pm
Forum: General Discussion
Topic: Using MCPWM periferal to generate desired pattern
Replies: 5
Views: 1498

Using MCPWM periferal to generate desired pattern

Hi all, We have to generate this pulse sequence on 2 pins: chargepump.pgn.png this sequence should be repeated indefinitely. What we are achieving is either another sequence being generated (1,0,1,0,0) or the correct sequence, but unsynchronized between the 2 channels. In this last case, every time ...

Go to advanced search