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.
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
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! 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?
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”?
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)
Use Arduino IDE, go to example and look for BLEWiFiConfig
Use Standard SDK and follow instructions on the application notes under Bluetooth chapter to set up the environment and then check out AI-Thinker’s website for their instructions on how to use BT Config, links are as follows,