UART Control: Difference between revisions

From SpecNext Wiki
Jump to: navigation, search
Ped7g (talk | contribs)
core 3.1.4 changes/refresh
 
Ped7g (talk | contribs)
mNo edit summary
 
(One intermediate revision by the same user not shown)
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 †
Line 14: Line 15:


† either uart can be redirected to the joystick ports, see {{PortNo|$xx37}}
† either uart can be redirected to the joystick ports, see {{PortNo|$xx37}}
The remaining 14-bits of prescalar value can be written by {{PortNo|$143B}}

Latest revision as of 11:16, 4 May 2020

Number PortNumber::$153B
Decimal NumberDec::5435
Short desc. ShortDesc::Configuration of UART interfaces
Bit Mask [[PortMask::%0001 0101 0011 1011]]
Readable Readable::Yes
Writable Writable::Yes
Subsystem 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 {{#ask: TBRegisterNumber::$A0 }} ($A0)

† either uart can be redirected to the joystick ports, see {{#ask: PortNumber::$xx37 }} ($xx37{{#ask: PortNumber::$xx37 |mainlabel=- |headers=hide |intro= /  |?NumberDec#- }})

The remaining 14-bits of prescalar value can be written by {{#ask: PortNumber::$143B }} ($143B{{#ask: PortNumber::$143B |mainlabel=- |headers=hide |intro= /  |?NumberDec#- }})