0

Is there a way to use the SPI on pi for UART communications without any external hardware?

Is there a library in C for this?

2
  • 1
    See raspberrypi.stackexchange.com/questions/24019/… especially @joan 's answer. Maybe the mentioned library is helpful.
    – Ghanima
    Commented Nov 4, 2014 at 8:40
  • 2
    I have written many 'bit-bang' communication protocol drivers using only GPIO pins. In general, this means timing is VERY important and interrupts must be disabled so no unexpected delays occur. It often also means counting the execution time of every instruction involved in the protocol driver. If you find a ready made drive, you should use it rather than rolling your own driver Commented Mar 29, 2015 at 5:35

0

Browse other questions tagged or ask your own question.