cancel
Showing results for 
Search instead for 
Did you mean: 

Reason of delay 200 ms after sd_lld_write function.

rpoon
Associate II

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 discussion has been locked for participation. If you have a question, please start a new topic in order to ask your question
1 ACCEPTED SOLUTION

Accepted Solutions
Erwan YVIN
ST Employee

Hello rewatee ,

it is better to use the Runtime IO component in SPC5Studio

Best Regards

Erwan

View solution in original post

2 REPLIES 2
Erwan YVIN
ST Employee

Hello rewatee ,

it is better to use the Runtime IO component in SPC5Studio

Best Regards

Erwan

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