Hi everybody!
Currently doing renovation of my old house and because of a roughcast on one level I can't chiseling slots for new wires because I never can clone roughcast pattern transitions that you don't end up seeing that some one messed it up somehow. Because of that I need to reuse some traditional 3 wire NYM-J cables as RS485 bus (A,B,GND). Unfortunately in one place I can't avoid a star cabling and can't find the right bus termination that this star cabling combination of NYM-J wires and EIB wires works reliable with the speed I need. I know that star wiring and RS485 is a problem on it's own, but normally I always found a working setup even if I was not able to avoid star cabling. In this case the center of the star is near by by my gateway node and I could split off the star into two bus wires but for that I would need two transceivers and different RS485 subnets within souliss.
I can't find any information on how to setup this dual transceiver approach. Souliss UART configuration does not look like it's possible at all .
This ist the setup I use on my gateway with a single RS485 transceiver:
#define USARTDRIVER_INSKETCH
#define USARTDRIVER Serial3 // ony available on ATmega2560 RX=PIN15,TX=PIN14
#define USART_TXENABLE 0 // Activate the USART_TXENPIN pin before any transmission
#define USART_TXENPIN 25 // The pin to use to active the transmission (not required by current UART RS485 Module)
#define USART_MAXRETRY 20
#define USARTBAUDRATE_INSKETCH
#define USART_BAUD9k6 0
#define USART_BAUD19k2 0
#define USART_BAUD57k6 0
#define USART_BAUD115k2 0
#define USART_BAUD256k 1
Is there any chance to configure two receivers to allow some configuration for the gateway node like this:
//TCP/IP Ethernet configuration
uint8_t ip_address[4] = {192, 168, 254, 10};
uint8_t subnet_mask[4] = {255, 255, 254, 0};
uint8_t ip_gateway[4] = {192, 168, 254, 1};
//vNet Configuration
#define vNet_subnet 0xFF00
#define vNet_ip_gateway ip_address[3] // Gateway LAN address
#define vNet_rs485_gateway1 0xCE01 // Gateway RS485 Port 1 at Serial 3
#define vNet_rs485_gateway 2 0xCF01 // Gateway RS485 Port 2 at Serial 2
Thanks a lot for reading!
Maybe someone of you has a constructive advice for me?
Best,
Thomas