EmbDev.net

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


Author: vinay kumar (Company: Student) (kumar23986)
Posted on:

Rate this post
0 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

Author: layin (Guest)
Posted on:

Rate this post
0 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.

Author: Kumar (Guest)
Posted on:
Attached files:

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

Any Help would be appreciated!

Thankyou!

Author: Jim Meba (turboj)
Posted on:

Rate this post
0 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.

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.