Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : How fast is a DruinoMite ?
Author | Message | ||||
vk4tec Senior Member Joined: 24/03/2012 Location: AustraliaPosts: 239 |
Hello One of the considerations I took into account when programming in assembly langauge and PIC's was the clock freq. This was important for baud rates and wait cycles and loops etc What is the specs for the DuinoMite ? If you set a pin high, pause, set a pin low and cycle, how "fast" can the Duinomite work ? What is its max baud rate and minimum pin transition ? I need to know this so I can see of the DuinoMite cuts the mustard for some projects at high speed. - Andrew - Andrew Rich VK4TEC www.tech-software.net |
||||
bigmik Guru Joined: 20/06/2011 Location: AustraliaPosts: 2914 |
Hi Andrew, The DM is based on ver 2.7 of the MM so speed would be the same between the 2 types. As to Max Baud Rate, Comm1 and Comm2 on both the MM and DM are `bit banged' and as such has a limit of 19200 baud (from memory, I stand corrected here if I am wrong) The DM also has 2 other comm ports (3 & 4) that use internal UARTs on the PIC32 chip and is part of the reason that the DM was created, to use some of the internal PIC32 devices for their intended use. These Comm ports can got to at least 115200 baud (maybe more but I need to check first). However it has recently been found that the latest version of firmware had these pins configured incorrectly (early versions worked so its not hardware) and, hopefully, will be fixed in the next release... The correct forum for DM specific advice is located here. DM Support Forum Regards, Mick Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<< |
||||
JohnS Guru Joined: 18/11/2011 Location: United KingdomPosts: 3800 |
MM/DMBasic is an interpreter and there's a separate thread about its speed on here. It's hundreds of times slower than C (or ASM) except when it has a specific feature coded in. E.g. it uses DMA to output the video. It's worth pulling down any of the source versions and reading them to get a feeling for how it hangs together. You can of course program the DM in C (or ASM) directly, i.e. overwrite Basic, if you want real speed. You can always restore it but unless you have a PICkit3 or the like be careful not to overwrite the bootloader. (You might want to check any hex files don't have anything in the address range used by it.) It's an 80MHz chip with pipelines etc so actual speed depends what the code does (jumps of any kind slow it down) but in the region of 20MIPS (from C). Do read the chip data sheet - big job, granted - as many I/O things can be done without bit banging. Far more silicon than PIC16 / PIC18. John |
||||
vasi Guru Joined: 23/03/2007 Location: RomaniaPosts: 1697 |
It works also with Pickit2 without the need to modify anything. Use this: http://code.google.com/p/pic32prog/ Hobbit name: Togo Toadfoot of Frogmorton Elvish name: Mablung Miriel Beyound Arduino Lang |
||||
JohnS Guru Joined: 18/11/2011 Location: United KingdomPosts: 3800 |
Excellent. (I don't have a 2 but do have a 3. lol) John |
||||
vasi Guru Joined: 23/03/2007 Location: RomaniaPosts: 1697 |
What you used before? Hobbit name: Togo Toadfoot of Frogmorton Elvish name: Mablung Miriel Beyound Arduino Lang |
||||
JohnS Guru Joined: 18/11/2011 Location: United KingdomPosts: 3800 |
A crazy number of chips!! John |
||||
Print this page |