Hello ab-tools , I made an implementation of my own, it works for the moment, here it is, hope it helps you.
#include "bl0942.h"
#include <stdlib.h>
#include <string.h>
#include "esp_log.h"
#include "driver/spi_master.h"
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos ...
Search found 11 matches
- Mon Aug 25, 2025 1:25 pm
- Forum: ESP-IDF
- Topic: SPI not workin, help needed
- Replies: 5
- Views: 782
- Thu Jul 31, 2025 5:16 pm
- Forum: ESP-IDF
- Topic: getting error "undefined reference to" when linking the firmware
- Replies: 2
- Views: 743
Re: getting error "undefined reference to" when linking the firmware
Thank you @MicroController I was missing the "extern C" on the .h of some of the components.
- Thu Jul 24, 2025 7:08 pm
- Forum: ESP-IDF
- Topic: getting error "undefined reference to" when linking the firmware
- Replies: 2
- Views: 743
getting error "undefined reference to" when linking the firmware
Hello, I'm having issues getting started with ESP-IDF programming, more specifically with CMake and building.
I come from developing using ESP-IDF with PlatformIO, after encountering some unsolvable issues when trying to use some IDF components, I tried them examples in IDF and worked very well.
Now ...
I come from developing using ESP-IDF with PlatformIO, after encountering some unsolvable issues when trying to use some IDF components, I tried them examples in IDF and worked very well.
Now ...
- Thu Jul 24, 2025 12:38 pm
- Forum: ESP-IDF
- Topic: idf.py menuconfig ignore keyboard input in powershell/cmd on windows 10
- Replies: 2
- Views: 245
Re: idf.py menuconfig ignore keyboard input in powershell/cmd on windows 10
Have you tried using J and K to navigate?
Seems silly to ask, but it had me going for sometime until I found out that menuconfig doesn't uses arrows anymore
Seems silly to ask, but it had me going for sometime until I found out that menuconfig doesn't uses arrows anymore
- Fri Jul 04, 2025 1:17 pm
- Forum: ESP-IDF
- Topic: i2c_master_probe doesn't send any data, it just timeous out
- Replies: 3
- Views: 720
Re: i2c_master_probe doesn't send any data, it just timeous out
Finally, I discovered that the actual address of the device is not 0x58 (its 0x59) and my real problem with the communication was due to bad pin connection between the ESP and the DAC IC.
Although I never found out what was the problem with the i2c_master_probe function, my real issue was fixed ...
Although I never found out what was the problem with the i2c_master_probe function, my real issue was fixed ...
- Thu Jul 03, 2025 8:57 pm
- Forum: ESP-IDF
- Topic: i2c_master_probe doesn't send any data, it just timeous out
- Replies: 3
- Views: 720
Re: i2c_master_probe doesn't send any data, it just timeous out
Hello dmitrij999 , thank you for your response.
It took me some time to familiarize with it, but here is the result.
https://i.imgur.com/OEfAuK3.png
It seems to detect a device in the 0x58 I2C address, I need to keep investigating.
Thank you for pointing me to something useful, I'll share any ...
It took me some time to familiarize with it, but here is the result.
https://i.imgur.com/OEfAuK3.png
It seems to detect a device in the 0x58 I2C address, I need to keep investigating.
Thank you for pointing me to something useful, I'll share any ...
- Fri Jun 27, 2025 7:55 pm
- Forum: ESP-IDF
- Topic: i2c_master_probe doesn't send any data, it just timeous out
- Replies: 3
- Views: 720
i2c_master_probe doesn't send any data, it just timeous out
Hello, I'm having issues when connecting an I2C device to the ESP32S3 module.
First, a bit of context:
- Using ESP32S3-WROOM module, programming in VSCode using Platformio with ESP-IDF last stable version 5.4.
- The I2C bus has 3 different sensors attach to it: LIS3DH accelerometer (0x19), OPT3004 ...
First, a bit of context:
- Using ESP32S3-WROOM module, programming in VSCode using Platformio with ESP-IDF last stable version 5.4.
- The I2C bus has 3 different sensors attach to it: LIS3DH accelerometer (0x19), OPT3004 ...
- Mon Jun 02, 2025 6:48 pm
- Forum: ESP-IDF
- Topic: OTA BLE and BLE SCAN at the same time, is it possible?
- Replies: 3
- Views: 222
Re: OTA BLE and BLE SCAN at the same time, is it possible?
Thank you both for your input.
I ended up having to scan for a specific UUID that works as a "here comes the OTA" message to deinitialize all the BLE-SCAN implementation. Once BLE-SCAN is stopped and everything is deinitialized, I start the BLE-OTA task.
It's a very silly solution, but it kind of ...
I ended up having to scan for a specific UUID that works as a "here comes the OTA" message to deinitialize all the BLE-SCAN implementation. Once BLE-SCAN is stopped and everything is deinitialized, I start the BLE-OTA task.
It's a very silly solution, but it kind of ...
- Tue May 27, 2025 8:08 pm
- Forum: ESP-IDF
- Topic: OTA BLE and BLE SCAN at the same time, is it possible?
- Replies: 3
- Views: 222
OTA BLE and BLE SCAN at the same time, is it possible?
Hello, I'm developing an esp-idf application for the ESP32-S3 module using platformio in VSCode.
I've tried the OTA BLE component succesfully, following the example from the https://github.com/espressif/esp-iot-solution/tree/master/examples/bluetooth/ble_ota repository.
It works very well, however I ...
I've tried the OTA BLE component succesfully, following the example from the https://github.com/espressif/esp-iot-solution/tree/master/examples/bluetooth/ble_ota repository.
It works very well, however I ...
- Fri Apr 18, 2025 1:05 pm
- Forum: ESP-IDF
- Topic: SPI not workin, help needed
- Replies: 5
- Views: 782
Re: SPI not workin, help needed
Looks like my logic analyzer can't reach further than 500kS/s
https://i.imgur.com/f1ovHla.png
So I tried lowering the clock speed of the SPI device to 100kHz, same as I2C that I have already working with the logic analyzer.
This change made the singals appear correctly:
https://i.imgur.com ...
https://i.imgur.com/f1ovHla.png
So I tried lowering the clock speed of the SPI device to 100kHz, same as I2C that I have already working with the logic analyzer.
This change made the singals appear correctly:
https://i.imgur.com ...