Search found 12 matches

by Accept86
Thu Jul 20, 2023 8:53 pm
Forum: ESP-IDF
Topic: I2C ESP32 - Interrupt priority Issues? Delays in communication.
Replies: 1
Views: 995

I2C ESP32 - Interrupt priority Issues? Delays in communication.

Hi, Im trying to stream bus data from another microcontroller to the esp32 per I2C. The ESP32 is the I2C master. Problem is, there appear delays in longer telegrams in the I2C stream, the esp32 seems to have issues with it. 2023-07-20 20_51_25-PicoScope 6.png Im not exactly sure why that is, but the...
by Accept86
Sat Jun 24, 2023 4:19 pm
Forum: Hardware
Topic: ESP-PROG - Questions about installation
Replies: 1
Views: 1111

Re: ESP-PROG - Questions about installation

No Answer?
by Accept86
Wed Jun 21, 2023 8:33 am
Forum: Hardware
Topic: ESP-PROG - Questions about installation
Replies: 1
Views: 1111

ESP-PROG - Questions about installation

Hi, I used a J-Link Plus for ESP32 debugging so far, and it was working, but I had two issues with it: 1. The necessary WinUSB driver did get corrupted by Windows(10) every now and then, making it necessary to run Zadig again, which needs admin rights also... 2. In Visual Studio Code, debugging work...
by Accept86
Fri Jun 09, 2023 2:15 pm
Forum: ESP-IDF
Topic: After Updating to espV51rc1 and Loading ESP-Tools: xtensa-esp32-elf-gdb.exe cannot be Run
Replies: 1
Views: 1073

After Updating to espV51rc1 and Loading ESP-Tools: xtensa-esp32-elf-gdb.exe cannot be Run

xtensa-esp32-elf-gdb.exe cannot be Run
after Update to ESP V51RC1 And downloading ESP-Tools - xtensa-esp-elf-gdb 12.1_20221002

xtensa-elf-problem_2023-06-09 16_09_44-.png
xtensa-elf-problem_2023-06-09 16_09_44-.png (78.69 KiB) Viewed 1073 times
What should I do?
by Accept86
Mon Jun 05, 2023 4:32 pm
Forum: ESP-IDF
Topic: Implementing a custom SPI Bus-System handling for communication with another MCU
Replies: 2
Views: 1323

Implementing a custom SPI Bus-System handling for communication with another MCU

Hi, I'm trying to implement a custom SPI Bus-System. I'm short on IO's, so I'm trying to have a virtual CS pin. My idea is, clock is in high impedance normally. Each sender has their own send Line / MISO / MOSI One bususer, has the task to cyclically send a 1 byte token. This one Byte token is a add...
by Accept86
Mon Jun 05, 2023 1:36 pm
Forum: ESP-IDF
Topic: Custom UART0 and UART1 interrupt implementation with working terminal and programming?
Replies: 7
Views: 3380

Re: Custom UART0 and UART1 interrupt implementation with working terminal and programming?

@MicroController: Thank you for the Input :) my current issue: ISR: static uint32_t UART_ISR_ATTR uart_tx_write_fifo(uart_port_t uart_num, const uint8_t *pbuf, uint32_t len) { uint32_t sent_len = 0; UART_ENTER_CRITICAL_SAFE(&(uart_context[uart_num].spinlock)); uart_hal_write_txfifo(&(uart_context[ua...
by Accept86
Mon Jun 05, 2023 11:22 am
Forum: ESP-IDF
Topic: Custom UART0 and UART1 interrupt implementation with working terminal and programming?
Replies: 7
Views: 3380

Re: Custom UART0 and UART1 interrupt implementation with working terminal and programming?

Sadly no one answered, but I figured it out somehow. Heres my solution: #include "uartTransfer.h" #include "main.h" #include "esp_event.h" #include "esp_log.h" #include "driver/uart.h" #include "driver/gpio.h" // Interrupt manuell #include "FreeRTOS.h" #include "freertos/task.h" #include "freertos/q...
by Accept86
Mon Jun 05, 2023 7:42 am
Forum: ESP-IDF
Topic: Custom UART0 and UART1 interrupt implementation with working terminal and programming?
Replies: 7
Views: 3380

Re: Custom UART0 and UART1 interrupt implementation with working terminal and programming?

This post was about

Code: Select all

int _log_vprintf(const char* format, ...)   

how to figure out the actual lenght of format, but I later figured out myself:

Code: Select all

int _log_vprintf(const char* format, va_list arg_list)   //va_list list; is the ... argument

so we can just use va_list arg_list...