Hi,
I figured that a slave select is configured in dts as:
/* * Copyright (c) 2019 Callender-Consulting, LLC * * SPDX-License-Identifier: Apache-2.0 */ &spi1 { compatible = "nordic,nrf-spim"; status = "okay"; sck-pin = <41>; mosi-pin = <40>; miso-pin = <4>; cs-gpios = <&gpio0 23 0xff>; };
However, when there is a need for multiple slave selects, slaves have to be managed explicitly as informed in the ticket:
Here my queries are 2:
1. Is it still so..? That multiple slaves have to be explicitly managed..?
2. While controlling ss explicitly, what should be set in zephyr's spi_config.cs = ..?
struct spi_config {
uint32_t frequency;
uint16_t operation;
uint16_t slave;
const struct spi_cs_control *cs;
};
Thanks,