Re:Nvidia Unveils GeForce RTX 30 Series GPUs
by jacquesm on Tuesday September 01, 2020 @06:05PM
(#24347681)
Depends on how you configure the chip. You don't actually need a chip, you can bit-bang serial just fine if you have accurate enough timing.
Typically a serial port would contain a small buffer which would fill up, upon completion of the first byte an interrupt would be generated and you'd respond to that and read out the register freeing up room for more bytes to be received. Transmit the same but reversed, as soon as a byte had left the shifter in the chip it would generate an interrupt so you could re-use that space for more bytes to send.
This works quite well. Hardware flow control can help in case the OS doesn't respond fast enough to the interrupts, so you don't lose characters.
Re:Nvidia Unveils GeForce RTX 30 Series GPUs
by simcop2387 on Tuesday September 01, 2020 @05:54PM
(#24347572)
It can do both, but I believe you need hardware flow control working to get proper interrupt behavior for that. I don't think any mice actually did it that way back in the day.
If itβs possible to interrupt on a serial port, are there existing examples of how to configure a mouse or keyboard to interrupt over a serial port?