lpcware

software UART

Discussion created by lpcware Employee on Jun 15, 2016
Content originally posted in LPCWare by torus on Thu Aug 09 09:06:51 MST 2012
Hi.
  I have 2 serial devices that are fixed at different baud rate.  One for reading input(RFID), and one for writing output(serial to LCD), so I need one software UART to go along with the hardware UART.

  output is at 9600.  I can get both software and hardware UART to output fine(using uart.c from CMSIS and the softwareUART from AN10955).  The software UART can read at 9600, except it gets garbage since the RFID reader is 2400.  so I changed BIT_LENGTH from 7500 to 30000.  When I hook it up, I can't get any reading from the RFID, not even garbage.  Please advice if you can see an immediate problem.  thanks

Outcomes