Seems like touching the P2 chip has nothing to do with cooling the chip. Perhaps it is either capacitance or grounding related.
Just where you touch matters, as does the pressure, so I changed to a 3.5mm drill (flat end) and that shows a sensitive area in the die, which will be the VCO/PFD spot.
ozpropdev's mistake on oscillator made me check my own code...
Seems I had _XOSC set wrong in the VGA demo's I posted.
I'm surprised it works with _XOSC=%01, but it did...
Changed to _XOSC=%10 now...
ozpropdev's mistake on oscillator made me check my own code...
Seems I had _XOSC set wrong in the VGA demo's I posted.
I'm surprised it works with _XOSC=%01, but it did...
Changed to _XOSC=%10 now...
Yes, all 3 cap choices seem to oscillate fine.
The 0pF one is not really Zero, as there is still PAD IO capacitance, and package and PCB capacitance.
On my tests I get +144 ppm , -6.7 ppm, -53 ppm for the 3 settings, so the best Xtal match is the %10 setting.
The %01 does bump the crystal quite a long way high.
I've not tried change of the C's while running yet, but given the Xtal source does not like being enabled too early, it seems P2 can be disturbed by noise.
The Xtal C switches are unlikely to be 'soft' & the worse case would be connecting a C with the opposite voltage to the XI,XO at that instant.
I'd guess it's probably unsafe to change Xtal C's on the fly, but my forth is not good enough to code a test.
Today I went looking for the autobaud setting when the Monitor/Debugger is called by the ROM using "> " + Ctl-D + <cr>. The same applies to calling TAQOZ.
When the Monitor or TAQOZ is called via the ROM, the autobaud setup value (and set to 8 bits) is in the COG at $169 (the variable a0).
I couldn't do what I wanted, but thought I'd post it here in case anyone wanted to know the value the smartpins are set to.
I was wondering if you had a serial terminal routine for the p2 that is a stand alone. I am trying to tease out the serial portion only.
Could you help.
Cluso's P2ES-EVAL-Demo-002 for P2-ES v32i Silicon
Thanks
I will post this in the forums.
To Cluso,
I want to be able to tx numbers and characters and r1x strings etc. I am going to port over my P1 asm tutorial and work with my gps as a start with P2 asm. I would also ask for comments so I can understand what is happening. I am presently attempting to port over SimpleSerial to P1 so I can understand what is going on.
Here are two different serial routines for P2. They're written in Spin rather than pasm, but porting to pasm should be straightforward. SimpleSerial works by bit-banging; SmartSerial uses the smart pins.
(The file extension is .spin for SimpleSerial because it can work on P1 as well. SmartSerial, because it uses the smart pins, can only work on P2.)
I will look at them, thanks. I assume I can run these in spin2gui or one of the other gui's that I have seen in the forums.
Btw in Cluso's P2ES-EVAL-Demo-002 for P2-ES v32i Silicon I am looking at stuff like this:
_rlongcoghub =$fcfe4.
I have been scanning the P2 documentation searching for these $fcf3e4. They do not come up. Some clarification please.
Thanks
I just looked at the spin2 version. I have this and attempted to do a simple print but had issues using spin2gui. Can you give me an example program please.
Thanks
I will try this. For some reason I get errors regarding finding the smartserial obj. It is in the library for spin2gui but does not see it.
I will let you know.
I will look at them, thanks. I assume I can run these in spin2gui or one of the other gui's that I have seen in the forums.
Btw in Cluso's P2ES-EVAL-Demo-002 for P2-ES v32i Silicon I am looking at stuff like this:
_rlongcoghub =$fcfe4.
I have been scanning the P2 documentation searching for these $fcf3e4. They do not come up. Some clarification please.
Thanks
In my examples, I am using the ROM routines to do the serial. Those entry points are listed as ROM addresses.
If you want to see the ROM code you will need to compile using P2PASM. Peter has a link to the listing somewhere.
Sorry, still haven't had time to chase this up yet. Maybe mid-week.
Um, help me understand why you perform clkset() inside the demo object. Why? I don't recall this in spin 1. You set the clock settings in the top spin file and never had to set it again.
Comments
Enjoy!
Mike
Just where you touch matters, as does the pressure, so I changed to a 3.5mm drill (flat end) and that shows a sensitive area in the die, which will be the VCO/PFD spot.
Nearest the XTAL corner, just below the AX in Parallax.
Seems I had _XOSC set wrong in the VGA demo's I posted.
I'm surprised it works with _XOSC=%01, but it did...
Changed to _XOSC=%10 now...
Yes, this stopped the jitter (about 10 minutes and still rock-steady)@!
dgately
Yes, all 3 cap choices seem to oscillate fine.
The 0pF one is not really Zero, as there is still PAD IO capacitance, and package and PCB capacitance.
On my tests I get +144 ppm , -6.7 ppm, -53 ppm for the 3 settings, so the best Xtal match is the %10 setting.
The %01 does bump the crystal quite a long way high.
I've not tried change of the C's while running yet, but given the Xtal source does not like being enabled too early, it seems P2 can be disturbed by noise.
The Xtal C switches are unlikely to be 'soft' & the worse case would be connecting a C with the opposite voltage to the XI,XO at that instant.
I'd guess it's probably unsafe to change Xtal C's on the fly, but my forth is not good enough to code a test.
Thank you for posting this Rayman. Should the video signals be...
P1 B
P2 G
P3 R
??
Should the birds be Yellow or Blue?
Thanks in advance.
When the Monitor or TAQOZ is called via the ROM, the autobaud setup value (and set to 8 bits) is in the COG at $169 (the variable a0).
I couldn't do what I wanted, but thought I'd post it here in case anyone wanted to know the value the smartpins are set to.
I think they are yellow
I was wondering if you had a serial terminal routine for the p2 that is a stand alone. I am trying to tease out the serial portion only.
Could you help.
Cluso's P2ES-EVAL-Demo-002 for P2-ES v32i Silicon
Thanks
I will post this in the forums.
Martin
Do you just want the serial with Tx and Rx or do you want the extras such as hex, string, etc?
*SNIP* ... replaced with an updated attachment of a full working example with expanded routines built in:
You can see I pillaged Cluso's sysclock setting constants. Those are rather nice.
I want to be able to tx numbers and characters and r1x strings etc. I am going to port over my P1 asm tutorial and work with my gps as a start with P2 asm. I would also ask for comments so I can understand what is happening. I am presently attempting to port over SimpleSerial to P1 so I can understand what is going on.
Thanks
Martin
Re: Not currently at my pc.
Do you just want the serial with Tx and Rx or do you want the extras such as hex, string, etc?
Yes is possible.
Thanks
(The file extension is .spin for SimpleSerial because it can work on P1 as well. SmartSerial, because it uses the smart pins, can only work on P2.)
Btw in Cluso's P2ES-EVAL-Demo-002 for P2-ES v32i Silicon I am looking at stuff like this:
_rlongcoghub =$fcfe4.
I have been scanning the P2 documentation searching for these $fcf3e4. They do not come up. Some clarification please.
Thanks
Thanks
Thanks
I will let you know.
Thanks
Martin
In my examples, I am using the ROM routines to do the serial. Those entry points are listed as ROM addresses.
If you want to see the ROM code you will need to compile using P2PASM. Peter has a link to the listing somewhere.
Sorry, still haven't had time to chase this up yet. Maybe mid-week.
Martin
Thanks,
Terry