Questions tagged [rp2040]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
78 views

Custom RP2040 PCB Design Check (after I biffed the first one)

I'm looking for some feedback on a circuit board that I've designed for a RP2040-powered macro keypad. I am well aware that I'm in over my head on this one, but I'm excited about this project and am ...
Henry Waill's user avatar
0 votes
0 answers
68 views

RP2040 automatic BOOTSEL switching circuit

I enjoy drawing electronic circuits and making them by hand as a hobby. (Not a major, not a job) While writing a custom board based on the RP2040 chip, I am trying ...
jay k's user avatar
  • 1
1 vote
2 answers
86 views

How to correctly design the USB power and communication interface for an RP2040 PCB?

I am trying to design a board that uses the RP2040, and after several iterations I am stuck. No matter what I try, I cannot get my boards to be recognized by USB. Thus, I also can't program them. ...
Dylan Turner's user avatar
0 votes
2 answers
61 views

Is resistor needed for Flash IC?

I am making my first micro controller board with the rp2040. It requires external flash and so I picked the MT25QL128ABA1EW7 since it seems to match all the requirements based on this document: https:/...
Nico's user avatar
  • 3
2 votes
0 answers
82 views

Adding level shifter circuit conflicts with other microcontroller peripherals

I'm working on a synthesizer with multiple functionalities (OLED I2C screen, encoder, audio, midi input, several keys input) on a Xiao RP2040. I wanted to add a PS2 keyboard input. RP2040 GPIO are 3....
Sercurio's user avatar
1 vote
1 answer
115 views

RP2040 PCB not communicating over USB

I designed a RP2040 board where the github can be found here https://github.com/peterk268/Pico-Pal/tree/main I noticed I made a mistake where I accidentally connected my USB C data P1 to N1 and P2 to ...
peterk's user avatar
  • 113
2 votes
1 answer
173 views

On the Raspberry Pi Pico 2040 Pinout Diagram, why are I2C bus pairs overrepresented across pins?

Picture source: Raspberry Pi's official site RP2040 is a 32-bit dual ARM Cortex-M0+ microcontroller integrated circuit made by Raspberry Pi Ltd. In January 2021, it was released as part of the ...
user391339's user avatar
0 votes
0 answers
136 views

Valid usage of OpAmp for current sensing with motor driver

I am working on a custom PCB that can perform position control using 3 DC motors. One of the functionalities that I am trying to implement is stall detection and current limiting. I closely followed ...
Stathis's user avatar
  • 33
0 votes
1 answer
105 views

Alternatives for 0402 0.1 uF capacitors in custom RP2040 PCB

I've been designing my own custom RP2040 board, but with only a minimal number of components to do a UART and I2C peripheral, and no USB. However, the design guide https://datasheets.raspberrypi.com/...
Wayne Piekarski's user avatar
2 votes
1 answer
263 views

How to access Bluetooth LE features of CYW43439 on Raspberry Pi Pico W?

Raspberry Pi Pico W comes with a chip, CYW43439, that is capable to do WiFi and Bluetooth (both Classic and LE). According to Chapter 2.1 in Raspberry Pi Pico W:s datasheet, GPIO24, GPIO25 and GPIO29 ...
Jonas's user avatar
  • 237
0 votes
1 answer
79 views

RP2040 TM1637 connected to GPIO28-29 no display

I made my own custom RP2040 board. I'm trying to control a TM1637 chip that is placed on the same board as the RP2040. Before making the main board I did make my own small test board for the TM1637 ...
RektByMemes's user avatar
1 vote
1 answer
131 views

External voltage reference MCU RP2040 - Use of series reference?

I designed a board that uses the RP2040 Pico for its ADC and I/O. To improve the ADC of RP2040 I wanted to use an external reference. In the past, for other projects, I used as external reference a ...
Kostr's user avatar
  • 73
2 votes
1 answer
159 views

Connect two peripherals on the same SPI bus with RP2040

I'm using a RP2040 for a personal project. I'm already using the SPI0 with GPIO 3 to 6, and SPI1 with GPIO 11 to 14. Is it possible to use the SPI0 with GPIO 16 to 19 at the same time with another ...
Bouboubi's user avatar
  • 154
1 vote
2 answers
111 views

Pico / FT232H FIFO bad data

So. I've been trying for several days to get parallel data transfer from a Raspberry Pico through a FT232H to a host computer. I'd like ~25MB/s, which is why I'm trying this route in the first place....
Erhannis's user avatar
  • 177
0 votes
1 answer
67 views

Parasite cancelation on a LM386N amp

