Did anyone provide me a complete code for
1) transmitting a sequence of byte from microblaze in spartan 3a
2) Receiving the Sequence of byte in microblaze from external world(External Device) in spartan 3A.
External Device is Rs-485 based communication with baud rate 9600bps. Please let me know the code for this.
Go to the API documentation of the RS232DCE or some thing which you have selected while generating the Base system builder. There you would find all the global declarations of transmitting and receiving the data..For example, if you have selected Uart , then to initialise the uart you can use XUartLite_Initialize() , for sending data, XUartLite_SendByte() and for receiving data,XUartLite_RecvByte() .