LIve Exressions says " Failed to evaluate expressions.".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-08 12:21 AM - edited ‎2023-10-08 12:21 AM
Hi.
I am developing on STM32CubeIDE with F446RE Nucleo, and I want to get the voltage value by calculating ADC value.
But that doesn't work.
Here is the "main.c".
I made two variables.(" ADC " means ADC value, " v " means voltage value.)
Red texts are texts whose I wrote.
Recently I have started to learn programming, so I'm just a beginner.
If you have any idea, please teach me.
Solved! Go to Solution.
- Labels:
-
STM32CubeIDE
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-23 3:13 AM
Hello @MED2972 ,
To solve the issue and to get the voltage value. I suggest that you declare v just after __IO uint32_t ADC.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-09 6:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-10 5:55 PM
I can watch ADC value on Live Expression, so I can do AD converting.
What I want to know is to calculate from " ADC " value to " v " value.
Could you teach me how to do that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-11 2:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-14 12:30 PM
Sorry to keep you waiting.
I also don't know how to give you IOC file.
Could you tell me how?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-18 1:38 AM
Hello @MED2972 ,
Further to your comment, I suggest that you add your project to a zip file and load it into ST community.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-18 10:21 AM
I made a zip file, but I don't know how to send.
What should I do?
I don't know much about PC.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-19 1:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-19 9:29 PM
I tried to put the zip file, but this caution popped up.
The file type (.zip) is not supported. Valid file types are: ai, avi, bmp, csv, doc, docx, flv, gif, ico, jpg, jpeg, log, mov, mpg, mpeg, mp3, odt, odp, ods, pdf, png, pps, ppt, pptx, rar, rm, tif, tiff, txt, xlr, xls, xlsx, xml, wmv, wav, z, 7z, ioc, hex, c, cc, cpp, h, hpp, tar, xz, dts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-20 1:56 AM - edited ‎2023-10-20 1:56 AM
Hello @MED2972 ,
I suggest that you load the file .ioc because the maximum Zip File size which you can share is 5 MB.
Thanks.
