EmbDev.net

Forum: ARM programming with GCC/GNU tools STM32L1xxx µC displaying memory contents


von vinay k. (Company: Student) (kumar23986)


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

von layin (Guest)


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.

von Kumar (Guest)


Attached files:

Rate this post
useful
not useful
Hi, I have attached a pdf document with the program I wrote.

Any Help would be appreciated!

Thankyou!

von Jim M. (turboj)


Rate this post
useful
not useful
Why pdf? This forum has direct support for C code files with syntax 
highlighting. Your PDF is hard to read, don't expect much help here.

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.