<div dir="ltr"><div>log many, the SR idle flag does not be cleared <br></div><div dir="ltr"><br></div><div dir="ltr">Stack usage by thread<br> ID NAME LOW HIGH CURRENT AVAILABLE USED<br>0x09010001 IDLE 0020006C40 - 0020007C3F 0020007BE0 4080 Unavailable<br>0x0A010001 UI1 0020007C68 - 002000AC67 002000AB88 12272 Unavailable<br>isr level 0<br>usart_initialize begin<br><br>[18:53:18.444]ÊÕ¡û¡ôidle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla 000000D0idle fla<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Apr 16, 2019 at 3:56 PM Jython <<a href="mailto:googcheng@gmail.com">googcheng@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>the idle flag is not cleared , so does it relate to code
optimizations?</div><div>how to make it O0<br>
</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Apr 16, 2019 at 3:08 PM Jython <<a href="mailto:googcheng@gmail.com" target="_blank">googcheng@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div>HI, ALL!</div><div> the stm32 usart2 code is here <a href="https://gist.github.com/goog/3da34a64eff11902579df333cfd1d863" target="_blank">https://gist.github.com/goog/3da34a64eff11902579df333cfd1d863</a></div><div>why it always enter the idle interrupt and printk log outputs</div><div>i almost could not find the error point, someone of you would help me?<br></div></div></div>
</blockquote></div>
</blockquote></div>