2014-01-08 07:43 AM
Hi All,
I am using STM32F4Discovery board to log data from six analog channels at 50 KHz on micro SD card. Thanks to this forum for the help through various posts, particularly from Clive1. ADC operates in triple ADC regular simultaneous mode with DMA to transfer data in 98304 byte buffer. The code works properly. SD card write operations are initiated on half transfer (HTIF) and transfer complete (TCIF) interrupt event (every 80msec). During the write operation large spikes as high as 50 to 70 counts are seen in analog data. For test purpose 1.5v battery is connected to analog channel.
Suspecting SD card write current might be influencing VDD, SD card was powered through a separate 3v regulator with bypass capacitor and ferrite bead in series. However this did not reduce spikes in measurements. I believe spikes might be feeding through ground or SDIO lines.
Most of the commercially available boards do not provide separate analog and digital grounds. Is there any reference design for STM32f4 that address this kind of issue? I would have liked to build STM32f427 based board as it has slightly better ADC performance and extra RAM. However, I am hesitant in view of the present problem.
Any suggestions /comments would be useful in deciding whether to continue with internal ADC or to opt for external simultaneous sampling ADC.
Thanks
#board #sd-card #sd-card #adc #discovery #adc2014-02-18 07:39 AM
Hi Aryan,
I'm working on something similar and I'm also having the same problem. I've tried pull ups, pi filter in VDD, etc, etc. I've tried everything I could think of to remove the noise but it just doesn't go away. Have you by any chance managed to solve your problem? If you did, could you share how you did it? thanks2014-02-18 08:52 AM
Hi
''I'm also having the same problem. I've tried pull ups, pi filter in VDD'' Have you tried seperating the Vref to the ADC and putting the filter on the ADC Vref?2014-02-27 09:57 AM
Sorry, I meant to say VDA, or as you put it ADC Vref. I Still haven't managed to remove the noise. Any other suggestions?
thanks, felipe2014-02-28 01:33 AM
Hi
It has been a while, and I really do not feel like reading the whole thread again, so I am sorry if I am repeating anything. Go back to basics : Is the noise on the ADC supply volatge? Is the noise on the ADC reference (if it is different to the ADC supply)? Is the noise on the ADC inputs themselves?2014-06-18 05:00 AM
Hi, how are you?
Well, I have been working on a similar project, the noise is from the SDIO CLOCK PIN. I discovered this today, I'm gonna try to fix this problem... By the way, Have you solved your problem?2014-11-06 09:23 AM