Search found 2 matches
- Thu Mar 03, 2022 7:16 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: RP2040 CLOCK GPIN0 selection
- Replies: 1
- Views: 1962
Re: RP2040 CLOCK GPIN0 selection
After some digging around I found you can use: machine.mem32[Address] to read registers. I use hex(machine.mem32[0x4000806c]) . Also need to pay attention to the datasheet for the register sizes. In this case it's a 32 bit access. The results from the command clip the leading 0's. Other notes. Base ...
- Wed Mar 02, 2022 3:26 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: RP2040 CLOCK GPIN0 selection
- Replies: 1
- Views: 1962
RP2040 CLOCK GPIN0 selection
Hi, I would like to use the F8 function of GPIO20 which is Clock GPIN0. Apparently this pin can be used to take in a clock and be used to time the internal RTC. Want I would like to implement is to use an external battery backed RTC such as the DS3231 to store the time when powered off. But instead ...