- Posts: 972
- Thank you received: 167
Question about custom BOB for a 7i92
- blazini36
- Offline
- Platinum Member
-
Less
More
3 years 5 months ago #271797
by blazini36
Replied by blazini36 on topic Question about custom BOB for a 7i92
I'm sure a variable delay would not be an issue, I'd think overall hardware delays would be greater than anything in the FPGA module. Delays themselves aren't really a major issue anyway as long as things happen reasonably fast which even the current setup seems fast enough , the biggest thing is the consistency of the overall cycle. If it took 300ns to do the whole thing the first time, doing it faster the 2nd time would actually be worse.If this is done at high speeds could a variable delay be sufficient?
Please Log in or Create an account to join the conversation.
- PCW
- Offline
- Moderator
-
Less
More
- Posts: 18115
- Thank you received: 5334
3 years 5 months ago #271798
by PCW
Replied by PCW on topic Question about custom BOB for a 7i92
What I was asking is could a variable time delay triggered by an input pin
accomplish your task? If so this is already supported in hardware
accomplish your task? If so this is already supported in hardware
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 5 months ago #271801
by blazini36
Replied by blazini36 on topic Question about custom BOB for a 7i92
Sorry I misunderstood. I think I get what you mean now. I assume that would look something like the velocity or encoder position of the roller controlling delay setting?....which actually sounds like it could work fairly reasonably as a simple way of doing it. That might actually work well for that test scenario but the real use is a bit more complicated. I wouldn't use that since I have a more flexible way of doing it with a hal component. Merging that hal logic into a firmware module would be the best way to do it but it works well enough even with the stackup of software and ethernet IO read/write variations.
I've been using that for several years, this guy actually tried something similar with LinuxCNC and a 7i76e then switched to using his own firmware on a DExx Nano (altera FPGA).
Fundamentally a similar thing to what I'm doing but you can see the difference between when he used a software implimentation vs full FPGA. I spoke to this guy a couple times, was curious why he didn't just try to write a hm2 module to do everything....he seemed to have the skill.
I've been using that for several years, this guy actually tried something similar with LinuxCNC and a 7i76e then switched to using his own firmware on a DExx Nano (altera FPGA).
Fundamentally a similar thing to what I'm doing but you can see the difference between when he used a software implimentation vs full FPGA. I spoke to this guy a couple times, was curious why he didn't just try to write a hm2 module to do everything....he seemed to have the skill.
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 5 months ago #271850
by blazini36
Replied by blazini36 on topic Question about custom BOB for a 7i92
PCW when you get a chance just let me know if that schematic usage an the pinout I posted yesterday jives so I can send that next rev out.
Please Log in or Create an account to join the conversation.
- PCW
- Offline
- Moderator
-
Less
More
- Posts: 18115
- Thank you received: 5334
3 years 5 months ago #271889
by PCW
Replied by PCW on topic Question about custom BOB for a 7i92
Looks OK to me
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 5 months ago #271992
by blazini36
Replied by blazini36 on topic Question about custom BOB for a 7i92
If just using 2 chips on BSPI, You just use 2 chip select pins and there is no frame pin right?
I just had the epiphany that I should probably just drop the 4 ADCs and use a 2nd 8bit MCU with analog inputs since I'm already in MCU land now.
I just had the epiphany that I should probably just drop the 4 ADCs and use a 2nd 8bit MCU with analog inputs since I'm already in MCU land now.
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.453 seconds