Search found 425 matches

by Deouss
Mon Jun 11, 2018 1:41 pm
Forum: Hardware
Topic: Holding button during flashing ESP
Replies: 5
Views: 7063

Holding button during flashing ESP

I just bought some cheap pcb boards with usb to ttl converter and nice buttons. After soldering esp chip and testing board I noticed I have to hold the key button and all was fine. I have another firebeetle board and it doesn't need that. What is the rule or reason for that? Does it depent on the on...
by Deouss
Sun Jun 10, 2018 6:08 am
Forum: General Discussion
Topic: Problems in syncing MCPWM output for dimming purpose
Replies: 9
Views: 10327

Re: Problems in syncing MCPWM output for dimming purpose

Just curiosity - how high frequency can be set with MCPWM ?
by Deouss
Sat Jun 09, 2018 11:39 pm
Forum: Sample Code
Topic: Achieved PWM control way over 10MHz with 1Hz step ! )
Replies: 0
Views: 4228

Achieved PWM control way over 10MHz with 1Hz step ! )

I was experimenting with RMT and did a small trick to generate very high frequency square wave Here is a code snippet: #define RMT_TX_CHANNEL (rmt_channel_t)1 /* RMT channel for transmitter */ #define RMT_TX_GPIO_NUM PIN_PWM /* GPIO number for transmitter signal */ #define RMT_TX_CARRIER_DISABLE 0 /...
by Deouss
Fri Jun 08, 2018 11:42 am
Forum: General Discussion
Topic: uart via built in usb on esp board
Replies: 14
Views: 25524

Re: uart via built in usb on esp board

So it is still a mistery how to intercept simple printf() calls from esp32 by f.ex. Windows app listening to a serial port...
Anyone has ideas?
by Deouss
Thu Jun 07, 2018 11:25 pm
Forum: General Discussion
Topic: uart via built in usb on esp board
Replies: 14
Views: 25524

Re: uart via built in usb on esp board

fly135 wrote: This is something I've found confusing. From what I can tell "pin #s" are the GPIO number, not the physical pin on the chip.

Maybe someone will correct me if I'm wrong.

John A
I think it is the case on Arduino Atmel boards.
On Esp and Stm I found pin numbers to be same as their names so far
by Deouss
Thu Jun 07, 2018 10:19 pm
Forum: General Discussion
Topic: uart via built in usb on esp board
Replies: 14
Views: 25524

Re: uart via built in usb on esp board

I cannot get it working. Tried all 3 uarts 0-2 with UART_PIN_NO_CHANGE
Also noticed according to pinout of devkit board uart0 txd is 41 but undefined
I will try wifi then
by Deouss
Thu Jun 07, 2018 6:53 pm
Forum: General Discussion
Topic: uart via built in usb on esp board
Replies: 14
Views: 25524

Re: uart via built in usb on esp board

Thanks so much. I will try it and let know if it worked
by Deouss
Thu Jun 07, 2018 6:17 pm
Forum: General Discussion
Topic: uart via built in usb on esp board
Replies: 14
Views: 25524

Re: uart via built in usb on esp board

yes however uart api needs a pin number but I have no idea what pin number that is.
Or maynbe there is other way
by Deouss
Thu Jun 07, 2018 5:19 pm
Forum: General Discussion
Topic: uart via built in usb on esp board
Replies: 14
Views: 25524

Re: uart via built in usb on esp board

Well my question is - how I use uart on ESP to send data to PC serial port? uart needs a pin number but serial communication is controlled by that converter chip. So how data from 'printf' is sent to PC ?? It is all sent via usb cable as serial but how? Should I just use printf() ? or UART hardware ...
by Deouss
Thu Jun 07, 2018 4:22 pm
Forum: General Discussion
Topic: uart via built in usb on esp board
Replies: 14
Views: 25524

Re: uart via built in usb on esp board

Is there example of usb sockets on esp?
That built in chip is able to flash the board so it has to be somehow connected and maybe I could access it
What do you suggest?