[riot-notifications] [RIOT-OS/RIOT] drivers/sx126x: Add support for Nucleo -WL55JC (#16579)
Akshai M (Augustus Diode)
notifications at github.com
Mon Jun 28 18:18:14 CEST 2021
@akshaim commented on this pull request.
> +#if defined(CPU_FAM_STM32WL)
+ spi_acquire(dev->params->spi, SPI_CS_UNDEF, SX126X_SPI_MODE, SX126X_SPI_SPEED);
+ /* Pull NSS low */
+ PWR->SUBGHZSPICR &= ~PWR_SUBGHZSPICR_NSS;
+ spi_transfer_bytes(dev->params->spi, SPI_CS_UNDEF, true, command, NULL, command_length);
+ spi_transfer_bytes(dev->params->spi, SPI_CS_UNDEF, false, NULL, data, data_length);
+ /* Pull NSS high */
+ PWR->SUBGHZSPICR |= PWR_SUBGHZSPICR_NSS;
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications