Post #4385201
2026-08-04 22:36 UTC
Replies (1)
-
@crashtestdev@woof.tech 2026-08-04 22:44
It was initially rather confusing, pressing a key seemed to send a random character every time, and this was looking at the scope so serial settings wouldn't account for that But serial in did something interesting, with 9600 7M2, sending a CTRL + G rang the bell! It's successfully reading and processing serial input, but what is happening internally with TX?! There was more symptoms, setting it to LOCAL mode and pressing CTRL + G on the built in keyboard it still wouldn't ring it's own bell, I figured it wasn't reading it's own keyboard correctly And more weirdly, the characters it was sending weren't random, each button on the keyboard pressed repeatedly send a series of 7 bytes starting with it's own value and ending on 0x7D and looping back again The wonderful Philpem to the rescue remembered that the keyboard is multiplexed on the TC-2 board as per the functional block diagram, sure enough he was right! Looking at the multiplexer I saw that it was being controlled by a 4 bit counter, probing that counter showed something very interesting, with each key press terminal side, the counter would increment, before resetting, which explained the 7 character sequence! Looking for the source of this clocking, showed it was coming from CBUSY from the serial communication card, this card is oddly an optional extra and it can work without it, we determined that this was a totally normal signal which indicated that the serial card was busy sending data