I have USB PIC device based on 18F2450 or 18F2550
It controls only one external device that is taking almost all processing power using interrupt routines.
USB reads from this device 4 times a second mostly for display purposes.
Now I want to service two more external devices, each will be using own PIC18F2420 or similar.
So I need to transfer data from these two additional PICs to USB PIC so it
can be read by USB - complete device must have only one USB interface for all 3 PICs.
It will be up to 16 bytes from each device about 4-5 times per sec.
Also in time to time PC will have to write some data to all 3 PICs.
So what will be easiest way to do it? SPI, I2C?
Any ideas?
It controls only one external device that is taking almost all processing power using interrupt routines.
USB reads from this device 4 times a second mostly for display purposes.
Now I want to service two more external devices, each will be using own PIC18F2420 or similar.
So I need to transfer data from these two additional PICs to USB PIC so it
can be read by USB - complete device must have only one USB interface for all 3 PICs.
It will be up to 16 bytes from each device about 4-5 times per sec.
Also in time to time PC will have to write some data to all 3 PICs.
So what will be easiest way to do it? SPI, I2C?
Any ideas?
Last edited: