??? 03/23/10 20:09 Read: times |
#174447 - Port toggle rate question |
Hi,
I'm using a Cypress EZ-USB AN2131, running at 12.0 MHz. I'm trying to understand the toggle rate of PortC. Here is my code: . . . MOV R1, #LOW(PortC_Out) ; Page reg set at 7F MAIN: MOV A, #00010000b ; Set PortC[4] MOVX @R1, A CLR A MOVX @R1, A JMP MAIN Watching PortC[4], it toggles at 1.67 uS, or 20 instruction cyles. Shouldn't this be 0.5 uS, or 6 cycles? Thanks for any help, Steve |
Topic | Author | Date |
Port toggle rate question | 01/01/70 00:00 | |
instructions take n "instruction cycles" not just one | 01/01/70 00:00 | |
8052.com timing tutorial | 01/01/70 00:00 | |
You're right![]() | 01/01/70 00:00 |