Registers where the output values are stored
- monkey_biz
- Offline
- New Member
-
Less
More
- Posts: 10
- Thank you received: 0
12 Jan 2017 02:56 #85647
by monkey_biz
Registers where the output values are stored was created by monkey_biz
Hi,
I was just wondering where in memory (the specific register values) that store the output of the application. Are these registers accessible to the user to determine the output values? I am doing SPI as opposed to parallel so reading the registers directly would be easiest for me to do.
Thanks
I was just wondering where in memory (the specific register values) that store the output of the application. Are these registers accessible to the user to determine the output values? I am doing SPI as opposed to parallel so reading the registers directly would be easiest for me to do.
Thanks
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 23279
- Thank you received: 4933
18 Jan 2017 12:18 #86046
by andypugh
Replied by andypugh on topic Registers where the output values are stored
I don't think that this question even makes sense, sorry.
I think that all the data that you want to use is available in HAL, which is a shared-memory location, but the addresses are not fixed.
You would need to write a HAL driver which receives values on HAL pins and then sends the data to your SPI device.
(This is probably easier than it sounds).
linuxcnc.org/docs/2.7/html/hal/comp.html
I think that all the data that you want to use is available in HAL, which is a shared-memory location, but the addresses are not fixed.
You would need to write a HAL driver which receives values on HAL pins and then sends the data to your SPI device.
(This is probably easier than it sounds).
linuxcnc.org/docs/2.7/html/hal/comp.html
Please Log in or Create an account to join the conversation.
- monkey_biz
- Offline
- New Member
-
Less
More
- Posts: 10
- Thank you received: 0
19 Jan 2017 02:19 #86118
by monkey_biz
Replied by monkey_biz on topic Registers where the output values are stored
Yes perfect! I apologize for the lack of right terms. Thats is exactly what I need!
Please Log in or Create an account to join the conversation.
Time to create page: 0.059 seconds