Hi Guys, *** HAPPY NEW YEAR ***
I've set up my PLL in assembler to 200Mhz and sending raw data to PORTA to measure the toggle speed. See my code below.
The toggling speed I'm measuring on my scope is 1.15Mhz. This has to be wrong, specially if the CPU is running at 200Mhz.
Can somebody set their F28377D to 200Mhz and measure the toggling speed of PORTA with a scope and please please please let me know what speed you get.
This is absolutely doing my head in. My control card is very old so I'm thinking my card maybe faulty.
Please test and let me know what speed you get.
Thanks guys and hope to hear from you soon.
Peter
;-------------------------------- ; SPEED TEST ON PORT A EALLOW MOVL XAR7,#GPADIR ; SET PORTA DIRECTION TO OUTPUT MOVL XAR6,#GPADAT ; XAR6 = PORTA DATA OUT REGISTER MOVW AL,#65535 MOVW AH,#65535 MOVL *XAR7,ACC EDIS TEST_LOOP: MOVW AR2,#65535 ;16BITS MOVW *XAR6,AR2 MOVW AR3,#0 ; 0 BITS MOVW *XAR6,AR3 BF TEST_LOOP,UNC ;-------------------------------