jamesbowman / swapforth

Swapforth is a cross-platform ANS Forth
BSD 3-Clause "New" or "Revised" License
275 stars 55 forks source link

Fix for uart.v #58

Open igor-m opened 6 years ago

igor-m commented 6 years ago

This uart.v fix works better here under mecrisp-ice, it allows to RX at 36MHz//115k (PLL based), UP5k. As I've explained in my comment ("serial data corruption at 460800 ") I've changed the baudrate counters such they compare around 0, not at the limit. That could be faster than (coutner == limit). I've added a 2FF synchronizer at uart_rx input (3FF could be even better).

uart_IM.txt