STM32L1xxx µC displaying memory contents

OP (Company: Student) #2961334
Rate this post
• ▲ useful
▼ not useful
Hi All!

I am very new to this forum and first of all would like to greet 
everyone from my side. I am working as an intern and working with 
STM32L152 EVAL board. I am supposed to take the digital values from the 
ADC converter from an analog input and save them for the first run. In 
the second run I have to save the second values and compare both of 
them. Actually I have initialised an array and stored the converted 
values in them. But it is not required to take all the converted values, 
so I tried to write the program in such a way so that I take the 
converted values only from the peaks of the curves. But, the problem is 
when I give &ADCdata[0] and &B[0](the reduced array)as inputs in the 
"Adress" tab, I am getting the same values for both the arrays. the B[] 
array has one element less than the ADCdata[] array.

Where do u think is the problem. Any suggestions would be of great help. 
I am struggling on this since 3 weeks now. And I also have to save these 
array values and compare them with the future values.

Thankyou!
Kumar
Guest #2961589
Rate this post
• ▲ useful
▼ not useful
>Where do u think is the problem. Any suggestions would be of great help.
>I am struggling on this since 3 weeks now. And I also have to save these
>array values and compare them with the future values.

I came to the conclusion that the problem obviously is in
your code, which you failed to show.

>I am struggling on this since 3 weeks now.

You probably should consider getting another job.

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.