Re: Assistance Needed with Adding a Low Power UART on ESP32C6 Project

2025-01-15 Thread Felipe Moura Oliveira
the USB Serial/JTAG interface: > > > https://docs.espressif.com/projects/esp-idf/en/stable/esp32c6/api-guides/usb-serial-jtag-console.html > > This way you will have two real serials available to your product. > > BR, > > Alan > > On Tue, Jan 14, 2025 at 9:55 P

Re: Assistance Needed with Adding a Low Power UART on ESP32C6 Project

2025-01-15 Thread Felipe Moura Oliveira
more than one uart in esp32c6. Em qua., 15 de jan. de 2025 às 08:51, Felipe Moura Oliveira < moura@gmail.com> escreveu: > Hello Eren. > > Thanks for your support. > I cannot find a relation with values of IDX in the technical reference. > Also, looking

Re: Assistance Needed with Adding a Low Power UART on ESP32C6 Project

2025-01-15 Thread Felipe Moura Oliveira
nt signal indexes which are > used to route related peripheral output to the gpio. After routing the > correct signal to gpio pin, you can access the related peripheral from gpio > pin. > > Best Regards > ________ > From: Felipe Moura Oliveira > Sent: We

Assistance Needed with Adding a Low Power UART on ESP32C6 Project

2025-01-14 Thread Felipe Moura Oliveira
*Dear All,* I hope this message finds you well. I am currently working on a project using the ESP32C6 and find myself in need of an additional UART, bringing the total to three UARTs. Initially, I considered implementing a UART using bit-banging; however, after reviewing the documentation, I disc

Re: What is the right way to add PM to esp32c6

2024-12-03 Thread Felipe Moura Oliveira
ci Serrano < > > > tiago.medi...@gmail.com> escreveu: > > > > > > > Hi Felipe, > > > > > > > > I don't think they are separate features, please check this > > > documentation: > > > > > > > > >

Re: What is the right way to add PM to esp32c6

2024-11-13 Thread Felipe Moura Oliveira
PM for using light sleep with RF. > > Best regards, > > Em qua., 13 de nov. de 2024 às 10:36, Felipe Moura Oliveira < > moura@gmail.com> escreveu: > > > Hi Tiago, > > > > I believe the issue isn’t related to the CONFIG_PM macro. From what I > > understa

Re: What is the right way to add PM to esp32c6

2024-11-13 Thread Felipe Moura Oliveira
dparty/nuttx/esp32c6/include/sdkconfig.h` > conditionally (if NuttX's `CONFIG_PM` is defined, you define ESP-IDF's > related configs on it). > > I hope this helps. > > Best regards, > > Em ter., 12 de nov. de 2024 às 09:33, Felipe Moura Oliveira < > moura..

Re: What is the right way to add PM to esp32c6

2024-11-12 Thread Felipe Moura Oliveira
gt; sleep. Then, check which configs are on the Wi-Fi related files. > > Looking towards hearing from you soon. > > Best regards, > > Em seg., 11 de nov. de 2024 às 17:52, Felipe Moura Oliveira < > moura@gmail.com> escreveu: > > > Hello everyone

Re: What is the right way to add PM to esp32c6

2024-11-11 Thread Felipe Moura Oliveira
y/components/esp_rom/esp32c6/ld/esp32c6.rom.api.ld:46:PROVIDE > > ( *esp_rom_get_cpu_ticks_per_us* = ets_get_cpu_frequency ); > > > > I cannot find *ets_get_cpu_frequency*, so how should I handle it? > > > > PS: I have another situation like this, when I try to call

Re: What is the right way to add PM to esp32c6

2024-11-01 Thread Felipe Moura Oliveira
so how should I handle it? PS: I have another situation like this, when I try to call *esp_rom_set_cpu_ticks_per_us* function. Regards. Em ter., 29 de out. de 2024 às 13:24, Felipe Moura Oliveira < moura@gmail.com> escreveu: > Hello Tiago. > > Please look de draft here: https:

Re: What is the right way to add PM to esp32c6

2024-10-29 Thread Felipe Moura Oliveira
edi...@gmail.com> escreveu: > Hi Felipe, > > Can you share your PR as a draft on GH to make it easier to check the files > (and the build process)? > > Em ter., 29 de out. de 2024 às 12:41, Felipe Moura Oliveira < > moura@gmail.com> escreveu: > > > Hello

Re: What is the right way to add PM to esp32c6

2024-10-29 Thread Felipe Moura Oliveira
. de 2024 às 08:46, Felipe Moura Oliveira < moura@gmail.com> escreveu: > Hello everyone, > > I was able to solve linker issues, editing the linker by myself. I need to > finish more than one build issue before testing it, so I will see if I made > the right changes in lin

Re: What is the right way to add PM to esp32c6

2024-10-29 Thread Felipe Moura Oliveira
Hello everyone, I was able to solve linker issues, editing the linker by myself. I need to finish more than one build issue before testing it, so I will see if I made the right changes in linker. Em seg., 28 de out. de 2024 às 16:01, Felipe Moura Oliveira < moura@gmail.com> es

Re: What is the right way to add PM to esp32c6

2024-10-28 Thread Felipe Moura Oliveira
rom sleep for now > (using, for instance, the `#ifndef __NuttX__`). It's up to you: if the GPIO > wakeup isn't mandatory, it'd go baby steps, removing this feature for now. > > Best regards, > > Em sex., 25 de out. de 2024 às 09:33, Felipe Moura Oliveira < >

