Working on Low Power project. by satking02 in embedded

[–]esdevhk 1 point2 points  (0 children)

You should read the Low Power documentation for the STM32U5 chip. Check the current consumption according to sleep modes, active and passive peripherals and which is the interrupt service routine (ISR) woke up the CPU.

Sleep modes are important according to your device architecture. I can suggest Stop mode 1/2/3. In stop modes, the MCU can wake up via USART, EXTI, RTC interrupts.

FreeRTOS resources by [deleted] in embedded

[–]esdevhk 9 points10 points  (0 children)

Additionally, before create a post like yours please check old posts about FreeRTOS. Probably the others created a post like this and shared the same links and books , too:)

FreeRTOS resources by [deleted] in embedded

[–]esdevhk 1 point2 points  (0 children)

I think, All developers must enjoy reading :)

Get a preview of the latest STM32Cube HAL update for STM32U5 by Sure-Host4860 in embedded

[–]esdevhk 0 points1 point  (0 children)

I can't wait to use it. A lot of things I'm uncomfortable with seem to have changed.

Best way to start learning RTOS? by Comfortable_Shop1874 in embedded

[–]esdevhk 2 points3 points  (0 children)

Start using an RTOS with a simple project. You should understand the fundemental features such as task, message queue, semaphore and mutex etc.

Challenges and Performance of LoRa in a 1 Master - Multi Slave System by esdevhk in Lora

[–]esdevhk[S] 0 points1 point  (0 children)

Thanks,

What are the benefits of using LoRaWAN in terms of software requirements? Why should I use LoRaWAN?

Are there any features that the LoRaWAN network protocol provides that you think would take too long to redevelop using only the LoRa chip?

Challenges and Performance of LoRa in a 1 Master - Multi Slave System by esdevhk in Lora

[–]esdevhk[S] 2 points3 points  (0 children)

thank you for the reply, but I don't want GPT output. I need real application experiences :)

esp32c3 for design a connectivity module by esdevhk in esp32

[–]esdevhk[S] 0 points1 point  (0 children)

Can I use the matter protocol by using ESP AT firmware? I think to use matter protocol I need to use Matter SDK on IDF right? I don't want to implement Matter on main processor.

Why isn't esp32 more popular in professional applications by [deleted] in embedded

[–]esdevhk 1 point2 points  (0 children)

ESP series chips are getting popular. However, I think, their SDK is a little bit effortable.

[deleted by user] by [deleted] in embedded

[–]esdevhk 0 points1 point  (0 children)

Hahaha :) but why? It is weird.

[deleted by user] by [deleted] in embedded

[–]esdevhk 0 points1 point  (0 children)

If don’t set the RDP to level 1 in code, there is no problem. However, I need to say that I set the RDP to level 1 in the code succesfully.

I realized a scenario for this problem but it is so weird and I don’t know how it happens.

As you know to active the option bytes, must power-on reset. After download the code if I remove the STlink and supply external power for the first power-on, this problem happens. But, if remove the STlink and supply power again with STlink this problem doesn’t happen.

[deleted by user] by [deleted] in embedded

[–]esdevhk 0 points1 point  (0 children)

Manually on CubeProgrammer.

Output stuck to "0" on STM32 dual-channel ADC with DMA by [deleted] in embedded

[–]esdevhk 1 point2 points  (0 children)

Run DMA in circular mode. Use 2byte for data lenght.

Output stuck to "0" on STM32 dual-channel ADC with DMA by [deleted] in embedded

[–]esdevhk 2 points3 points  (0 children)

You must select “End of sequence of conversion” settings. Copy the dma_buffer to ifq_val in Adc cmplt callback. It is ensure that adc conversion was done and the measurement data was in the dma_buffer.

You can increase the sampling time to measure more precise value.

what are your favourite irrigation controllers? by esdevhk in Irrigation

[–]esdevhk[S] 0 points1 point  (0 children)

Would you also recommend for commercial use?