Author Topic: STM32F405RG weird ADC spikes  (Read 6280 times)

0 Members and 1 Guest are viewing this topic.

Offline mbless

  • Regular Contributor
  • *
  • Posts: 227
  • Country: 00
Re: STM32F405RG weird ADC spikes
« Reply #25 on: December 02, 2020, 06:40:59 pm »
I found the problem. Processing large amount of data in MATLAB was bad idea. The code I wrote process 128MB of data. Somewhere in my code data is getting corrupted I don't know why.

Now, I process the data in little chunks which results in correct output. Thank you all

I do image processing of~200MB images with several loaded in RAM at once. MATLAB is not the issue.
 

Offline thm_w

  • Super Contributor
  • ***
  • Posts: 8142
  • Country: ca
  • Non-expert
Re: STM32F405RG weird ADC spikes
« Reply #26 on: December 02, 2020, 09:26:22 pm »
I do image processing of~200MB images with several loaded in RAM at once. MATLAB is not the issue.

Probably some off-by-one, buffer overflow, or similar coding error.
Profile -> Modify profile -> Look and Layout ->  Don't show users' signatures
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf