Difference between revisions of "UART Control"

From SpecNext official Wiki
Jump to: navigation, search
(core 3.1.4 changes/refresh)
 
m
Line 1: Line 1:
 
{{Port
 
{{Port
 
|Number=$153B
 
|Number=$153B
 +
|NumberDec=5435
 +
|PortMask=%0001 0101 0011 1011
 
|ShortDesc=Configuration of UART interfaces
 
|ShortDesc=Configuration of UART interfaces
 
|Readable=Yes
 
|Readable=Yes
 
|Writable=Yes
 
|Writable=Yes
 
|Subsystem=UART
 
|Subsystem=UART
|PortMask=%0001 0101 0011 1011
 
 
}}
 
}}
 
: bit 6 = 0 to select the esp uart, 1 to select the pi uart †
 
: bit 6 = 0 to select the esp uart, 1 to select the pi uart †

Revision as of 11:04, 4 May 2020

Number $153B
Decimal 5435
Short desc. Configuration of UART interfaces
Bit Mask %0001 0101 0011 1011
Readable Yes
Writable Yes
Subsystem UART
bit 6 = 0 to select the esp uart, 1 to select the pi uart †
bit 4 = 1 if the bits 2:0 are being written
bits 2:0 = most significant bits of the 17-bit prescalar setting baud rate

pi gpio must be configured for uart, see Pi Peripheral Enable Register ($A0)

† either uart can be redirected to the joystick ports, see Kempston Joystick 2, Joystick I/O ($xx37 / 55)