tkvenki New Member Feb 14, 2007 #1 Hi, I have a question. I'm using UART of my controller for MOdbus communication. UART means it will have 1 start bit. 8 data bits. 1 partiy and 1 stop bit. But THe protocol i implement is having different format.(Modbus). Is what i'm doing is proper?? Please guide me.
Hi, I have a question. I'm using UART of my controller for MOdbus communication. UART means it will have 1 start bit. 8 data bits. 1 partiy and 1 stop bit. But THe protocol i implement is having different format.(Modbus). Is what i'm doing is proper?? Please guide me.
Nigel Goodwin Super Moderator Most Helpful Member Feb 14, 2007 #2 If the UART can't be set to the format you need, then simply write a software UART to meet the requirements.
If the UART can't be set to the format you need, then simply write a software UART to meet the requirements.
3v0 Coop Build Coordinator Forum Supporter Feb 14, 2007 #3 tkvenki said: Hi, I have a question. I'm using UART of my controller for MOdbus communication. UART means it will have 1 start bit. 8 data bits. 1 partiy and 1 stop bit. But THe protocol i implement is having different format.(Modbus). Is what i'm doing is proper?? Please guide me. Click to expand... See Modbus interface tutorial Most UARTs can be set for the number of stop bits and parity type. What processor are you using ? Are you using MODBUS RTU or MODBUS ASCII ? You told us what you have (1-8-1-1) but not what you need ?
tkvenki said: Hi, I have a question. I'm using UART of my controller for MOdbus communication. UART means it will have 1 start bit. 8 data bits. 1 partiy and 1 stop bit. But THe protocol i implement is having different format.(Modbus). Is what i'm doing is proper?? Please guide me. Click to expand... See Modbus interface tutorial Most UARTs can be set for the number of stop bits and parity type. What processor are you using ? Are you using MODBUS RTU or MODBUS ASCII ? You told us what you have (1-8-1-1) but not what you need ?