0x0D and 0x0A on UART with ESP8266 and more

Use this section to discuss your embedded Flowcode projects.
chipfryer27
Valued Contributor
Posts: 1574
http://meble-kuchenne.info.pl
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 356 times
Been thanked: 560 times

Re: 0x0D and 0x0A on UART with ESP8266 and more

Post by chipfryer27 »

Hi

FC10 does not (yet) have the ESP8266 as a target. It has it as a component but basically the component is just sending AT commands out over the UART.

I have no experience of using the 8266 in any other way than as a component, being controlled by "AT", so unfortunately I won't be of much help.

Regards

User avatar
Nico595
Posts: 95
Joined: Tue Jul 04, 2023 4:17 pm
Has thanked: 18 times
Been thanked: 4 times

Re: 0x0D and 0x0A on UART with ESP8266 and more

Post by Nico595 »

Hi Chipfryer,

Thank you for your help,
No problem, I understand.

I downloaded Arduino with library to create SPIFFS space in the Flash memory of the ESP.
But in a first time I will try with a small html code in the MCU Flash because I have a problem with the UART component.

I can send string without receive data with the hardware UART1 channel1 setup.
The UART Component of FC10 don't work with UART1 channel2 or the Software mode.

To design the USB Component I coded the UART in C Code. I try again with this solution.

It's may be a problem from the Pin number:

PA21 -> PC5 UART RX but we can see PC7 in the FC10 on the schematic of the MCU.
PA22 -> PC6 UART TX OK

Thank you so much.

User avatar
Nico595
Posts: 95
Joined: Tue Jul 04, 2023 4:17 pm
Has thanked: 18 times
Been thanked: 4 times

Re: 0x0D and 0x0A on UART with ESP8266 and more

Post by Nico595 »

Hi,

I finally coded the UART in C and designed the Webserver ESP page with Arduino. The Web page is provided by the ESP flash.
It work fine and it's the best method to obtain a good speed.

;)

Post Reply