This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

FDK communication

hello i want to  know that i want to use GPIO2-3 as Software based UART and i want to communicate it with PIC16f877a ..i want knw that is this possible to do so??then how it is thanks

  • Could you please give out more details about the device and platform that you are using? How does this related to FDK or you plan to do with FDK?

    regards

    Wen

  • Actually we are designing a remote attendance system that is going to be implemented in schools in rural areas to increase the education rate....
    We want that " a teacher comes.put his thumb on the sensor and its recognition and all that processing stuff happens and an authentication is sent through a GSM module connected to the FDK. to a remote server placed in an urban area. we cant use any computers there because everything has to be cheap. i mean total cost should be kept very low.

    so for connecting KEY-pad LCD  and gsm module there arent enough pins.There is only one UART is available and it is already used..Dont have any idea how to use I2c or SPI(reluctant in modifying the board). so we thought that we should make a software UART,connect it with PIC 16f877a then connect all those LCD stuff with PIC.

  • In general, two GPIO pins should be enough for low data rate UART. Say, for example, 9600 (baud rate). But if you need higher speed transfer,  then you will need other hardware solution.

    I don't have a software UART that is running on C5515/FDK. But basically you set one GPIO as output for TX, another as input for RX. Then software will emulate the waveform, any software example for UART should be very similar.

    Regards

    Wen

  • Well actually i already know what your are telling me.I want help or code  in converting Gpio into UART.