Hi :)
I'm currently working on a little project that uses 4 LCDs (st7735 controller). They are connected as followed:
Mosi=4 , SCK=14 , A0 = 5 , CS1=2 , CS2= 26, CS3= 25, CS4= 32
Problem: Only CS1 (GPIO2) will work. All other CS stay low. I can't think of any reason why :cry:
This is my code. I ...
Search found 7 matches
- Wed Jun 19, 2019 11:23 am
- Forum: ESP-IDF
- Topic: SPI Chipselect won't work
- Replies: 0
- Views: 3390
- Mon Jan 28, 2019 9:40 am
- Forum: ESP-IDF
- Topic: Using Interrupts on the UART
- Replies: 8
- Views: 21736
Re: Using Interrupts on the UART
Any ideas?
- Fri Jan 25, 2019 11:25 am
- Forum: ESP-IDF
- Topic: ESP-IDF Hardware Timers
- Replies: 8
- Views: 13225
Re: ESP-IDF Hardware Timers
Hi :)
is there a way to set the counter of the hardware timer to a specific value during runtime? I would need it to synchronize two devices, that are sending messages over RF.
Why?:
Both of the devices have a internal timer running. It creates time-slices, that tell the devices when to send and ...
is there a way to set the counter of the hardware timer to a specific value during runtime? I would need it to synchronize two devices, that are sending messages over RF.
Why?:
Both of the devices have a internal timer running. It creates time-slices, that tell the devices when to send and ...
- Wed Jan 23, 2019 9:25 am
- Forum: ESP-IDF
- Topic: Using Interrupts on the UART
- Replies: 8
- Views: 21736
Re: Using Interrupts on the UART
Hi ESP_Sprite,
thanks for the fast answer. You're right, this caused the triggering of the interrupt watchdog :oops: . So now I'm using the xTaskNotifyfromISR() function to unblock my handler task. Here's my current code:
#include <stdio.h>
#include "esp_types.h"
#include "freertos/FreeRTOS.h ...
thanks for the fast answer. You're right, this caused the triggering of the interrupt watchdog :oops: . So now I'm using the xTaskNotifyfromISR() function to unblock my handler task. Here's my current code:
#include <stdio.h>
#include "esp_types.h"
#include "freertos/FreeRTOS.h ...
- Tue Jan 22, 2019 4:03 pm
- Forum: ESP-IDF
- Topic: Using Interrupts on the UART
- Replies: 8
- Views: 21736
Using Interrupts on the UART
Hi,
I'm having some problems with the RX of the Uart.
What i want to do: I want to detect a series of five 0x55 on a RS485-bus and trigger an interrupt. My data packets for testing look like this:
0x55|0x55|0x55|0x55|0x55|0x10|0x20|0x30|0x40|0xFF
My little test project:
#include "CT10 ...
I'm having some problems with the RX of the Uart.
What i want to do: I want to detect a series of five 0x55 on a RS485-bus and trigger an interrupt. My data packets for testing look like this:
0x55|0x55|0x55|0x55|0x55|0x10|0x20|0x30|0x40|0xFF
My little test project:
#include "CT10 ...
- Sun Jan 20, 2019 12:53 pm
- Forum: ESP-IDF
- Topic: ESP-IDF Hardware Timers
- Replies: 8
- Views: 13225
Re: ESP-IDF Hardware Timers
Hello ESP_Sprite,
thanks for your help and your really good explanations. I didn't pay attention to the static variable being used multiple times, as soon as using multiple timers. Now it's totally clear for me :oops: .
So I corrected my code and everything works fine :)
#include "HW_Timers2.h ...
thanks for your help and your really good explanations. I didn't pay attention to the static variable being used multiple times, as soon as using multiple timers. Now it's totally clear for me :oops: .
So I corrected my code and everything works fine :)
#include "HW_Timers2.h ...
- Fri Jan 18, 2019 5:32 pm
- Forum: ESP-IDF
- Topic: ESP-IDF Hardware Timers
- Replies: 8
- Views: 13225
ESP-IDF Hardware Timers
Hi guys,
this is my first post here. So if I'm in the wrong topic or anything else feel free to correct me ;) .
Normally I am working with Atmel Xmega controllers, but as soon as i discovered the ESP32 I fell in love with it :D . So here I am, trying to understand FreeRtos and the ESP-IDF API ...
this is my first post here. So if I'm in the wrong topic or anything else feel free to correct me ;) .
Normally I am working with Atmel Xmega controllers, but as soon as i discovered the ESP32 I fell in love with it :D . So here I am, trying to understand FreeRtos and the ESP-IDF API ...