I have put together: an Raspberry Pi Pico that manages a keypad and a simple audio amp based on LM386N. The audio amp is connected via GP22 which provides PWM and plays the role of sound-audio ...
thermike's user avatar
0 votes
0 answers
77 views

simplest way implement ESC circuit for drone?

I'm designing a fun little quadcopter PCB based around the RP2040 chip and am interested to incorporate the ESCs in my design, all on one board. They don't need to be too fancy in terms of features ...
ben-kerro's user avatar
0 votes
0 answers
148 views

Weird output from TCD1304

I'm working on a project where I need to interact Arduino Nano RP2040 with TCD1304 linear CCD. I managed to solve the signal generating problem and analog reading speed problem with PIO and DMA. First,...
TWTom's user avatar
  • 1
0 votes
0 answers
63 views

SSD1351 Corruption: USB to Pico RAM to SSD1351 buffer issue

I'm trying to get a Raspberry Pi Pico connected over USB to a Pi 4 receiving the correct image data in its RAM, which is converted into a 128x128x2byte image (RGB565 color) using get_image.py (I've ...
StonedEdge's user avatar
0 votes
0 answers
48 views

USB host design

I'm trying to design a USB host device with an RP2040. I want to power my circuit using a USB-C connector using a phone charger or a power brick. The device will be powering external devices using a ...
Terumi's user avatar
  • 131
0 votes
0 answers
51 views

Pico's I2C blocking 1ms

I am using Raspberry pi pico on Arduino ide. I am using Earle's I2C library here . I want to collect microphone data in analog and adxl345 data. I want to write these datas on sd card. So I wrote a ...
Tryingtogetsome's user avatar
2 votes
2 answers
300 views

Custom RP2040 board detection and uploading issues

I have designed and tested a custom RP2040 board for simple GPIO ON/OFF functioning and everything worked just fine. Now, we have ordered 30 more of the same circuits (with same design and components)....
Samiksha's user avatar
0 votes
0 answers
90 views

SD card initialize after some minute it fails

I am using raspberry pi pico with Arduino-IDE. I need to record analog microphone datas and accelerometer data. Raspberry pi pico has 2 core so I decided to use core 1 with microphone and core 2 with ...
mrneedshelpalot's user avatar
1 vote
0 answers
237 views

Can the RP2040 be powered by two AAA batteries alone?

I want to power the RP2040 using two AAA batteries. In the official documentation it says, if I don't care too much about USB and a good ADC, I can go as low as 1.8 V to power the chip. I don't want ...
Thez's user avatar
  • 56
1 vote
2 answers
102 views

Can a Raspberry RP2040 MCU design omit USB altogether?

I've checked the Hardware design with RP2040 document and the RP2040 datasheet, but it does not answer my question: is USB mandatory in a RP2040 custom design? Could I just use a QSPI Flash, crystal ...
qux's user avatar
  • 113
0 votes
0 answers
128 views

Power schematic for RP2040 & serial resistor amount

I am trying to design a PCB with a RP2040 microchip that is able to communicate with a SpektrumRC reciever over the SRXL2 serial protocol from a JST connection. The board will be programmed over USB ...
Antonin Kostal's user avatar
0 votes
0 answers
82 views

Best approach to driving custom RGB mechanical keyboard LEDs

I am in the middle of designing a custom mechanical keyboard and have just finished the PCB schematic, but before I spend a few hours placing and routing components, I thought I might ask y'all a few ...
mistasef's user avatar
0 votes
0 answers
124 views

Electrical connection between RP2040 and ESP-12F

I'm projecting a PCB board with a Raspberry RP2040 and the WiFi module Ai-Thinker ESP-12F (it is the only available from my PCB provider) following the official documentation, but I have some doubts ...
TechRevo's user avatar
0 votes
1 answer
217 views

Where does VBUS go in the RP2040 minimal design example?

What does the arrow labelled VBUS mean in this schematic?
Raahi Singh's user avatar
0 votes
1 answer
88 views

Is there a difference between RP2040 pins and pi pico pins?

I’m trying to make an embedded system with a RP2040 chip at the center. I’m trying to connect a display to the RP2040 and all I can find is pico diagrams, so aside from pins that don’t exist on the ...
R Baker's user avatar
  • 91
1 vote
1 answer
184 views

Micropython problems on custom board using RP2040

I am designing a custom board using the RP2040 and have used the PiPico design as a reference design. I have encountered two problems with micropython: First, an anomaly - I noticed when mounting as ...
Scott's user avatar
  • 171
0 votes
2 answers
132 views

