AnsweredAssumed Answered

timeout function

Question asked by ItamarEliyahu on Apr 22, 2014
Latest reply on Apr 23, 2014 by ThierryNolf

Hi All

I want to control some device supports SPI using 2 SPORT channels.

When sending reading address through SPORT ch 0 to the device(MOSI),  i need to wait for data in SPORT  ch1 (MISO)- under the same CS.

It works when i wait for Channel 0 Data Buffer Status to be empty and then for  Channel 1 Data Buffer Status to be full.

I want to implement timeout option that avoid wait for the data for a long time - How should i do so?

Itamar

Outcomes