rp2040

RP2040 Programming without SDK
Log | Files | Refs

commit ce03f9f733ec6ec8fe6c43ca89b292783dae0f85
parent bc1e6dcad3f3dac3acb8453430432ced14f887d6
Author: Matsuda Kenji <info@mtkn.jp>
Date:   Tue, 27 Feb 2024 07:51:13 +0900

I think the timer is driven by rosc

Diffstat:
Mex3/main.s | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/ex3/main.s b/ex3/main.s @@ -84,6 +84,11 @@ wait_vco: lsl r0, r0, #11 str r0, [r3, #0x48] // CLOCKS: CLK_PERI_CTRL + // disable rosc + ldr r3, rosc_base + ldr r0, =0xd1e000 + str r0, [r3, #0] // ROSC: CTRL + // setup uart0 ldr r3, uart0_base // set baudrate 115200