Powering a Micro-controller & PC Fan by a single DC adapter

Motivations: I want to power a microcontroller & 5V-PWM 12V-DC fan simultaneously with a 12V, 6W wall-power supply. This set-up is to form a cheap speed controlled Solder-fume extractor. PSU: 6W ...
hun's user avatar
  • 1
4 votes
2 answers
577 views

AC current on relay causes Pi Pico to reboot continuously

I'm working on a project that involves a Raspberry Pi Pico driving two 4-channel relay modules. With no power supplied to the modules, everything works great - they open and close as designed for my ...
Psyferre's user avatar
0 votes
1 answer
224 views

Alarm gets instantly fired on a Raspberry RP2040

I'm writing a program to manage the velocity of a motor that is remotely controlled. For security reasons, I want to stop the motor after one second after it receives a command if it doesn't receive ...
lasb3tas's user avatar
  • 195
1 vote
0 answers
520 views

How to provide frequency source for RP2040?

I have a few basic questions about providing a "stable external frequency source" as recommended by "Hardware design with RP2040". I would just copy the schematic from section 2.3, ...
cg_f's user avatar
  • 11
2 votes
1 answer
865 views

Problem working with MIDI on hardware serial port on Raspberry Pi Pico 2040

I'm trying to make to make a simple MIDI communication with a Raspberry Pi Pico (2040) microcontroller (Arduino core/PlatformIO). I've successfully made it work using USB MIDI with this code (using ...
risk's user avatar
  • 213
0 votes
1 answer
327 views

Correct Dielectric Height on Differential Impedance Calculation?

I'm designing a custom PCB around the Raspberry Pi RP2040 MCU. Their hardware design guideline said the traces between the USB and the termination resistors should have a differential impedance of 90 ...
Agriculex's user avatar
  • 485
0 votes
1 answer
5k views

Code protection (firmware security) in PI PICO RP2040?

What are the available code protection (firmware security) options for off chip flash in PI PICO RP2040 for industrial IP critical designs?
mmfloom's user avatar
  • 11
1 vote
2 answers
6k views

How can I pass serial data through a Raspberry Pi Pico from USB to GPIO pins to be read in another Pi Pico? [closed]

I read that the Pi Pico/RP2040 has 2 UARTs. If I want to send data from a computer to a Pi Pico, how should I create a UART that uses USB? Micropython expects pin numbers to create a UART. If I use ...
Suresh Subedi's user avatar
1 vote
5 answers
766 views

How to design configurable optocoupled I/O

I am designing an I/O board based on the RP2040. One of the design requirements states that I/O terminals must be isolated hence I'm going for optocoupled I/O using something like 6N137S1 or similar. ...
Miki's user avatar
  • 121
4 votes
2 answers
2k views

How is this peak DNL error in RP2040 ADC realised in actual use?

The errata of RP2040 datasheet mentions a peak DNL error in some values. I'm a newbie on ADCs but I always thought the DNL error is usually the same all over the range. Here itsays that it "peaks&...
Tirdad Sadri Nejad's user avatar
2 votes
2 answers
276 views

Requesting help in identifying a potential short-circuit on a microcontroller board

Recently I've been developing a board, which for me was the most complex I've ever built. Almost all components are SMT, which was new to me. And I'm running into some point of trouble. All relevant ...
justSem's user avatar
  • 43
5 votes
0 answers
876 views

Custom RP2040 PCB Not Detected by PC

I designed a custom RP2040 to control some 24V LED strips. The official hardware design guide from the Raspberry Pi Foundation is what I followed for my design. It was then sent out to JLCPCB for the ...
Agriculex's user avatar
  • 485
0 votes
0 answers
1k views

Raspberry Pi Pico: Hardware UART Tx not working

I recently got a Raspberry Pi Pico as an evaluation board for the RP2040. When I tried to use hardware UART, I found that it would not send data. To find out what was going on, I used an LED on the Tx ...
A Person's user avatar
6 votes
2 answers
7k views

Programming RP2040 with ST-LINK

Disclaimer: This is my first time using OpenOCD and programming ARM microcontroller, so I really don’t know what I am doing. I’m trying to program Raspberry Pi Pico (RP2040) board using ST-LINK/V2 (...
urhen's user avatar
  • 411
1 vote
0 answers
4k views

Sleep modes on Raspberry Pi Pico / RP2040

I am developing a circuit with Raspberry Pi Pico. To power the system from battery, I need to put the Raspberry Pi Pico / RP2040 into sleep mode in order to increase energy efficiency. For this ...
ms1963's user avatar
  • 11