Search found 16 matches

by edo76mal
Wed Jun 18, 2025 6:47 pm
Forum: General Discussion
Topic: sp32s3 - I2C transaction unexpected nack detected
Replies: 12
Views: 7110

Re: sp32s3 - I2C transaction unexpected nack detected

I'm sure address in rigth.... with older version it runs. So, changeing only i2c master, it has problems. No hardware changes. No address changes
by edo76mal
Wed Jun 18, 2025 4:23 pm
Forum: General Discussion
Topic: sp32s3 - I2C transaction unexpected nack detected
Replies: 12
Views: 7110

Re: sp32s3 - I2C transaction unexpected nack detected

I have a working project. Simply I changed esp-idf library. from i2c.c to i2c_master. The first (deprecated) works, the last not. The address is rigth. There is something in new library that introduces bugs.
by edo76mal
Wed Jun 18, 2025 4:05 pm
Forum: ESP-IDF
Topic: I2C problem with BH1750
Replies: 4
Views: 252

Re: I2C problem with BH1750

Atteched sample projecdt with problem
by edo76mal
Wed Jun 18, 2025 3:37 pm
Forum: General Discussion
Topic: sp32s3 - I2C transaction unexpected nack detected
Replies: 12
Views: 7110

Re: sp32s3 - I2C transaction unexpected nack detected

@ eriksl

I attached my sample project.
by edo76mal
Wed Jun 18, 2025 1:31 pm
Forum: ESP-IDF
Topic: I2C problem with BH1750
Replies: 4
Views: 252

Re: I2C problem with BH1750

@MicroController

It doesn't work.
by edo76mal
Wed Jun 18, 2025 10:08 am
Forum: General Discussion
Topic: sp32s3 - I2C transaction unexpected nack detected
Replies: 12
Views: 7110

Re: sp32s3 - I2C transaction unexpected nack detected

Hi.

I have similar problem with BH1750 sensor (and AK09915 magnetometer):

Found BH1750 device at 0x23
[0;31mE (649) i2c.master: I2C transaction unexpected nack detected[0m
[0;31mE (649) i2c.master: s_i2c_synchronous_transaction(918): I2C transaction failed[0m
[0;31mE (652) i2c.master: i2c_master ...
by edo76mal
Wed Jun 18, 2025 9:58 am
Forum: ESP-IDF
Topic: I2C problem with BH1750
Replies: 4
Views: 252

I2C problem with BH1750

Hi.

I'm developing, with wroom32, a simple weather station.
I'm using esp-idf 5.4.2

I find that using i2c.c [with attached i2cdev_OK] everything works, while using i2c_master.c [with attached i2cdev_NO_OK] trasmission fails. In particular I find this:

Found BH1750 device at 0x23
[0;31mE (649 ...
by edo76mal
Mon Aug 26, 2024 1:10 pm
Forum: ESP-IDF
Topic: Gatt affects rtc task
Replies: 1
Views: 684

Re: Gatt affects rtc task

Another information: the problem is linked with esp_ble_gatts_send_indicate_local. If I don't call this function no problem. But I need to send data via ble....
by edo76mal
Mon Aug 26, 2024 12:57 pm
Forum: ESP-IDF
Topic: Gatt affects rtc task
Replies: 1
Views: 684

Gatt affects rtc task

I have a projetc with:

- task rtc on core 1 to read i2c imu with 4000 us timing
- task app_main on core 0
- gatt on core 0.

I test the projetc with
If I have not connetcted gatt (I usualy use app nrf) task rct works in a good way taking 4000 us. If I connect gatt with app nrf, rtc task begins to ...
by edo76mal
Fri Mar 01, 2024 5:09 pm
Forum: Showcase
Topic: ESP32 ICM426XX driver
Replies: 2
Views: 24962

Re: ESP32 ICM426XX driver

Hi Vader_mester.

I'm trying to use your library for ICM42605. My target is to use esp32 (with visual studio 2022 and visualgdb, esp idf 5.1) and icm42605 at the highest rate i.e 8kHz for accel and gyro in order to analize slow movements. At the moment I don't succeed in using fifo (using your ...

Go to advanced search