diff options
Diffstat (limited to 'sysmoOCTSIM/main.c')
-rw-r--r-- | sysmoOCTSIM/main.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sysmoOCTSIM/main.c b/sysmoOCTSIM/main.c index 09d766e..50e82c6 100644 --- a/sysmoOCTSIM/main.c +++ b/sysmoOCTSIM/main.c @@ -18,6 +18,7 @@ #include <parts.h> #include <hal_cache.h> +#include <hri_port_e54.h> #include "atmel_start.h" #include "atmel_start_pins.h" @@ -54,6 +55,10 @@ static void board_init() cache_init(); cache_enable(CMCC); + + /* increase drive strength of 20Mhz SIM clock output to 8mA + * (there are 8 inputs + traces to drive!) */ + hri_port_set_PINCFG_DRVSTR_bit(PORT, 0, 11); } int main(void) |