Hi team:
I've been puzzled by a strange problem for a long time, when i use FOC motor
control. It seems that the FOC control thread failed to be scheduled in real
time. The code structure of ./apps/examples/foc/foc_float_thr.c can be
simplified description is as follows:
while (motor.mq.
sorry, the picture of last email was lost!
Hi team:
I've been puzzled by a strange problem for a long time, when i use FOC motor
control. It seems that the FOC control thread failed to be scheduled in real
time. The code structure of ./apps/examples/foc/foc_float_thr.c can be
simplified des
On Sun, Apr 3, 2022 at 3:52 AM fft wrote:
>
> Hi team:
>
> I've been puzzled by a strange problem for a long time, when i use FOC
> motor control. It seems that the FOC control thread failed to be scheduled
> in real time. The code structure of ./apps/examples/foc/foc_float_thr.c can
> be simplif
Hello Nathan,
Thanks for your suggestion, is a good idea to use Zero Latency Interrupt, but
then I can't use the FOC driver by great works of Mateusz, I will check the
critical section of driver i used.
Best regard
Zou
-- Original --
From: "Nathan Hartman"ht
Hello Mateusz,
Thanks for your help, I'm not proficient in using SystemView, but i will
analyze your cool results. I'm use count register value of timer12 to
measure the various execution times. I found in most normal cases, block time
of foc_dev_state_get is about 50~60us, and sporadic 80~11
pkarashchenko commented on code in PR #5962:
URL: https://github.com/apache/incubator-nuttx/pull/5962#discussion_r841283611
##
arch/risc-v/src/common/riscv_percpu.h:
##
@@ -38,10 +38,11 @@
* Pre-processor Definitions
**
xiaoxiang781216 commented on code in PR #5962:
URL: https://github.com/apache/incubator-nuttx/pull/5962#discussion_r841350940
##
arch/risc-v/src/common/riscv_percpu.h:
##
@@ -38,10 +38,11 @@
* Pre-processor Definitions