bk7231n spi0(CS=P15 SPI_SCK=P14 SPI_MOSI=P16)发送数据,问题:请问SPI_MISO=P17脚还能复用为普通gpio口吗?

Wi-Fi 设备、Wi-Fi 低功耗设备、Wi-Fi BLE 双模设备、Ethernet设备、Ethernet+Wi-Fi设备等
Post Reply
13825141849
Posts: 15

TUYA_SPI_BASE_CFG_T spi_cfg = {0};
spi_cfg.role = TUYA_SPI_ROLE_MASTER;
spi_cfg.mode = TUYA_SPI_MODE1;
spi_cfg.type = TUYA_SPI_AUTO_TYPE;
spi_cfg.databits = TUYA_SPI_DATA_BIT16;
//spi_cfg.bitorder = TUYA_SPI_ORDER_LSB2MSB; // SPI Bit order from MSB to LSB
spi_cfg.freq_hz = DRV_SPI_SPEED;
tkl_spi_init(0,&spi_cfg);

bk7231n spi0(CS=P15 SPI_SCK=P14 SPI_MOSI=P16)发送数据,问题:请问SPI_MISO=P17脚还能复用为普通gpio口吗?

13825141849
Posts: 15

Re: bk7231n spi0(CS=P15 SPI_SCK=P14 SPI_MOSI=P16)发送数据,问题:请问SPI_MISO=P17脚还能复用为普通gpio口吗?

spi0速率最大可以到多少hz?

Post Reply