I have a custom board design by using a LPC2388. I have tested it with simple UART code, it's transmitting and receiving data properly. Now I am looking forward to implement a master slave communication, One master and multiple slave(24), but some restriction, as shown in attach image uart.png. I need some guidance were to start, how to add our own protocol. It will be more helpful, if I get some library or demo code for rs485 master slave communication(LPC2388).
thanks & regards