How many slave devices can be connected in part STM32F303ZET6 using SPI interface?
I am planning to connect directly 40 ADC (AD7719). Is it possible with the 4x SPI available?
I am preferring CS mode.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-12-20 6:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-12-20 7:25 AM
Hello @KJ.4​ ,
In a configuration with two or more independent slaves, the master uses GPIO pins to manage the chip select lines for each slave.
The master must select one of the slaves individually by pulling low the GPIO connected to the slave NSS input.
Example: ( see RM0316 section 30.5.3 ) link.
Also as solution, you can work with the 4 SPI instances ( 1,2,3 & 4).
Foued
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-12-20 8:02 AM
Missing constrains to narrow down to the right options. ADC spi frequency, bus capacitance load and related bus length, are all the measurements synchronized? How many dma channels for how many spi?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-12-20 8:16 AM
What is "CS mode"?
If 8-bit, LSB-first, not-that-high-baudrate is OK, USARTs can be used as SPI masters, too.
JW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-12-20 1:00 PM
Thanks for the update Khalsi Foued.
Can I able to connect one MISO and SCLK line to 40 slaves?
Will there be any fanout issues?
I can see input capacitance of Slave is 10pf.
Is this one MISO and SCLK line have enough drive strength to drive 40 slaves?
Please advice on SCLK, MISO & MOSI connections.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-12-22 1:13 AM
Hi Khalsi Foued, any update on this question?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-12-22 1:40 AM
Can I able to connect one MISO and SCLK line to 40 slaves(AD7719)?
SPI Frequency is 307KHz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-12-22 1:41 AM
Chip select mode.
Can I able to connect one MISO and SCLK line to 40 slaves(AD7719)?
