??? 02/17/08 23:49 Read: times |
#150973 - Better clarification of error I hope... Responding to: ???'s previous message |
What I'm seeing is because I incorporated the write strobe on the same port, when the byte is applied as the string is processed, the write line does not go from "high" to "low" to "high" for the rising edge when each letter of the string is being sent to the port. DOes that make sense?
SO the sequence should be "ABC" Write=1 Write=0 <<<<<<<<<< This doesn't happen in the simulator Push data "A" port 0 Write=1 Delay (not shown in original code above) Write=1 Write=0 Push data "B" port 0 Write=1 Write=1 Write=0 Push data "C" port 0 Write=1 I know the source of my problem is ME....LOL. But I should have remembered that the "control" section should have been seperate from the data section, but I wanted to use a single port and its really my fault. I'm trying to find a software fix for a hardware "mistake" persay. In the binary sequence 0000 0000, the largest binary value would be 3Fh for the digit decoder. I figured by OR ing D6 bit with the data would solve the problem, but I can't OR it while the FOR loop is running, the simulator just locks a single value and its doing undesired output. I've included the hardware schematics. I ultimately believe its due to the way the byte process is being delivered to the port. The basic idea is read the hardcoded string, send it out one character at a time as 6 bits to port zero (after software masking), write strobe, send next character, repeat until string is complete.......delay for X seconds, repeat process for next hard coded string as needed.......in an infinetely while loop. http://www.kittmaster.com/imagedump/PS1001.png http://www.kittmaster.com/imagedump/PS1002.png http://www.kittmaster.com/imagedump/SS001.png http://www.kittmaster.com/imagedump/SS002.png |
Topic | Author | Date |
For loop parsing with a rising edge write | 01/01/70 00:00 | |
Forgot to mention | 01/01/70 00:00 | |
Not sure how it should work... | 01/01/70 00:00 | |
I don't quite understand what's your problem... | 01/01/70 00:00 | |
Better clarification of error I hope... | 01/01/70 00:00 | |
No, it would not work | 01/01/70 00:00 | |
yeah. my bad...![]() | 01/01/70 00:00 | |
No problem here | 01/01/70 00:00 | |
Is the string fixed or variable length ? | 01/01/70 00:00 | |
Ment to mention | 01/01/70 00:00 | |
Oh - I C | 01/01/70 00:00 | |
I have the answer thanks to you folks...:) | 01/01/70 00:00 | |
sounds like missing pullups | 01/01/70 00:00 |