SWO performance understanding

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

SWO performance understanding

2,683件の閲覧回数
auftrag2021
Contributor III

Hello, 

I am monitoring a ADC signal on SWO Data  Watch, and I got this:

what is the reason, the sine wave below has these sawtooth?  the input signal is very clean. If I use printf to send out the ADC signal via UART to PC serial terminal, I also can get a very clean sine wave.  It is obviouly not the ADC conversion problem.

Only with SWO, I always got these sawtooth wave, and the data loss is also terrible. 

p.s. the input frequency is only 10Hz

auftrag2021_0-1646346724835.png

What did I do wrong? below is my SWO buffer setup

auftrag2021_1-1646347188565.png

auftrag2021_2-1646347334726.png

 

 

 

 

0 件の賞賛
返信
4 返答(返信)

2,667件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello,

How about refer to the guide <MCUXpresso_IDE_SWO_Trace> to change the configuration settings to test.

 

BR

Alice

0 件の賞賛
返信

2,648件の閲覧回数
auftrag2021
Contributor III

I tried many times the "default settings", it won't help. 

I think I didn't get the function principle of SWO correctly. 

for PRINTF, I send the signal out only actively. But by the SWO, the "system" alway tracking down the signal but the sampling time is unclear (when? how often?)

0 件の賞賛
返信

2,605件の閲覧回数
lpcxpresso_supp
NXP Employee
NXP Employee

Hi,

Can you please let us know what MCUX IDE version do you use, what target/device and what debug probe? We want to reproduce the problem.

Regards,

MCUXpresso Support IDE

0 件の賞賛
返信

2,592件の閲覧回数
auftrag2021
Contributor III

My HW:  RT1170EVK

SW IDE MCUXpresso 11.5.0

Iam using the On-board debug probe,  firmware alreday updated to 

auftrag2021_0-1646842289978.png

 

0 件の賞賛
返信