Search found 49 matches

by preetam
Fri Apr 07, 2017 11:36 am
Forum: General Discussion
Topic: Task watchdog triggered after continues i2c burst reads
Replies: 3
Views: 6324

Task watchdog triggered after continues i2c burst reads

Hi Team, i am working on sparkfun MAX10305 with sparkfun esp32. Below is the pseudo code which i am running in a task void taskname(void *pvParameter){ check the part id and revision id // i2c writes and reads setup max10305 // 6 i2c writes // loop while(1){ vTaskDelay(1000/ portTICK_PERIOD_MS); 1. ...
by preetam
Thu Mar 16, 2017 5:27 pm
Forum: General Discussion
Topic: make monitor not working on windows
Replies: 15
Views: 23042

Re: make monitor not working on windows

Hi Rudi,

Thank you for the suggestion.
did try to install winpty for msys32

Now i get a new error

Code: Select all

$ make monitor
MONITOR
C:/winpty/bin/winpty.exe: error while loading shared libraries: msys-1.0.dll: cannot open shared object file: No such file or directory
by preetam
Thu Mar 16, 2017 2:56 pm
Forum: General Discussion
Topic: Reading 16bit BME280 using I2C
Replies: 4
Views: 9752

Re: Reading 16bit BME280 using I2C

Thank you for the reply.
will surely check on this and also on logic analyzer.

Regards
Paul
by preetam
Thu Mar 16, 2017 2:06 pm
Forum: General Discussion
Topic: Reading 16bit BME280 using I2C
Replies: 4
Views: 9752

Reading 16bit BME280 using I2C

Hi, I am trying to read 16bit from register on BME280 using esp idf i2c api's till now i did the following uint8_t coe11,coe21; uint8_t* coe1=&coe11; uint8_t* coe2=&coe21; int cmd = i2c_cmd_link_create(); i2c_master_start(cmd); i2c_master_write_byte(cmd, BME280_ADDRESS << 1 | WRITE_BIT, ACK_CHECK_EN...
by preetam
Thu Mar 16, 2017 1:59 pm
Forum: General Discussion
Topic: make monitor not working on windows
Replies: 15
Views: 23042

Re: make monitor not working on windows

here is the error

Code: Select all

$ make monitor
MONITOR
/bin/sh: winpty: command not found.
make: *** [~/ESP32/esp-idf/components/esptool_py/Makefile.projbuild:92: monitor] error 127
by preetam
Thu Mar 16, 2017 1:44 pm
Forum: General Discussion
Topic: make monitor not working on windows
Replies: 15
Views: 23042

make monitor not working on windows

Hi Team,

i have the latest esp-idf , just cloned few minutes ago.
when i try to run make monitor , it is no where to be found

Could you resolve this soon.

Thank you
Paul
by preetam
Wed Mar 15, 2017 12:39 pm
Forum: ESP-IDF
Topic: I2C Pins.
Replies: 8
Views: 51679

Re: I2C Pins.

I think 21,22 work with arduino.

for esp-idf there is an example at https://github.com/espressif/esp-idf/tr ... herals/i2c
by preetam
Wed Mar 15, 2017 11:38 am
Forum: ESP-IDF
Topic: change dnsName
Replies: 12
Views: 23736

Re: change dnsName

yes using avahi it would be fast. but on esp32 it would demand time using mdns_query api

Thank you
Paul
by preetam
Wed Mar 15, 2017 10:05 am
Forum: ESP-IDF
Topic: change dnsName
Replies: 12
Views: 23736

Re: change dnsName

Thank you for the information. I did follow an example from https://github.com/espressif/arduino-esp32/blob/master/libraries/WiFi/examples/WiFiIPv6/WiFiIPv6.ino#L78 and changed the same in the event handler switch(event->event_id) { case SYSTEM_EVENT_STA_START: ESP_ERROR_CHECK(tcpip_adapter_set_host...
by preetam
Mon Mar 13, 2017 5:12 pm
Forum: ESP-IDF
Topic: change dnsName
Replies: 12
Views: 23736

Re: change dnsName

Hi, I tried setting the hostname as below with different options. tcpip_adapter_set_hostname(TCPIP_ADAPTER_IF_STA, "testing"); 1. After initializing the tcp adapter. 2.Before initializing the tcp adapter. 3. After starting the wifi and before starting the wifi. I am still seeing espressif in my rout...