I'm a new user of the digital discovery, which already helped my a lot, but now I'm stuck. In my application I first have to configure a DDS by sending few words by SPI to it, and then I have to read an ADC by SPI. These two devices have separate SPI bus.
The DDS is connected like this: nCS = DIO34, SCLK = DIO33, MOSI = DIO35
The ADC is connected like this: nCS = DIO31, SCLK = DIO30, MISO = DIO29
Is there a way by script to first write to the DDS, then reconfigure the SPI protocol pins to connect to the ADC and then read it?
Question
Etienne
Hello,
I'm a new user of the digital discovery, which already helped my a lot, but now I'm stuck. In my application I first have to configure a DDS by sending few words by SPI to it, and then I have to read an ADC by SPI. These two devices have separate SPI bus.
The DDS is connected like this: nCS = DIO34, SCLK = DIO33, MOSI = DIO35
The ADC is connected like this: nCS = DIO31, SCLK = DIO30, MISO = DIO29
Is there a way by script to first write to the DDS, then reconfigure the SPI protocol pins to connect to the ADC and then read it?
Thanks in advance.
Best regards
Etienne
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.