User Tools

Site Tools


nyan:lora_dev_boards

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
nyan:lora_dev_boards [2024/02/14 11:14] rivernyan:lora_dev_boards [2024/06/20 03:01] (current) river
Line 72: Line 72:
 |GPIO41 |MTDI| |GPIO41 |MTDI|
 |GPIO42 |MTMS| |GPIO42 |MTMS|
 +|GPIO3  |Switch: LOW for JTAG on pins, HIGH for USB JTAG. Function fuse dependent.|
  
-GPIO3 With fuses, affects is JTAG is enable on these pins or not. All these pins are available on the headers.+With fuses, GPIO3 sets if JTAG is enabled on these pins or not. All these pins are available on the headers.
  
 Section 8.5 shows JTAG options: Section 8.5 shows JTAG options:
Line 84: Line 85:
  
 ''espefuse.py  --port /dev/ttyUSB0 burn_efuse STRAP_JTAG_SEL'' ''espefuse.py  --port /dev/ttyUSB0 burn_efuse STRAP_JTAG_SEL''
 +
 +Read fuses:
 +
 +''espefuse.py summary''
  
 === Other === === Other ===
Line 174: Line 179:
 [[https://datasheets.raspberrypi.com/pico/Pico-R3-A4-Pinout.pdf|Pico Pinout]] [[https://datasheets.raspberrypi.com/pico/Pico-R3-A4-Pinout.pdf|Pico Pinout]]
  
 +RP2040 has two SPI controllers. It looks like Meshtastic uses SPI1 for the LoRa radio. I'll use SPI0 for the CAN controller. The shields use different pins for the SPI buses.
  
 ==== LoRa ==== ==== LoRa ====
 +
   * SX1262   * SX1262
   * 22dBm   * 22dBm
   * TX current: 118mA@22dBm   * TX current: 118mA@22dBm
-  * SPI on GP3, 10, 11, 12.+  * SPI on GP3 CS, 10 CLK, 11 MOSI, 12 MISO.
   * Has battery on PH1.25 connector   * Has battery on PH1.25 connector
   * Charger IC: MCP73831   * Charger IC: MCP73831
Line 186: Line 193:
  
 ==== CAN ==== ==== CAN ====
 +
   * [[https://www.waveshare.com/product/pico-can-b.htm|CAN Pinout]]   * [[https://www.waveshare.com/product/pico-can-b.htm|CAN Pinout]]
-  * SPI on GP4, 5 or 19 (CS), 67.+ 
 +^ GPIO ^ Function ^ 
 +| 4 | MISO | 
 +5 or 19 CS 
 +| SCK | 
 +| MOSI | 
 + 
 +==== I2C ==== 
 + 
 +RP2040 has two I2C peripherals. In Arduino they are called Wire for i2c0 and Wire1 for i2c1. 
 + 
 +I am using I2C1 on GPIOs 14 and 15, pins 19 (SDA) and 20 (SCL) on pico board.
  
nyan/lora_dev_boards.1707909272.txt.gz · Last modified: 2024/02/14 11:14 by river

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki