shuai132 / scopemcu Goto Github PK
View Code? Open in Web Editor NEW虚拟示波器 MCU端
虚拟示波器 MCU端
楼主您好,
我尝试移植F4的代码到我的F407板子上面,结果遇到了问题。
您遇到过这种问题吗?谢谢。
Hi!
Thanks for your project! It works great.
I burned my PA0 input and trying to remap any analog pins but don't know how to do it :)
When I import as an existing project and click Build:
**** Build of configuration Debug for project ScopeMCU ****
Nothing to build for project ScopeMCU
I tried re-generating the project with CubeMX. No luck.
Ubuntu 22.04 LTS
STM32CubeIDE version: 1.10.1
我看说明里面特别指出
为了采样精度和校准,当前最高采样率: 70ksps
这个限制是在那实现的,如果不考虑精度,只是要看个大概,能否达到1M?
如何修改?
Scanning dependencies of target ScopeMCU.elf
[ 23%] Building C object CMakeFiles/ScopeMCU.elf.dir/App/retarget.c.obj
[ 25%] Building C object CMakeFiles/ScopeMCU.elf.dir/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c.obj
[ 26%] Building C object CMakeFiles/ScopeMCU.elf.dir/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c.obj
[ 28%] Building C object CMakeFiles/ScopeMCU.elf.dir/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c.obj
[ 30%] Building C object CMakeFiles/ScopeMCU.elf.dir/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c.obj
[ 32%] Building C object CMakeFiles/ScopeMCU.elf.dir/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c.obj
: error: expected identifier or '(' before string constant
I:\STM32H7\clion\stm32\ScopeMCU\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal.c:200:1: note: in expansion of macro '__weak'
200 | __weak void HAL_MspInit(void)
| ^~~~~~
: error: expected identifier or '(' before string constant
I:\STM32H7\clion\stm32\ScopeMCU\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal.c:211:1: note: in expansion of macro '__weak'
211 | __weak void HAL_MspDeInit(void)
| ^~~~~~
: error: expected identifier or '(' before string constant
The GUI does not allow setting the sampling frequency larger than 70kHz. And I see that the picture is breaking already at 70kHz.
But I did see others are using an STM32F103-based oscilloscope to get 1MSa sampling rate. Is it possible to achieve this with built-in ADC only? Or USB communication limits the speed to be lower than 70kHz? Will the situation improve if I switch to STM32F429 Discovery board with a (presumably) better ADC?
你好,我没有找到log.h,请问这个头文件有什么用
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.