mrinalmani
Advanced Member level 1
- Joined
- Oct 7, 2011
- Messages
- 466
- Helped
- 60
- Reputation
- 121
- Reaction score
- 59
- Trophy points
- 1,318
- Location
- Delhi, India
- Activity points
- 5,335
Confusion between CAN, RS232 and RS485
Hi
Up till now I have only worked with SPI and I2C serial protocols. But now I have a project that needs an inverter to communicate with a battery pack. The battery pack has a controller chip.
The communication options as specified by the end user are:
1. RS232
2. RS485
3. Modbus
4. CAN
Any one can be used.
After a quick internet search I got to know that RS232 and RS485 are only physical layer protocols. The MAC layer is not defined. On the other hand CAN defines all the layers except physical layer (not sure)
My question is
1. Is there some information missing that the user must provide? For example what MAC protocol is to be used with RS232 or RS485, or is there a de-facto that is understood if not explicitally told?
2. Does CAN bus have a physical layer definition?
3. Is it probably CAN with RS485 as physical layer?
Thanks
Hi
Up till now I have only worked with SPI and I2C serial protocols. But now I have a project that needs an inverter to communicate with a battery pack. The battery pack has a controller chip.
The communication options as specified by the end user are:
1. RS232
2. RS485
3. Modbus
4. CAN
Any one can be used.
After a quick internet search I got to know that RS232 and RS485 are only physical layer protocols. The MAC layer is not defined. On the other hand CAN defines all the layers except physical layer (not sure)
My question is
1. Is there some information missing that the user must provide? For example what MAC protocol is to be used with RS232 or RS485, or is there a de-facto that is understood if not explicitally told?
2. Does CAN bus have a physical layer definition?
3. Is it probably CAN with RS485 as physical layer?
Thanks