AnsweredAssumed Answered

usart + sd card interaction

Question asked by melamud.michael on Mar 5, 2013
Latest reply on Mar 6, 2013 by Clive One
Hi,

I am using STM3240G-Eval , i know that in this evaluation board MicroSD Card shares I/Os with motor control, RS-232 and audio .
So i am trying to work around this limitation.

I have the following flow :

initUSART();

While(1)
{
     EnableUSARTinterrupts()
     waitforinputfromRS232();
     DisableUSARTinterrupts();
     InitSD();
     DoSomeSDStuff();
     DeInitSD();
  }

In the first iteration everything works correctly ,but in the second one i recive wrong data,or i am not receving any data at all ( even though that i re-enabled the interrupts)


Any ideas ?

Thanks
Michael

Outcomes