# Raspberry Pi Pico & software interrupts from timer

**URL:** <https://forum.arduino.cc/t/raspberry-pi-pico-software-interrupts-from-timer/1146385>\
**Category:** 3rd Party Boards\
**Created:** [July 10, 2023, 3:40am UTC](https://forum.arduino.cc/t/raspberry-pi-pico-software-interrupts-from-timer/1146385 "2023-07-10T03:40:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ogogon](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/ogogon/32/214263_2.png) [@ogogon](https://forum.arduino.cc/u/ogogon)\
**Post date:** [July 10, 2023, 3:40am UTC](https://forum.arduino.cc/t/raspberry-pi-pico-software-interrupts-from-timer/1146385/1 "2023-07-10T03:40:46Z")

</div>

Colleagues, does anyone know how to initialize a timer on a Raspberry Pi Pico and describe it as a source of software interrupts?

There was a library on the Github, but now it is described as archived and is not is compiled on the current IDE.

I will be grateful for advice,  
Ogogon.

---

<div class="post-metadata">

**Author:** ![madmark2150](https://avatars.discourse-cdn.com/v4/letter/m/b487fb/32.png) [@madmark2150](https://forum.arduino.cc/u/madmark2150)\
**Post date:** [July 10, 2023, 4:58am UTC](https://forum.arduino.cc/t/raspberry-pi-pico-software-interrupts-from-timer/1146385/2 "2023-07-10T04:58:58Z")

</div>

This is an Ardunio forum, not raspberry pi.

---

<div class="post-metadata">

**Author:** ![b707](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/b707/32/854321_2.png) [@b707](https://forum.arduino.cc/u/b707)\
**Post date:** [July 10, 2023, 6:33am UTC](https://forum.arduino.cc/t/raspberry-pi-pico-software-interrupts-from-timer/1146385/3 "2023-07-10T06:33:35Z")

</div>

> [@ogogon](#):
>
> Colleagues, does anyone know how to initialize a timer on a Raspberry Pi Pico and describe it as a source of software interrupts?

What is the arduino package you use for Pico boards? There are more than one existed

---

<div class="post-metadata">

**Author:** ![ogogon](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/ogogon/32/214263_2.png) [@ogogon](https://forum.arduino.cc/u/ogogon)\
**Post date:** [July 10, 2023, 1:02pm UTC](https://forum.arduino.cc/t/raspberry-pi-pico-software-interrupts-from-timer/1146385/4 "2023-07-10T13:02:22Z")

</div>

> [@b707](#):
>
> What is the arduino package you use for Pico boards? There are more than one existed

> **[GitHub - earlephilhower/arduino-pico: Raspberry Pi Pico Arduino core, for all...](https://github.com/earlephilhower/arduino-pico)**
>
> Raspberry Pi Pico Arduino core, for all RP2040 boards - GitHub - earlephilhower/arduino-pico: Raspberry Pi Pico Arduino core, for all RP2040 boards

I found this one. If you think that there are some more complete and functional, please give links to them.

---

<div class="post-metadata">

**Author:** ![b707](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/b707/32/854321_2.png) [@b707](https://forum.arduino.cc/u/b707)\
**Post date:** [July 10, 2023, 1:26pm UTC](https://forum.arduino.cc/t/raspberry-pi-pico-software-interrupts-from-timer/1146385/5 "2023-07-10T13:26:58Z")

</div>

> [@ogogon](#):
>
> There was a library on the Github, but now it is described as archived and is not is compiled on the current IDE.

Do you try to compile it? Please show the compiler output.

By the way, if you use Earle Philhower package - you can to call Pico SDK functions directly from your arduino code. Look at the Pico examples:

> <https://github.com/raspberrypi/pico-examples/tree/master/timer>
>
> //github.com/raspberrypi/pico-examples/tree/master/timer

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [January 6, 2024, 1:27pm UTC](https://forum.arduino.cc/t/raspberry-pi-pico-software-interrupts-from-timer/1146385/6 "2024-01-06T13:27:17Z")

</div>

Closed on January 6, 2024, 1:27pm UTC

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
