Questions tagged [rp2040]

67 questions
0
votes
0 answers

(Micro)Python UART response ends with "#Eg[" or adds characters

from machine import Pin, I2C, UART import utime from ustruct import unpack import time checkCardCmd = bytes([0xff,0x00,0x01,0x83,0x84]) getFirmwareVersionCmd = bytes([0xff,0x00,0x01,0x81,0x82]) uart = UART(1, baudrate=19200, bits=8, parity=None,…
Bento
  • 725
  • 2
  • 8
  • 22
0
votes
0 answers

Arduino NANO RP2040 Connect Serial Passthrough not working

is it possible to do a serial Passthrough to the ESP32 chip on the Wifinina module like with the Arduino Nano Iot? I tried the example sketch, but that does not seem to have an implementation for the RP2040 connect. The SerialPassthrough Sketch from…
Alex98776
  • 11
  • 3
0
votes
2 answers

Cortex-M0+ not responding to PendSV

I'm running on a Raspberry Pi Pico (RP2040, Cortex-M0+ core, debugging via VSCode cortex-debug using JLink SWD), and I'm seeing strange behaviour regarding PendSV. Immediately prior, the SVCall exception handler requested PendSV via the ICSR…
Jeremy
  • 5,055
  • 1
  • 28
  • 44
-1
votes
1 answer

rp2040 DMA channel hung, baremetal

I'm trying to trigger a DMA channel to perform a memory-to-memory transfer within the SRAM. The channel throws up the busy flag, but there is no change to the transfer count. I have the following code: ;reset dma ldr r0, *resets_clr ;clear…
-2
votes
0 answers

I need help communicating from Android app to HM-11 on arduino via BLE

I am trying to establish a connection between my Android app and my rp2040 via BLE. On the rp2040 side i use a HM-11 modlue. This is my code for establishing a connection on the android side written in Kotlin: private fun connectToDevice(device:…
-2
votes
0 answers

"C" and "circuit-python" convert seconds, to hours minutes seconds day month year. for rp2040 mcu on WOKWI don't know neonics

I don't know enough C and circuit-python mnemonics to convert seconds to 28 year epoch, for rp2040 mcu scripts on WOKWI. This first code block is my micropython attempt. I don't know how to declare a 64 bit number and the variable containing the…
1 2 3 4
5