Hello,
What is the problem? The received data from uart pins of esp32 is different from normal putty communication.
What am I trying to do? what is my approach?
I am sending some data through UART (pins 33, 32) to a device.
Once I send command in putty, the responses that I get is either "ok ...
Search found 9 matches
- Fri Mar 10, 2023 10:31 pm
- Forum: Hardware
- Topic: Uart: receives unexpected values
- Replies: 0
- Views: 1068
- Mon Dec 12, 2022 6:50 pm
- Forum: ESP-IDF
- Topic: Adding a library to CMakeList
- Replies: 1
- Views: 3524
Adding a library to CMakeList
Hi,
I have LVGL library:
https://github.com/espressif/esp-iot-solution
In this path:
c:/path/esp-iot-solution
I would like to add this path to my project.
What I did:
1. Created a new environment variable for the library path (c:/path/esp-iot-solution) called IOT_SOLUTION_PATH .
2. In ...
I have LVGL library:
https://github.com/espressif/esp-iot-solution
In this path:
c:/path/esp-iot-solution
I would like to add this path to my project.
What I did:
1. Created a new environment variable for the library path (c:/path/esp-iot-solution) called IOT_SOLUTION_PATH .
2. In ...
- Thu Dec 08, 2022 1:37 pm
- Forum: ESP-IDF
- Topic: Components and CMakeList
- Replies: 6
- Views: 7276
Re: Components and CMakeList
Thank you so much for explaining.
Out of curiosity,
If A1/ directory has multiple files (.h), then each of those files should be written in the CMakeList?
For example, Let's say there are 100 files in the A1/ , then all of those 100 files should be specified in the CMakeList?
Is it possible to ...
Out of curiosity,
If A1/ directory has multiple files (.h), then each of those files should be written in the CMakeList?
For example, Let's say there are 100 files in the A1/ , then all of those 100 files should be specified in the CMakeList?
Is it possible to ...
- Tue Dec 06, 2022 6:27 pm
- Forum: ESP-IDF
- Topic: Components and CMakeList
- Replies: 6
- Views: 7276
Re: Components and CMakeList
Thanks,
I got only two CMakeList files, one is in the project folder and the other one is in the main/ folder.
Like this:
I got only two CMakeList files, one is in the project folder and the other one is in the main/ folder.
Like this:
Code: Select all
project folder:
- components
- main
-CMakeLists.txt
- CMakeLists.txt- Mon Dec 05, 2022 7:46 pm
- Forum: ESP-IDF
- Topic: Components and CMakeList
- Replies: 6
- Views: 7276
Components and CMakeList
Hi,
I have been suggested to put different libraries into a components folder and address them using CMakeList.txt .
My folder structure lookslike this:
- main
main.c
- components
-Lib_A
aa.c
aa.h
- A1
bb.c
bb.h
_ A2
dd.c
dd.h
-Lib_B
ee.c
ee.h
- B1
ff.c
ff.h
- B2
gg.c
gg.h ...
I have been suggested to put different libraries into a components folder and address them using CMakeList.txt .
My folder structure lookslike this:
- main
main.c
- components
-Lib_A
aa.c
aa.h
- A1
bb.c
bb.h
_ A2
dd.c
dd.h
-Lib_B
ee.c
ee.h
- B1
ff.c
ff.h
- B2
gg.c
gg.h ...
- Tue Nov 22, 2022 3:45 pm
- Forum: Hardware
- Topic: uart2 pinouts
- Replies: 1
- Views: 1382
uart2 pinouts
Hi,
I am following this page of documentation for setting communication pins:
https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/peripherals/uart.html#setting-communication-pins
why it is like this:
ESP_ERROR_CHECK(uart_set_pin(UART_NUM_2, 4, 5, 18, 19));
insterad of this ...
I am following this page of documentation for setting communication pins:
https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/peripherals/uart.html#setting-communication-pins
why it is like this:
ESP_ERROR_CHECK(uart_set_pin(UART_NUM_2, 4, 5, 18, 19));
insterad of this ...
- Tue Nov 22, 2022 2:55 pm
- Forum: Hardware
- Topic: UARTs issue
- Replies: 0
- Views: 1000
UARTs issue
Hi,
I am running the uart_repl from the example folder.
(https://github.com/espressif/esp-idf/tree/1657db56c9a599403595fbf98e3eef6ad627a5d4/examples/peripherals/uart/uart_repl)
Questions in the code:
1. Is DEFAULT_UART_CHANNEL represent the U0RXD , U0TXD ?
2. Why defined rx,tx are 3,2? Shouldn't ...
I am running the uart_repl from the example folder.
(https://github.com/espressif/esp-idf/tree/1657db56c9a599403595fbf98e3eef6ad627a5d4/examples/peripherals/uart/uart_repl)
Questions in the code:
1. Is DEFAULT_UART_CHANNEL represent the U0RXD , U0TXD ?
2. Why defined rx,tx are 3,2? Shouldn't ...
- Tue Aug 09, 2022 4:40 pm
- Forum: Hardware
- Topic: How to have a custom bootloader
- Replies: 1
- Views: 2886
How to have a custom bootloader
Hello,
I would like to apply some modifications on the bootloader for a project, I read these links:
https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/bootloader.html
https://github.com/espressif/esp-idf/tree/master/examples/custom_bootloader/bootloader_override
Question:
Is ...
I would like to apply some modifications on the bootloader for a project, I read these links:
https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/bootloader.html
https://github.com/espressif/esp-idf/tree/master/examples/custom_bootloader/bootloader_override
Question:
Is ...
- Mon Aug 08, 2022 8:47 pm
- Forum: Hardware
- Topic: Enabling pull down resistor on IO5 from bootloader
- Replies: 1
- Views: 1743
Enabling pull down resistor on IO5 from bootloader
Hello,
How to enable pull down resistor on IO5 from bootloader?
Thanks
How to enable pull down resistor on IO5 from bootloader?
Thanks