Search found 208 matches

by f.h-f.s.
Thu Jul 05, 2018 12:04 pm
Forum: General Discussion
Topic: nvs_get_u32 keeps returning "ESP_ERR_NVS_NOT_FOUND"
Replies: 8
Views: 1966

Re: nvs_get_u32 keeps returning "ESP_ERR_NVS_NOT_FOUND"

Also try a "make erase_flash" to start clean, and re-flash your program.
by f.h-f.s.
Thu Jul 05, 2018 10:21 am
Forum: ESP32 IDF
Topic: openssl certs in ESP32
Replies: 1
Views: 583

Re: openssl certs in ESP32

In this example there is no certificate to be verified. You can print the received certificates by enabling debug for openssl/mbedtls ( this will print ALOT of information )
by f.h-f.s.
Tue Jun 26, 2018 9:28 pm
Forum: Hardware
Topic: AFE4300 Weight
Replies: 9
Views: 2321

Re: AFE4300 Weight

I'm missing the logicdata for the arduino project(miso always 0 in these files), and missing the RST pin(although the code looks good for resetting). I also noticed SCLK is at 2mhz, but your code does specify 1mhz for the clock frequency. Can you try halving 1mhz to 500khz? What I said about the RDY...
by f.h-f.s.
Tue Jun 26, 2018 10:58 am
Forum: Hardware
Topic: AFE4300 Weight
Replies: 9
Views: 2321

Re: AFE4300 Weight

The RDY signal asserts when a byte is received and de-asserts when a byte has been processed. Can you show me what this signal is doing in the case of arduino and esp-idf? In each case watch the signals STE(CS),SCLK(CLK),SDIN(MOSI),SDOUT(MISO), RDY, RST. I would like to see the signal from startup u...
by f.h-f.s.
Tue Jun 26, 2018 7:32 am
Forum: Hardware
Topic: AFE4300 Weight
Replies: 9
Views: 2321

Re: AFE4300 Weight

What I am noticing is that your command bytes are sent right after each other. Try adding a delay in between them? See page 22 of that datasheet, it states you need to have a delay of 8us in between your commands. It actually tells you exactly how the signal should look.

Goodluck!
by f.h-f.s.
Fri Jun 15, 2018 10:10 am
Forum: Hardware
Topic: AFE4300 Weight
Replies: 9
Views: 2321

Re: AFE4300 Weight

You may drive the CS as a normal GPIO, letting the SPI Driver handle that is possible too. Or just tie it to the ground as the datasheet also mentions(page 21). I would start with trying to read the registers in the AFE4300. The datasheet contains the default values for these registers. If you can c...
by f.h-f.s.
Wed Jun 06, 2018 12:07 pm
Forum: General Discussion
Topic: Esp Wroom32 Size Partition
Replies: 1
Views: 581

Re: Esp Wroom32 Size Partition

It depends on your .bin file size. You can check the size of your program by checking the "MyProject.bin" file in your build folder. Running "make size" also works.

If say your total image size is smaller than 1mb you can shrink it by specifying a custom partition table in "make menuconfig"
by f.h-f.s.
Mon Jun 04, 2018 7:59 am
Forum: ESP32 IDF
Topic: Ways to remove ble bonding Info
Replies: 4
Views: 1666

Re: Ways to remove ble bonding Info

This info is stored in the nvs flash

try bta_gattc_co_cache_reset() https://github.com/espressif/esp-idf/se ... eset&type=

Go to advanced search