After reviewing a couple documents
https://wiki.wemos.cc/products:retired: ... pro_v1.1.0
https://wiki.wemos.cc/_media/products:d ... v1.1.0.pdf
https://github.com/espressif/ESP8266_MP ... ster.h#L39
I am coming to the conclusion that GPIO 7 and 8 are required for UART1 so with this chip sending data over UART1 just isn't possible with this breakout board without doing a hackjob and soldering to the ESP chip pin's itself which is basically impossible for me.
Just wanted to confirm before I throw in the towel.
Thanks!
-Agent
Does the Wemos D1 Mini Pro V1 only support UART0 and not UART1
-
- Posts: 195
- Joined: Sat Apr 01, 2017 1:21 am
- Contact:
Does the Wemos D1 Mini Pro V1 only support UART0 and not UART1
Postby AgentSmithers » Sun Jun 17, 2018 5:25 am
-
- Posts: 195
- Joined: Sat Apr 01, 2017 1:21 am
- Contact:
Re: Does the Wemos D1 Mini Pro V1 only support UART0 and not UART1
Postby AgentSmithers » Thu Jun 21, 2018 1:47 am
Okay, I don't have my code on me at this moment but what I ended up doing was viewing this link.
https://wiki.wemos.cc/products:retired: ... pro_v1.1.0
In this link I see a few GPIO's are pin'ed out on the breakout board.
Then I went to here
https://github.com/espressif/ESP8266_MP ... ster.h#L39
To find that GPIO2 can also function as a UART1_TXD backup.
I used FUNC_SELECT on that pin to assign GPIO2 to be FUNC_UART1_TXD_BK and BAM, I can now use it as UART1 to send Debug Data.
#define PERIPHS_IO_MUX_GPIO2_U (PERIPHS_IO_MUX + 0x38)
#define FUNC_GPIO2 0
#define FUNC_I2SO_WS 1
#define FUNC_U1TXD_BK 2
#define FUNC_UART1_TXD_BK 2
#define FUNC_U0TXD_BK 4
#define FUNC_UART0_TXD_BK 4
The UART1RXPin I do not have on the Wemos has it requires GPIO 11/08/06 and none are available on this board. But for just sending debug data. Perfect.
Now with UART_SWAP swaping the pins for RX/TX to RTS and CTS, I need to find a function to send UART data from those to make the message appear in the "SCREEN" command console. Haven't tested it to see if it would work but fingers crossed
https://wiki.wemos.cc/products:retired: ... pro_v1.1.0
In this link I see a few GPIO's are pin'ed out on the breakout board.
Then I went to here
https://github.com/espressif/ESP8266_MP ... ster.h#L39
To find that GPIO2 can also function as a UART1_TXD backup.
I used FUNC_SELECT on that pin to assign GPIO2 to be FUNC_UART1_TXD_BK and BAM, I can now use it as UART1 to send Debug Data.
#define PERIPHS_IO_MUX_GPIO2_U (PERIPHS_IO_MUX + 0x38)
#define FUNC_GPIO2 0
#define FUNC_I2SO_WS 1
#define FUNC_U1TXD_BK 2
#define FUNC_UART1_TXD_BK 2
#define FUNC_U0TXD_BK 4
#define FUNC_UART0_TXD_BK 4
The UART1RXPin I do not have on the Wemos has it requires GPIO 11/08/06 and none are available on this board. But for just sending debug data. Perfect.
Now with UART_SWAP swaping the pins for RX/TX to RTS and CTS, I need to find a function to send UART data from those to make the message appear in the "SCREEN" command console. Haven't tested it to see if it would work but fingers crossed

Who is online
Users browsing this forum: No registered users and 136 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.