Comments (8)
Could you verify the timing with systick? Could you attach the full clock setup? Which MCU are you using?
from stmviewer.
"Could you verify the timing with systick?" How can i do this, can you explain further?
from stmviewer.
Sure, you could write a value to the CH0 in the SysTick 1kHz interrupt so that we are sure the problem is on STMViewer's side. You can write any value, just make sure it changes every interrupt so that the steps indicate the time period we want to examine.
from stmviewer.
I also tried to increase systick freq. I was able to increase it 10 times and it seems ok. But when ı tried 100 times it broke again. Am i stuck at speed limit? I tried prescaler between 36 to 72 this means a period of 1-2 microseconds .
Why does the problem occur when the systick period is 10 microseconds?
normal settings: HAL_SYSTICK_Config(HAL_RCC_GetHCLKFreq()/1000); //1000
HAL_SYSTICK_Config(HAL_RCC_GetHCLKFreq()/10000); //10000
HAL_SYSTICK_Config(HAL_RCC_GetHCLKFreq()/100000); //100000
This is the oscilloscope view of the real signal. The values i get from the adc seems correct.
from stmviewer.
Which STMViewer version are you on? Are you monitoring the error frames indicators on the left? You're most probably saturating the SWO output.
from stmviewer.
I think you are right about saturation. I am using STMViewer 0.4.0. Maybe ı need better STLİNK.
from stmviewer.
Yes this is possible. I can recommend the ST-Link V3 minie.
Why did you have to check the frames in Cube IDE? Is there a problem with the trace indicators on the left panel in STMViewer? A full screen screenshot would be helpful in the case you're suspecting a saturation.
from stmviewer.
Closing due to inactivity. If you see a similar issue please reopen.
from stmviewer.
Related Issues (20)
- Custumization capabilities HOT 2
- Invalid data read in sleep mode (WFI) HOT 26
- Counter Plotting HOT 6
- High DPI font size HOT 4
- CPU/GPU usage when idle HOT 7
- Automatically refresh variables upon openning import from elf dialog HOT 1
- Automatically update variable addresses after importing from ELF HOT 3
- Don't clear past samples upon restarting the acquisition HOT 1
- Dimm start button when depressed
- X axis zooming during acquisition HOT 3
- Space key to start/stop acquisition HOT 2
- Renders at only 30fps (half a refresh rate) HOT 5
- Building - STM32 Target not found HOT 2
- Can't flash board when acquisition is running HOT 1
- Max points setting not respected
- How to Run the program HOT 2
- Closing Acquisition Settings window - saves the changes HOT 1
- Allow relative elf file path in cfg file HOT 4
- Time series plot linking doesn't work if there is bar plot present
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stmviewer.