UroBoros
Advanced Member level 2
- Joined
- May 5, 2004
- Messages
- 642
- Helped
- 19
- Reputation
- 38
- Reaction score
- 8
- Trophy points
- 1,298
- Location
- Cochin - India
- Activity points
- 6,463
100kbps is Ok for me. But can it be safe to use between PCBs?
I need to communicate from a PIC to a series of Boards of same type. That is 12 boards of the same type will be in my product. I need to collect data from all these boards. So 12 exactly similar boards will be stacked on top and I am planning to connect all together by IIC to a Master PIC. The slave boards will be having small PIC micro as slave implemented by bit banging. That is my plan.
Is IIC ok when we are using wires to connect between PCBs like this?.
If not what else? RS485?
One issue you may encounter with I2C is the functional limits of capacitive loading, which is set forth by the I2C/SMBbus standards at 400pF.
The typical capacitive load for a PICs I/O pins is 50pF, therefore it would not be difficult to exceed the allowable maximum of 400pF.
An alternative solution would be to implement a CAN bus, which offers up to 1 Mbps data rates.
There are several PIC18s which offer CAN as built-in peripheral module and there are add-on peripheral devices which interface with SPI available as well.
BigDog
If that "Maths" is correct ,it means that even if in the same PCB we cannot connect more than 8 PIC slaves together in a IIC bus?
Is That correct?
Total Bus Capacitance (CBUS)
Bus capacitance includes all pin, connection, and wire
capacitance on the bus. Due to the RC time constant,
higher bus capacitance requires a smaller pull-up resistor
to meet a particular rise time, and therefore, clock
speed. This is an important consideration for designs
consisting of many devices on a single bus.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?