Chris DeHut
Senior Member
Hi everyone, sorry to ask this question again, but I am hoping to find the solution using PICAXE so I don't have to learn yet another programming language :-(
Here is my problem...
I need to create a pulse stream that can deliver up to 50,000 pulses per second, each about 5 usec in duration. Even using the 16 Mhz crystal, I know I can't do that with BASIC.
So, I have been thinking that I could do it if I used the Assembler output option and and wrote the program into a "standard" PIC. I know I will need to purchase the serial programmer from Rev-Ed and that's cool.
First, if I went this route, do you think it is possible I could achieve this rate of output?
Second, I will also need to communicate with a serial device to recieve / send data. Not a lot of communications during the pulse stream, primarily about 10 bytes of data every 2 seconds or so. I seem to recall that you can't use the serial in/out commands when using the Assembler output process. I went through all the documents yesterday again, and can't seem to find any reference to that so perhaps you can use the serial in/out commands with the assemblber output functions.
At this point I am a bit confused, and I am very well aware that I am probably pushing the PICAXE system a bit too far, but frankly I like it so much, I really don't want to use anything else if at all possible!
Thanks again!
Chris
Here is my problem...
I need to create a pulse stream that can deliver up to 50,000 pulses per second, each about 5 usec in duration. Even using the 16 Mhz crystal, I know I can't do that with BASIC.
So, I have been thinking that I could do it if I used the Assembler output option and and wrote the program into a "standard" PIC. I know I will need to purchase the serial programmer from Rev-Ed and that's cool.
First, if I went this route, do you think it is possible I could achieve this rate of output?
Second, I will also need to communicate with a serial device to recieve / send data. Not a lot of communications during the pulse stream, primarily about 10 bytes of data every 2 seconds or so. I seem to recall that you can't use the serial in/out commands when using the Assembler output process. I went through all the documents yesterday again, and can't seem to find any reference to that so perhaps you can use the serial in/out commands with the assemblber output functions.
At this point I am a bit confused, and I am very well aware that I am probably pushing the PICAXE system a bit too far, but frankly I like it so much, I really don't want to use anything else if at all possible!
Thanks again!
Chris