firmware icon indicating copy to clipboard operation
firmware copied to clipboard

I need your advice on the SPI tire on my CYD-2432S028.

Open pegor6984-cloud opened this issue 8 months ago • 1 comments

Image Image Image Image I decided to output the pins normally on my CYD-2432S028 own and tried to output the SPI bus from the SD card. I'll attach a photo, but I still can't do it, and mine CYD-2432S028 still doesn't see the CC1101 on the NRF24 and the IR LED, IR receiver.

pegor6984-cloud avatar Mar 22 '26 12:03 pegor6984-cloud

  1. Ну во первых вытащи SD карту, при её подключении шина SPI занята, и физически не может вывести твой cc1101 и nrf24

  2. Также не забывай что этот порт SD карты использует стандартные для spi пины: CS (Chip Select): GPIO 5 SCK (Clock): GPIO 18 MOSI (Data In): GPIO 23 MISO (Data Out): GPIO 19

И что тебе необходимо правильно подключить пины NRF24 к пинам SD карты, если используете IR передатчик то вам нужно правильно выбрать его в прошивке, по моему ir> config> Ir TX> выбрать пин

ТАКЖЕ: помни что у конкретно NRF24 и CC1101 пины cs (Chip select) переназначены на другие -DCC1101_SS_PIN=27 -DNRF24_SS_PIN=27 *источник CYD-2432S028.ini в boards/CYD-2432S028

Если я не ошибаюсь то пин 27 (кстати он как и spi пины другие жизнено важный для работы nrf24 и cc1101) назначен на порту cn1 где если читать с лева на право левее всех, и этот порт где-то возле разноцветного светодиода, рядом с вышеобсуждаемым портом SD карты

Если будут ещё вопросы -- спрашивайте

EN:

  1. First, remove the SD card. When it's connected, the SPI bus is busy, and you won't be able to physically access your cc1101 and nrf24.

  2. Also, don't forget that this SD card port uses standard pins: CS (chip select): GPIO 5 SCK (clock): GPIO 18 MOSI (data input): GPIO 23 MISO (data output): GPIO 19

And you need to correctly connect the NRF24 pins to the SD card pins. If you're using an IR transmitter, you need to select it correctly in the firmware. I think it's ir> config> IR TX> select pin

ALSO: remember that for the NRF24 and CC1101, the CS (Chip Select) pins are reassigned to other pins. -DCC1101_SS_PIN=27 -DNRF24_SS_PIN=27 *source CYD-2432S028.ini in boards/CYD-2432S028

If I'm not mistaken about pin 27 (by the way, it, like other pins vital for the NRF24 and CC1101 operation), being assigned to port CN1, where, if you read from the left, the right bank of all the pins is located. This port is somewhere near the multi-colored LED, next to the aforementioned SD card port.

If you have any more questions, let me know.

DESVOR8 avatar Apr 06 '26 13:04 DESVOR8