Skip to main content
rpoon
Associate II
May 29, 2019
Solved

Reason of delay 200 ms after sd_lld_write function.

  • May 29, 2019
  • 2 replies
  • 801 views

Hello

Is there any specific reason behind putting this delay, if yes than what it is?

I want to manage time in my application so i tried to reduce the delay but in that case I am not able to transmit data properly.

below is the given function

 sd_lld_write(&SD1,CMD2,(uint16_t)(sizeof(CMD2)/sizeof(CMD2[0])));

osalThreadDelayMilliseconds(200);

    This topic has been closed for replies.
    Best answer by Erwan YVIN

    Hello rewatee ,

    it is better to use the Runtime IO component in SPC5Studio

    Best Regards

    Erwan

    2 replies

    Erwan YVIN
    Erwan YVINBest answer
    ST Technical Moderator
    June 28, 2019

    Hello rewatee ,

    it is better to use the Runtime IO component in SPC5Studio

    Best Regards

    Erwan

    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.
    rpoon
    rpoonAuthor
    Associate II
    July 16, 2019

    Hello Erwan

    I am facing same problem with the Runtime IO component as well. I have set the configuration parameter in Runtime io environment.

    I am using "function ioWrite(int fd, const void *buf, size_t count)" for data transmission.

    can you please provide some sample code?

    Regards

    Rewatee