Registers where the output values are stored

More
9 years 9 months ago #85647 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

Please Log in to join the conversation.

More
9 years 9 months ago #86046 by andypugh
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

Please Log in to join the conversation.

More
9 years 9 months ago #86118 by monkey_biz
Yes perfect! I apologize for the lack of right terms. Thats is exactly what I need!

Please Log in to join the conversation.

Time to create page: 0.128 seconds
Powered by Kunena Forum