Hello,
I am working on a project where I need to connect a Teensy 4.1 to 4 off 23LCV1024 SRAM chips using SPI.
I have the teensy eventually talking to a single chip. I had to put some delayNanosecond calls into the code to get the timing correct. I have yet to fine tune the delay number but for the moment this is functioning.
My problem is when I add a second chip in parallel to the first. The communications stops working correctly. The way I have the two chips connected is as follows…
SO from chip 1 is connected to SO on chip 2.
SI from chip 1 is connected to SI on chip 2.
SCK from chip 1 is connected to SCK on chip 2
CS for chip 1 is connected to pin 10 on Teensy 4.1
CS on chip 2 is connected to pin 21 on Teensy 4.1
With this configuration, nothing works. If however, I disconnect the SCK link between the two chips, then I can talk to Chip 1 again.
Has none encountered anything like this or any ideas to try Please.
I am wondering if the issue is a drive issue, I.e. driving 1 chip on SCK is OK, but driving more than 1 is an issue?
Would a pull up resistor help or hinder the SCK line?
Any thoughts or suggestions welcome Thanks.
I am working on a project where I need to connect a Teensy 4.1 to 4 off 23LCV1024 SRAM chips using SPI.
I have the teensy eventually talking to a single chip. I had to put some delayNanosecond calls into the code to get the timing correct. I have yet to fine tune the delay number but for the moment this is functioning.
My problem is when I add a second chip in parallel to the first. The communications stops working correctly. The way I have the two chips connected is as follows…
SO from chip 1 is connected to SO on chip 2.
SI from chip 1 is connected to SI on chip 2.
SCK from chip 1 is connected to SCK on chip 2
CS for chip 1 is connected to pin 10 on Teensy 4.1
CS on chip 2 is connected to pin 21 on Teensy 4.1
With this configuration, nothing works. If however, I disconnect the SCK link between the two chips, then I can talk to Chip 1 again.
Has none encountered anything like this or any ideas to try Please.
I am wondering if the issue is a drive issue, I.e. driving 1 chip on SCK is OK, but driving more than 1 is an issue?
Would a pull up resistor help or hinder the SCK line?
Any thoughts or suggestions welcome Thanks.