Skip to content

Commit

Permalink
fixed ss pin naming
Browse files Browse the repository at this point in the history
  • Loading branch information
raihei committed Jan 16, 2025
1 parent dc7eae6 commit 1d58eb4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions firmware/conf.d/pn532_rfid-ams.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pn532_spi:
- id: rfid_reader_spi_1
cs_pin: ${rfid1_clk_pin}
cs_pin: ${rfid1_ss_pin}
spi_id: ${rfid1_spi_interface}
data_rate: ${spi_data_rate}
update_interval: ${update_interval}
Expand Down Expand Up @@ -76,7 +76,7 @@ pn532_spi:
payload: !lambda "return bambulabs::generate_mqtt_payload( id(filament_raw_data1).state, 0, 0 );"

- id: rfid_reader_spi_2
cs_pin: ${rfid2_clk_pin}
cs_pin: ${rfid2_ss_pin}
spi_id: ${rfid2_spi_interface}
data_rate: ${spi_data_rate}
update_interval: ${update_interval}
Expand Down
10 changes: 5 additions & 5 deletions firmware/esp32-s3-devkitc-1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,24 +23,24 @@ substitutions:
rfid3_ss_pin: GPIO07

# rfid4_spi_interface: SPI2
# rfid4_clk_pin: GPIO05
# rfid4_ss_pin: GPIO05

# rfid5_spi_interface: SPI2
# rfid5_clk_pin: GPIO04
# rfid5_ss_pin: GPIO04

# spi3_type: SPI3
# spi3_clk_pin: GPIO18
# spi3_miso_pin: GPIO17
# spi3_mosi_pin: GPIO16

# rfid6_spi_interface: SPI3
# rfid6_clk_pin: GPIO15
# rfid6_ss_pin: GPIO15

# rfid7_spi_interface: SPI3
# rfid7_clk_pin: GPIO9
# rfid7_ss_pin: GPIO9

# rfid8_spi_interface: SPI3
# rfid8_clk_pin: GPI14 # TODO: Verify this is compatible
# rfid8_ss_pin: GPI14 # TODO: Verify this is compatible

packages:
openspool-ams: !include openspool-ams.yaml
Expand Down
4 changes: 2 additions & 2 deletions firmware/lolin_s2_mini.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ substitutions:
rfid0_spi_interface: SPI2
rfid0_ss_pin: GPIO34
#rfid1_spi_interface: SPI2
#rfid1_clk_pin: GPIO21
#rfid1_ss_pin: GPIO21
## rfid1_spi_interface: SPI2
## rfid1_clk_pin: GPIO08
## rfid1_ss_pin: GPIO08

# D1 Mini S2 Boards will reboot when doing tasks like writing to PN532 unless wifi power is reduced
wifi:
Expand Down

0 comments on commit 1d58eb4

Please sign in to comment.