I have PIC 16F877A will use the serial port from it which mean I save the program in its
and I want drive the SSC-32 by my PIC
So, will operate the SSC-32 TX.RX to connected with the PIC
The problem [How]
How the SSC-32 RX the data from the PIC
How the SSC-32 TX the data to the PIC for EX if we have interrupt
How to know the baud rate synchronous with its
Sorry, not much to go on here. Don’t use Pics very often, except a few times with the Basic Micro Nano, which has additional software support.
The obvious easiest answer is if possible connect the pins from the PICs usart to the TX/RX pins of the SSC-32, then simply configure the USART on the PIC to one of the desired baud rates… Don’t know what processor speed you are using, but sometimes difficult to get correct baud rates… Majority of time these IO pins are connected to a serial connection that you are using for something else, like programming the chip or debug terminal…
So If you can not use the USART, you will need to connect it using one or two IO pins (You only need to connect the TX pin of SSC-32 if you wish to get information back from it), to your PIC. You can usually use almost any IO pin on the PIC for this. You will then need some software (often called bit-bang or Software Serial) that will generate the appropriate pulses for the baud rate you choose. Most development platforms have library code that will do this. Not sure what you are using. Also in most cases you can probably simply do a search to find this.
In all cases you will also need a common ground wire, between the two boards…