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.
plasma Guru Joined: 08/04/2012 Location: GermanyPosts: 437
Posted: 05:31pm 11 Feb 2018
Copy link to clipboard
Print this post
Hi ,
i need a info about the Portspeed for pic32 mx and pic32 mz. how many pulses can it produce in full speed , in mmbasic and maybe in c or asm. i have no chance to test this at the moment so i ask here for help.
thx
panky Guru Joined: 02/10/2012 Location: AustraliaPosts: 1116
Posted: 05:14am 12 Feb 2018
Copy link to clipboard
Print this post
@plasma
Using a PIC32MX170 at 40MHz, the MMBasic Manual says using the PULSE command your can generate pulses a minimum of 5uS in MMBasic.
Extrapolate out to a PIC32MX470 running at 120MHz, you should be able to get down to somewhere around 2uS or a bit less Going to a PIC32MZ at 252Mhz should allow you to get down to something a bit less than 1uS.
No idea what C or Assembler could achieve but at 1 instruction per machine cycle, the MZ chip at 252MHz should be able to get down to something approaching 10nS pulses - this is entirely supposition
panky... almost all of the Maximites, the MicromMites, the MM Extremes, the ArmMites, the PicoMite and loving it!