Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
controllers [2022/06/11 16:36] – [Commands from the console] admin | controllers [2022/06/11 16:45] – [Commands from the console] admin | ||
---|---|---|---|
Line 20: | Line 20: | ||
A controller is activated (both for transmission and reception) by setting its CTS pin high. Controllers can request attention from the console when they have data to send using their RTS line. | A controller is activated (both for transmission and reception) by setting its CTS pin high. Controllers can request attention from the console when they have data to send using their RTS line. | ||
+ | |||
+ | The RTS line changes can be detected using IRQ5. Events on the UART (transmit or receive complete) can be detected using IRQ3. | ||
The general way to handle this is as follows, starting from an idle state with all CTS low and no pending data transfers | The general way to handle this is as follows, starting from an idle state with all CTS low and no pending data transfers | ||
Line 142: | Line 144: | ||
===== Commands from the console ===== | ===== Commands from the console ===== | ||
- | 71 is sent during boot to start the controller. | + | 71 or 70 is sent during boot to start the controller |
61, 62, 64 and 68 are sent in reply to color buttons presses. I suspect this controls the lights in the buttons. | 61, 62, 64 and 68 are sent in reply to color buttons presses. I suspect this controls the lights in the buttons. |