- Posts: 972
- Thank you received: 167
Question about custom BOB for a 7i92
- blazini36
- Offline
- Platinum Member
-
Less
More
3 years 6 months ago #270234
by blazini36
Replied by blazini36 on topic Question about custom BOB for a 7i92
PCW, any thoughts on adding an external SPI connector on the same channel as the 4 onboard devices?
Not sure if this is a great idea but I started reworking the PCB with the multiplexer and decoder you suggested and since I have a bunch of extra CS lines and a spare pin for MOSI.....
The thought is to use a buffer IC like a CD74HC126 on the external connector as I'm sure the drive strength would be an issue. I have no actual use for this ATM, just "might as well"
Not sure if this is a great idea but I started reworking the PCB with the multiplexer and decoder you suggested and since I have a bunch of extra CS lines and a spare pin for MOSI.....
The thought is to use a buffer IC like a CD74HC126 on the external connector as I'm sure the drive strength would be an issue. I have no actual use for this ATM, just "might as well"
Please Log in or Create an account to join the conversation.
- PCW
- Offline
- Moderator
-
Less
More
- Posts: 18115
- Thank you received: 5334
3 years 6 months ago #270262
by PCW
Replied by PCW on topic Question about custom BOB for a 7i92
Yes, you could add an external SPI port
Note that if you buffer MISO you need to
enable the buffer with the chip select
(and that buffering will slow things down a bit)
Note that if you buffer MISO you need to
enable the buffer with the chip select
(and that buffering will slow things down a bit)
The following user(s) said Thank You: blazini36
Please Log in or Create an account to join the conversation.
- blazini36
- Offline
- Platinum Member
-
Less
More
- Posts: 972
- Thank you received: 167
3 years 6 months ago - 3 years 6 months ago #270266
by blazini36
Also thinking of multiplexing the outputs so I can squeeze 2 more stepgens in there for rev2. I only see "OutM" in the hostmot2 docs, I assume that's an output mux that I can use a multiplexer with 3 address lines and a direction line with like inMux? Can the FPGA handle 8 stepgens along with the rest of what I stuffed in there?.
That first pinout still relates to the PCB I have on the way so that's the actual firmware I need for now (with the frame pin on CS_A1 as you suggested).
Replied by blazini36 on topic Question about custom BOB for a 7i92
I was planning on using an on-board jumper to enable all buffers as well as the buffering the external CS (maybe not necessary with the decoder output), so basically the connector is dead unless the jumper is on and presumably not being instantiated via the component.....or is there some issue with the MISO buffer being on when the external chip is not selected via CS?Yes, you could add an external SPI port
Note that if you buffer MISO you need to
enable the buffer with the chip select
(and that buffering will slow things down a bit)
Also thinking of multiplexing the outputs so I can squeeze 2 more stepgens in there for rev2. I only see "OutM" in the hostmot2 docs, I assume that's an output mux that I can use a multiplexer with 3 address lines and a direction line with like inMux? Can the FPGA handle 8 stepgens along with the rest of what I stuffed in there?.
That first pinout still relates to the PCB I have on the way so that's the actual firmware I need for now (with the frame pin on CS_A1 as you suggested).
Last edit: 3 years 6 months ago by blazini36.
Please Log in or Create an account to join the conversation.
- PCW
- Offline
- Moderator
-
Less
More
- Posts: 18115
- Thank you received: 5334
3 years 6 months ago #270271
by PCW
Replied by PCW on topic Question about custom BOB for a 7i92
There is no muxed output module currently So I would not count on that
(If i do this eventually I would use a shift register like the 74HCT595)
(If i do this eventually I would use a shift register like the 74HCT595)
Please Log in or Create an account to join the conversation.
- blazini36
- Offline
- Platinum Member
-
Less
More
- Posts: 972
- Thank you received: 167
3 years 6 months ago - 3 years 6 months ago #270273
by blazini36
Replied by blazini36 on topic Question about custom BOB for a 7i92
Have to figure out whether I want to ditch SS or not then, starting to ask alot of that little board.
I'm not terribly familiar with decoders, multiplexers or SPI in general but this is what I'm looking at.
Edit, Edit,
Had to look at it about three times to understand the issue. I suppose the issue is the buffer overcoming the MISO line cancelling out the other devices on the line?
BTW, appreciate the help.....didn't expect it to get this complicated.
I'm not terribly familiar with decoders, multiplexers or SPI in general but this is what I'm looking at.
Edit, Edit,
Had to look at it about three times to understand the issue. I suppose the issue is the buffer overcoming the MISO line cancelling out the other devices on the line?
BTW, appreciate the help.....didn't expect it to get this complicated.
Last edit: 3 years 6 months ago by blazini36.
Please Log in or Create an account to join the conversation.
- blazini36
- Offline
- Platinum Member
-
Less
More
- Posts: 972
- Thank you received: 167
3 years 6 months ago #270281
by blazini36
Replied by blazini36 on topic Question about custom BOB for a 7i92
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.785 seconds