- Posts: 972
- Thank you received: 167
Question about custom BOB for a 7i92
- blazini36
- Offline
- Platinum Member
-
I don't suppose the hm2 sources are still available? It looks like LinuxCNC archived the repo, I didn't see any 7i92 in there anyway. Looks like Eyefinity has a free license so I wouldn't mind taking a crack at it if I can figure it out. I've done it several times on a hm2 Altera port in MK but I think MK dumbed that whole thing down a bit, or maybe Quartus is just super easy to figure out.
Please Log in or Create an account to join the conversation.
- PCW
- Offline
- Moderator
-
- Posts: 18115
- Thank you received: 5334
Please Log in or Create an account to join the conversation.
- blazini36
- Offline
- Platinum Member
-
- Posts: 972
- Thank you received: 167
All I found was some talk here and there about the 7i65. I'm trying to see if without having a hal component available yet if there is some way to verify that the 7i92 is grabbing data from the ADCs and maybe mess with the CS pins. Not sure if Andy is looking at this thread but it would be good to have some kind of guidance for my friend who is planning on writing the component.
Right now all I have is this in my hal file. I can't figure out what functions need to be added or if the functions are exposed by the component rather than the bspi driver. The BSPI pins do show up in the terminal when loading but that's about all I can see
Also, I came across this when I was looking for info:
I have a different machine that could benefit from being able to read an input pin and less importantly write an output pin as fast as possible running a 7i96. Would this actually be useful? I'd assume this has to exist in a faster thread than the servo, like a base thread?hm2_<BoardType>.<BoardNum>.read_gpioRead the GPIO input pins. Note that the effect of this function is a subset of the effect of the .read() function described above. Normally only .read() is used. The only reason to call this function is if you want to do GPIO things in a faster-than-servo thread. (This function is not available on the 7i43 due to limitations of the EPP bus.)
Please Log in or Create an account to join the conversation.
- blazini36
- Offline
- Platinum Member
-
- Posts: 972
- Thank you received: 167
The line driver I'm using for general outputs has a 400ma or so safe limit but no built in current protection. I'd be inclined to use PTCs or something but I can't find anything practical for ~30v @ 400ma......any suggestions?
Please Log in or Create an account to join the conversation.
- PCW
- Offline
- Moderator
-
- Posts: 18115
- Thank you received: 5334
In general you cannot do that on Ethernet connected devices.I have a different machine that could benefit from being able to read an input pin and less importantly write an output pin as fast as possible running a 7i96. Would this actually be useful? I'd assume this has to exist in a faster thread than the servo, like a base thread?
What do these inputs or outputs do? maybe there is some,
firmware module that can do the faster I/O manipulation
Please Log in or Create an account to join the conversation.
- PCW
- Offline
- Moderator
-
- Posts: 18115
- Thank you received: 5334
In general PTCs are too slow to protect 24V driversAnother question for you PCW, if you're inclined to oblige....
The line driver I'm using for general outputs has a 400ma or so safe limit but no built in current protection. I'd be inclined to use PTCs or something but I can't find anything practical for ~30v @ 400ma......any suggestions?
Please Log in or Create an account to join the conversation.