Quantcast
Channel: Intel Communities: Message List
Viewing all articles
Browse latest Browse all 20046

Re: Is there a way to toggle GPIO direction without signaling all pins?

$
0
0

I will have to take a look at this at some point, which display are you using?

 

Sometime I may have to do more work using Eclipse with break points...  Currently do most of my debugging the old way (traces, toggle IO pins...).

 

I have not tried any 4 bit or 8 bit parallel devices yet on Edison, although I could at some point try with the Adafruit 2.8" TFT breakout board.  So far I have used SPI.  Might be interesting to see the performance of the 8 bit interface.  Especially if you can set all of the IO pins to fast memory mapped mode and potentially try to maybe play some games, like: know which IO pins map to which memory mapped addresses and instead of doing 8+ operations to the memory mapped locations, see if that can be reduced to a couple simple writes. 

 

That is if you take the Edison pin number / 32, tells you which long word register you will modify.  Different register for Set versus clear.  So if all IO pins are in the same 32 bit range, you can set up two masks one for set one for clear and only have to do the two writes to the memory mapped area.... Not sure how much faster that might be, but...

 

As for Logic Analyzer to show Analog info, you should maybe try out one of their new ones.

Saleae.jpg

You might be able to tell I sort of like their stuff.  The Red one is one of their new ones that can capture Analog info

 

Kurt


Viewing all articles
Browse latest Browse all 20046

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>