Other Parts Discussed in Thread: SYSCONFIG
Tool/software:
Hello Team,
I have one doubt on SCI and needs some help regarding this.
Scenerio:
There are 2 controllers (F28P6x and F2839x) in which they both are communicating over the SCI protocol.
So my design is based on half duplex it means only 1 controller is in tranmit mode and other one is in receiving mode at atime and there is in 1 EN pin in both the side which is controlling which one is master and which one is slave.
Initially I have made F28p6x (EN1 pin high )as a master and other one as a slave(EN2 pin low ).
So my queries are:
-After power cycle master sends data after that, EN1 pin we put in low mode to make a receiver, but I did not find any api which tell me that data has been transmitted successfully, if any api will be there it will be easy to take a decision to make a master and slave..
Can you please help into this.
As I am not using any Tx fifo.
Below are my sample code which I am using to transmit data.
Sysconfig SCI setting:
Api used for transmit the data:
Api used to check is data successfully transmitted or not : (This Api is not working).
static inline bool
SCI_isTransmitterBusy(uint32_t base)
Please let me know how I can get to know that all data has been transmitted successfully.
Thank you
Shashank