AnatolSher
AnatolSher - 认证专家
Lover of the ocean, yachts and Arduino

注册于 1年前

回答
30
文章
10
关注者
5

Hi. The lack of Serial.End() method is not critical in most cases. Its work is to deinitialize the hardware UART and release the controller pins that were connected to it.
It should be noted that the HardwareSerial class is static and calling the End() method does not free RAM. It is not difficult to add support for this method, but I would like to know how you want to use it.

Hi. This problem was also stumbled upon by our users last year. The solution is described in https://github.com/board707/w80x_arduino/issues/39

What SDK are you using?
I am currently adapting the W5500 into a w80x-arduino-iot project. Closer to the new year I will publish how to use WizNet chips together with LWIP library.

@feng201272195 But if you solve the problem in a different way, please tell here how you did it. It will be useful for everyone and interesting.

You don't need to do anything. Examine the code in the lv_port_disp.c file. When the USE_PSRAM parameter is enabled, memory for buffering is initialized in the lv_port_disp_init() function. You can play with the buffer size there

Which I2C device do you want to write or read data to?

Hello newbie! When adapting code for STM32 to use on the W806, you need to understand the differences in the hardware of these controllers. That is, the code can be divided into two parts - hardware dependent and hardware independent. You must rework the hardware-dependent part in relation to the features of the W806.
You may not need STM32-specific header files

Compare your component installation with the W806 board circuit diagram. Maybe the USB-UART converter is not working
W801-KIT-V1.0-schematic.pdf
HLK-W806-V1-0-KIT.png

@1201 If your calculations require a large amount of RAM, use PSRAM for your arrays and variables. Solder the chip on top of the w801 board. When outputting to UART, reduce the transmission block size.
image.png

To help you we need to see the code. Show us how you use the EEPROM class

You can use this intermediate build. WiFi/BLE service classes are still under development but can be programmed in SDK style
Installation instructions here http://ask.winnermicro.com/article/187.html
core_w80x.zip

Attention! I don't see what users write to me here. The last entry is Put build800.zip (unzip!)
If you cannot download the main package through the board manager, Try through the Chinese mirror http://ask.winnermicro.com/article/172.html

For Linux w800build is not needed

Hello! I just checked the compatibility of our Arduino core with DHT series sensors. This works with the DHTStable library. This means that it can be ported to the W80X-SDK without much difficulty or look at the 1-wire interaction algorithm
image.png

Depends on the SDK you are using. In HAL 0.6.0 - HAL_Delay(1000). In W80x-SDK you can pull the delay() function from iperf_timer.c
It usually works in microseconds. But delay maybe not less than 1 milliseconds. It will look like this for you

extern int delay(int us);
//your code
int ms = 1000; //1s = 1000 ms
delay(ms*1000); // in uS
//your code

If you need to call a specific function every 1 second, you can use vApplicationTickHook or RTOS timers
For example
image.png
in vApplicationTickHook() you can creat a counter
Or create a separate RTOS task

发布
问题