mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
SAMD20: Now runs, but no serial output
This commit is contained in:
@@ -405,12 +405,12 @@ Serial Consoles
|
|||||||
|
|
||||||
SERCOM4 is available on connectors EXT1 and EXT3
|
SERCOM4 is available on connectors EXT1 and EXT3
|
||||||
|
|
||||||
PIN EXT1 EXT3 GPIO Function
|
PIN EXT1 EXT3 GPIO Function
|
||||||
---- ---- ------ -----------
|
---- ---- ---- ------------------
|
||||||
13 PB09 PB13 SERCOM4 / USART RX
|
13 PB09 PB13 SERCOM4 / USART RX
|
||||||
14 PB08 PB12 SERCOM4 / USART TX
|
14 PB08 PB12 SERCOM4 / USART TX
|
||||||
19 19 GND
|
19 19 GND
|
||||||
20 20 VCC
|
20 20 VCC
|
||||||
|
|
||||||
If you have a TTL to RS-232 converter then this is the most convenient
|
If you have a TTL to RS-232 converter then this is the most convenient
|
||||||
serial console to use. It is the default in all of these configurations.
|
serial console to use. It is the default in all of these configurations.
|
||||||
|
|||||||
@@ -56,13 +56,14 @@
|
|||||||
/* Clocking *************************************************************************/
|
/* Clocking *************************************************************************/
|
||||||
/* Overview
|
/* Overview
|
||||||
*
|
*
|
||||||
* OSC8M Output = 8MHz
|
* OSC8M Output = 8MHz
|
||||||
* `- GCLK1 Input = 8MHz Prescaler = 1 output = 8MHz
|
* `- GCLK1 Input = 8MHz Prescaler = 1 output = 8MHz
|
||||||
* `- DFLL Input = 8MHz Multiplier = 6 output = 48MHz
|
* `- DFLL Input = 8MHz Multiplier = 6 output = 48MHz
|
||||||
* `- PM Input = 48Mhz CPU divider = 1 CPU frequency = 48MHz
|
* `- GCLK0 Input = 48MHz Prescaler = 1 output = 48MHz
|
||||||
* APBA divider = 1 APBA frequency = 48MHz
|
* `- PM Input = 48Mhz CPU divider = 1 CPU frequency = 48MHz
|
||||||
* APBB divider = 1 APBB frequency = 48MHz
|
* APBA divider = 1 APBA frequency = 48MHz
|
||||||
* APBC divider = 1 APBC frequency = 48MHz
|
* APBB divider = 1 APBB frequency = 48MHz
|
||||||
|
* APBC divider = 1 APBC frequency = 48MHz
|
||||||
*
|
*
|
||||||
* The SAMD20 Xplained Pro has one on-board crystal:
|
* The SAMD20 Xplained Pro has one on-board crystal:
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user