Hi Everyone!
I am developing on RTL8729DN (BW16), I have loaded an example “DeepSleepMode”. I did not edit it
But i did receive the unexpected result.
I use the hardware to connect WIFI “OK”.
Please show me these miss!
Thank you so much !
Thien.
Hi Everyone!
I am developing on RTL8729DN (BW16), I have loaded an example “DeepSleepMode”. I did not edit it
Thank you so much !
Thien.
Hi @Nguyen_Thien
I am not sure if I can understand your question here… from your screenshot it seems the example works with your BW16, so what is the problem?
Hi @xidameng!
That example I downloaded into BW16. But it did not deepsleep. the result is in second scereenshot. I think if it is correct after 5 seconds is wakup 1 time.
Thanks!
https://www.amebaiot.com/en/amebad-arduino-deepsleepmode/
Please read this deepsleep example guide and understand that ONLY the following pins can be used for this feature
And unfortunately, due to design consideration and package, BW16 does NOT have all the pins that RTL8722DM has, so unfortunately, you can NOT directly use the example code written for RTL8722DM for your BW16.
For more information, you may download technical documents from the official website at,
https://www.amebaiot.com/en/
Thanks @xidameng!
I would like deepsleep mode in pins (BW16). Please Can you guide me to edit that example?
Maybe edit BW16 hardware.
Thank you so much.
Thien.
Deepsleep is not really supported on BW16 if you choose to use Arduino IDE to compile binary, bcos deepsleep example need to change the bootloader but Arduino IDE only can edit the application firmware
Thanks a lot! @xidameng.
So If i dont use Arduino IDE.
is there any way to Deepsleep mode in BW16?
Thanks again!
Thien.
Hi @Nguyen_Thien
Here is a deepsleep example from the Realtek Standard SDK,
To get started with the Standard SDK, please read the guide as follows,
https://www.amebaiot.com/en/ameba-sdk-getting-started-8722/
Hi. @xidameng.
I see " Building the First GCC Project on Ameba-D" is a pretty difficult for me. If I use IAR IDE is it ok?
There’s more , in Arduino IDE I have connected Wifi and BLUE ok. I’m afraid I won’t be able to do it.
Can I still use the Arduino IDE after changing the bootloader? Because there is still Deepsleep in Arduino IDE example.
Please help me.I wish you a good day!
Thien.
Yes, you can use IAR for this example, the IAR project is at link here,
Yes, you still can use Arduino IDE, which will wipe out the bootloader with deepsleep features when uploading
Wow! it’s really cool. Im going to use the Arduino IDE after changing the bootloader.
Now what do i do with the bootloader?
Im downloading IAR…
Thien.
You can read about IAR setup in this document
Hi, @xidameng
Can I use “ImageTool_v2.3.2_AmebaD” to download BW16 through Uart?
yes you can! make sure to download all 3 “bin” files and tick their boxes, and press button on board to enter Uart Download mode before you click the download button
hi. @xidameng
After install and i built all Project_hp_release and Project_lp_release. Then downloaded into BW16. The program worked. But now I don’t know how to proceed.
Another thing is that I see in the program there are two pairs: Bootloader(KM0), main.c(KM0) and Bootloader(KM4), main.c(KM4). I don’t know how they work?
Thien.
Hi @xidameng
I have done Deepsleep mode already.
I tried to implement the available example but it didn’t work. how do i execute an example “BT_CONFIG”?
Please help me!
Thanks.
Congrats!
Hi, what matters here are only 3 binary files, namely, km0_boot_all.bin (small core’s bootloader), km4_boot_all.bin(big core’s bootloader) and km0_km4_image2.bin(your application program which contains programs in main.c)
There are two ways to play BT_CONFIG,
https://github.com/ambiot/ambd_sdk/blob/master/doc/AN0400%20Ameba-D%20Application%20Note.pdf
But I cant use Deepsleep mode with Arduino IDE.