I'm very grateful for your help. I have just one more question:
Is it possible to concatenate these two instructions
moveq #4,%d0
moveb %d0,4010000e
into one instruction:
moveb #4,4010000e?
Search found 4 matches
- Sat Jan 10, 2009 10:47 am
- Forum: NetBurner Software
- Topic: MOD5213: Max frequency of GPIO switching speed?
- Replies: 12
- Views: 18487
- Sat Jan 10, 2009 6:52 am
- Forum: NetBurner Software
- Topic: MOD5213: Max frequency of GPIO switching speed?
- Replies: 12
- Views: 18487
Re: MOD5213: Max frequency of GPIO switching speed?
Thank you for the answer. It helped me a lot.
For the C code below:
---------------------------------
while(1)
{
sim.gpio.portta = 0x04;
sim.gpio.portta = 0x00;
}
---------------------------------
I got the next assembler code ...
For the C code below:
---------------------------------
while(1)
{
sim.gpio.portta = 0x04;
sim.gpio.portta = 0x00;
}
---------------------------------
I got the next assembler code ...
- Fri Jan 09, 2009 10:03 am
- Forum: NetBurner Software
- Topic: MOD5213: Max frequency of GPIO switching speed?
- Replies: 12
- Views: 18487
Re: MOD5213: Max frequency of GPIO switching speed?
How can I view the assembly code?
- Thu Jan 08, 2009 12:17 pm
- Forum: NetBurner Software
- Topic: MOD5213: Max frequency of GPIO switching speed?
- Replies: 12
- Views: 18487
MOD5213: Max frequency of GPIO switching speed?
The system clk frequency of the MOD5213 is 66 MHz. Why is then the frequency of a square wave signal generated on a GPIO pin is just 2.7 MHz. The code I used is:
#include "predef.h"
#include <basictypes.h> // Include for variable types
#include <serialpoll.h> // Use serial polled driver
#include ...
#include "predef.h"
#include <basictypes.h> // Include for variable types
#include <serialpoll.h> // Use serial polled driver
#include ...