Re: The real-time performance of nuttx

2022-04-08 Thread fft
Hi Mateusz, Thanks very much for your help, I finally caught the problem by SystemView, I found the low priority FOC main task interrupt high priority FOC control pthread and the problem led to the failure to complete the control of this cycle, I think that's what caused my problem, but i do

Re: The real-time performance of nuttx

2022-04-08 Thread raiden00pl
For time sequence you have to enable the cycle counter, look at https://github.com/apache/incubator-nuttx/pull/5964 To enable ISR logging CONFIG_SCHED_INSTRUMENTATION_IRQHANDLER=y. In order to avoid the buffer overflow, I also recommend increasing CONFIG_SEGGER_SYSVIEW_RTT_BUFFER_SIZE pt., 8 kwi 2

Re: The real-time performance of nuttx

2022-04-08 Thread fft
Hi Mateusz, Now i can use SystemView to monitor the create of task and thread, but there's no time sequence diagram in Timeline of SystemView, and there's no ISR info in event window of SystemView, maybe there's some issue of RTT config on my nuttx. Thank you very much if you would like share