Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5114

General discussion • Re: RP2040 Always in booting to BOOTSEL

$
0
0
The chip select pin to the flash is strange to me ... The cs at the pin seems to only go down to 3.15V, but after the 1k resistor it goes to 0v when the button is pressed. One would think the cs pin should be connected in between the resistor and button to pull it low.

Code:

  FLASH                  RP2040.-------.              ||    __ |              ||    CS |-----.--------| QSPI_SS|       |    .|.       |`-------'    |_| 1K    |              |              O |-.              O |-'  "BOOTSEL"             _|_
The circuit is designed so a BOOTSEL button push has insignificant affect on the CS / QSPI_SS signal when QSPI_SS is output - Normal execution mode.

When QSPI_SS is an input with an internal pull-up resistor enabled, QSPI_SS input will read as high when the BOOTSEL button is not pushed, low when it is - BOOTSEL button reading mode.

In BOOTSEL button reading mode the CS will reflect the button push state but that doesn't matter because the Flash chip is not being interacted with except in normal execution mode.

Statistics: Posted by hippy — Fri Feb 23, 2024 11:47 am



Viewing all articles
Browse latest Browse all 5114

Trending Articles