- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a few signals coming into the smartIO block and couple peripheral outputs, but I also need an to calculate something in software to use as a data input as well. Is there a way to do this? I
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If I understand you correctly you want to trigger one of the data input pins of the SmartIO by software.
Yes, that is possible by configuring the data pin as input with "undefined" source. Select synchronous or asynchronous input as you need. Now you can manipulate the signal by setting the corresponding GPIO high or low, as smartIO is not bypassed, the signal will not be shown at the GPIO pin. So you basically cut open the connection from the GPIO registers to the GPIO pin.
The GPIO signal will then be controlled by the corresponding LUT if the "gpio" is configured as output.
regards,
Achim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If I understand you correctly you want to trigger one of the data input pins of the SmartIO by software.
Yes, that is possible by configuring the data pin as input with "undefined" source. Select synchronous or asynchronous input as you need. Now you can manipulate the signal by setting the corresponding GPIO high or low, as smartIO is not bypassed, the signal will not be shown at the GPIO pin. So you basically cut open the connection from the GPIO registers to the GPIO pin.
The GPIO signal will then be controlled by the corresponding LUT if the "gpio" is configured as output.
regards,
Achim