Re: What is the right way to add PM to esp32c6

2024-10-25 Thread Felipe Moura Oliveira
tions that aren't available on NuttX/needed by NuttX. > > Best regards, > > Em qui., 24 de out. de 2024 às 19:46, Felipe Moura Oliveira < > moura@gmail.com> escreveu: > > > Hello all, > > > > Tiago, > > > > I have a question regarding the

Question About CONFIG_ESP32C3_AUTO_SLEEP and NuttX Power Manager Implementations

2024-10-25 Thread Felipe Moura Oliveira
Hello everyone, I hope this message finds you well. During my studies on the Power Manager, while reviewing the esp32c3_idle.c code, I noticed the use of a configuration option: CONFIG_ESP32C3_AUTO_SLEEP. >From my understanding, when this configuration is enabled, it prevents the native NuttX pow

Re: What is the right way to add PM to esp32c6

2024-10-24 Thread Felipe Moura Oliveira
option before simply trying to adapt > an existing implementation (from ESP32-C3 legacy or from ESP32/ESP32-S3). > > Best regards, > > Em qua., 23 de out. de 2024 às 13:35, Felipe Moura Oliveira < > moura@gmail.com> escreveu: > > > Hello Tiago. > >

Re: What is the right way to add PM to esp32c6

2024-10-23 Thread Felipe Moura Oliveira
> wouldn't be able to support the feature. You can take a look on IDF for > > some inspiration on how it's implemented. > > > > Please let me know if you have any questions. > > > > Best regards, > > > > Em qua., 23 de out. de 2024 às 12:38, Felipe

What is the right way to add PM to esp32c6

2024-10-23 Thread Felipe Moura Oliveira
Hello everyone, Our project has reached a point where we need the Power Manager functionality, which is not yet available in the ESP32C6. I am studying to start the implementation, but I am confused about the correct way to approach this. There is a Power Manager implementation for the ESP32C3, b

Re: The right way to implement an event-driven application - SPI SLAVE

2024-10-15 Thread Felipe Moura Oliveira
d any call of SPIS_DEV_NOTIFY in nuttx repo. Did you have different implementation in your side ? Em ter., 15 de out. de 2024 às 12:28, Felipe Moura Oliveira < moura@gmail.com> escreveu: > Hello All, > > I did a dummy question, in master branch, spi slave implementation already &g

Re: The right way to implement an event-driven application - SPI SLAVE

2024-10-15 Thread Felipe Moura Oliveira
Hello All, I did a dummy question, in master branch, spi slave implementation already blocked until new data is available. I wasn't working in the master branch but I will switch to. Em ter., 15 de out. de 2024 às 11:45, Felipe Moura Oliveira < moura@gmail.com> escreveu: > He

Re: The right way to implement an event-driven application - SPI SLAVE

2024-10-15 Thread Felipe Moura Oliveira
Hello Xiang Xiao, thanks for sharing with me about rpmsg, to be honest it is new for me =/, I was locked in baremetal for several years. For now I cannot use it because my host mcu is running baremetal (maybe in the future we will change it). I developed a simple protocol using ack and nak whey to

