ok. i will upload the code developed in arduino ide. this code only sends data every 5s once, remaining time is in sleep mode. i achieved 5.5uA from the 120uA by removing i2c pull up resistor. but some of the gpio are still enable and give 3.3v . pl check the code and guide mw which command is su RAK_SleepTime_pgm.ino (2.1 KB)
itable
ok thanks for your information. If i connect i2c pull up resistor no circuit sensor or circuit connected, Again it showing 120uA. I did pinMode(PA11, INPUT);
pinMode(PA12, INPUT); in setup , then also same 120uA showing in Nordic PPk2. Any idea to overcome that
It can be that the leakage are from the I2C pull up. Initialize I2C wire and see if you can see improvement.
If you are not using I2C at this point, remove the pullup for now. It is impractical to fix those leakage if I2C sensor is not yet there as well as the I2C driver in the code.
Thank you for your support. I removed I2C pullup resistor and also use AT+LPM & AT+LPMLVL=2 , can able to achieve 2.6uA in sleep Time. Once Again Thank you.
I have one doubt regarding programming the RAK3172 module. When I program it using UART with FTDI through STM32CubeProgrammer (with full chip erase before programming), some modules initially respond correctly, but after some time the response stops coming.
However, if I program the same modules via SWD using STM32CubeProgrammer, everything works well and the modules remain stable.
Has anyone else faced this issue? Are there any technical aspects, limitations, or steps I might be missing when using UART/bootloader programming compared to SWD?
Any guidance or clarification from the community would be very helpful.
STM32CubeProgrammer via UART Bootloader of STM32 works everytime for me. There are cases that it will not work on some USB-Serial converter chips but as long as I am able to upload the .hex firmware, it will work ok. That is same when using STlinkV2 (original not clone). This is my personal experience.
I would suspect that the issue you have is not on uploading but on some other reason.
Thank you for your support. So far, we have been working with LoRa P2P, and now we are moving into LoRaWAN development. If we have any clarifications or doubts during the process, I will update you.
Also, please keep me informed about the next version release.
At present, all our RAK modules are working well. If we encounter any modules with a no-response issue, I will share the screenshot with you for your reference.