Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
hi my firend
it is not as easy you say
i have three board one of them is cpu and another is analog to digital board
when data in analog board is ready cpu most understand and maybe cpu is not ready to read data so data is lost
all the port on cpu is used except two pin
thanks for your attention
As u r saying , their is a high possibility of data being lost.
Also u want to communicate 3 boards on i2c, their is also a possibility of data collision & system might get hanged.
You can do the following:
1) First of all use timeout method so that ur system will not be hanged in any case.
2) Divide the time into 3 (no of slaves to be communicated ) slots & send the data into respective slots only.
1) First store the data in ur slaves in a temp buffer along with the packet no.( here packet no is uesd as identifier) & send it to processor & do the same thing at receiving end...
Hope this will help u.