The right way to implement an event-driven application - SPI SLAVE

2024-10-14 Thread Felipe Moura Oliveira
The right way to implement an event-driven application - SPI SLAVE Hello everyone, in the last few weeks I have been developing a solution in esp32c6 that communicates with another mcu from an SPI, the application I am developing is an spi slave. Up until now, my application has been executing read

Re: ESP32 - How use SPI Slave

2024-08-29 Thread Felipe Moura Oliveira
problem in nuttx/drivers, you can help. https://github.com/apache/nuttx/issues/13238 Em qua., 28 de ago. de 2024 às 18:01, escreveu: > On 2024-08-28 15:48:10, Felipe Moura Oliveira wrote: > > Hello All, > > > > Following Gustavo instructions I was able to see it work

Re: ESP32 - How use SPI Slave

2024-08-28 Thread Felipe Moura Oliveira
Hello All, Following Gustavo instructions I was able to see it working several commits before master. I will open a github issue, maybe more people can look it and help us to solve. Em qua., 28 de ago. de 2024 às 13:11, Felipe Moura Oliveira < moura@gmail.com> escreveu: > Yes Al

Re: ESP32 - How use SPI Slave

2024-08-28 Thread Felipe Moura Oliveira
Yes Alan. I started testing with 1 MHz and dropped the speed to check. *are you sure that clock rising/falling edges are configured correctly for mosi/miso read/write requirements? *Yes I check it properly. Em qua., 28 de ago. de 2024 às 12:48, Alan C. Assis escreveu: > Hi Tomek, > > As you c

Re: MFRC522 Nuttx debug ouput request

2024-08-22 Thread Felipe Moura Oliveira
step through > stm32_mfrc522initialize and see what's failing? > > Hope this helps > Nathan > > On Thu, Aug 22, 2024 at 4:04 PM Felipe Moura Oliveira > wrote: > > > > Hello All, > > > > I added stm32f4discovery board mfrc522 support, however it is no

MFRC522 Nuttx debug ouput request

2024-08-22 Thread Felipe Moura Oliveira
Hello All, I added stm32f4discovery board mfrc522 support, however it is not working, probably my cheap board. Can someone with a mfrc522 board share with me nuttx debug output? So I can consider my port ok or find issues on my side. Follow my report: Type [C-a] [C-h] to see available commands T

Re: How enable "traces" for debug purpose ?

2024-08-20 Thread Felipe Moura Oliveira
r ctlserr and you will find > the symbol you need to enable (CONFIG_DEBUG_CONTACTLESS_xxx) > > Then run: "make menuconfig" and search for (press "/") > CONFIG_DEBUG_CONTACTLESS and you will find where to enable it. > > Best Regards, > > Alan > > On

How enable "traces" for debug purpose ?

2024-08-19 Thread Felipe Moura Oliveira
Hello All, I am porting mfrc522.c for esp32c6 dev kit m. I am facing an issue, I can write well but I am able to see mfrc522 answering in my logic analyzer, but I can not get data in my software. I want to know how enable some traces, for example: [image: image.png] and spi_info: [image: image.p

Re: Doubt about Device Driver Implementation

2024-08-14 Thread Felipe Moura Oliveira
d create a pull request. Thanks. > > On Wed, 14 Aug 2024 at 18:52, Felipe Moura Oliveira > wrote: > > > This kind of thing, can I change the code and request merge or do you > > prefer don’t touch in old code? > > > > *Felipe Moura de Oliveira* > > *

Re: Doubt about Device Driver Implementation

2024-08-14 Thread Felipe Moura Oliveira
Wed, 14 Aug 2024 at 19:42 Lwazi Dube wrote: > On Wed, 14 Aug 2024 at 18:07, Felipe Moura Oliveira > wrote: > > > Hello all. > > > > I am porting MFRC_522 Driver to my esp32 board, during test process my > > firmware stuck in "while" and I am think ab

Doubt about Device Driver Implementation

2024-08-14 Thread Felipe Moura Oliveira
Hello all. I am porting MFRC_522 Driver to my esp32 board, during test process my firmware stuck in "while" and I am think about it (I was with hardware issue), look code below: [image: image.png] When we use this driver, if we have any issue in the rfid IC our solution will be locked in the "whil