I only do electronics for a hobby and even then it's only a part of my hobby but lately I've been reading plenty of datasheets for processing components and OMG there are some shockers out there. The...
Type: Posts; User: rocket_troy; Keyword(s):
I only do electronics for a hobby and even then it's only a part of my hobby but lately I've been reading plenty of datasheets for processing components and OMG there are some shockers out there. The...
Thanks for this. I'm trying to implement a completely different interrupt on an 18F26K83 and this is the closest thing I've seen so far as a starting point.
Troy
Anyone here ever worked with the ADXRS450 gyro? I've never done SPI comms before and have been trying to communicate with the ADXRS450 through shiftin/out comms with no success. Any tips on either...
BTW: I tried compiling the same code but with the "Use Compiler Long Words" checkbox un-ticked this time in the Microcode Studios settings.
Still erroneous results, but curiously different:
...
Copy and pasted into a new inc file but still no luck. The hyp is different but still wrong.
8954
Richard,
Thanks for the tip. I've modified my trig file accordingly. Alas though, it didn't fix the issue with the ...K83 though.
8953
Troy
Okay here is the code for the PIC18F26K22:
include "trig18.inc"
Define OSC 16 'Clock will be configured to 16MHz
OSCCON.6 = 1 ' Set Internal Osc to 16Mhz
OSCCON.5 = 1 ' Set...
Richard,
No, it was just a comment. The solution for me was to use a different 28 pin PIC which I had no problem with.
Nevertheless, I think it's importand to put these issues on public record...
I'm currently doing a project that involves 2 separate pic processors on 2 separate boards doing completely different things. One of the boards is more avionics based and one of its tasks is to...
Thanks Richard, again, much appreciated.
Cheers,
Thanks Ioannis.
Anyone have any suggestions for either an off the shelf solution or something with minimal development effort that will allow me to plug say 1 or 2 0-5V sensors into and allow me to bring up the...
1 more quicky: so, if you chain 2 or more utilising the "open" state - I'm assuming that the open state is keeping them in high impedance mode when not transmitting - do you need a weak pullup or...
Legend! Thanks again Richard!
I have a system with 2 PIC processors and 1 RF module with a serial interface. Question is: can I connect both PICs to the input of the RF module to broadcast from both (not at the same time...
I purchased the PicKitPlus as a last resort to program some 16F1788s for a project. Stuffed around with MPLABX and X IPE for a week trying to make that solution work - gave up and purchased the tool....
Thanks again Richard. I might have crack at a bleeding minimum overhead routine over the weekend and see what happens.
So, if I was to make an interrupt routine that only incremented a... say 16 bit variable - say 3 or 4 lines of assembler and that's all it did - would I be risking too much to not back up the system...
Richard,
so, the last link: take the stopwatch example (from a layperson's perspective), I can't see significant difference in overhead between say this and the elapsed timer example but I'm...
Yeah, it's basically to generate a time stamp in say (1/10 sec resolution) for the data being sensed and packaged. The entire duration of the acquisition period won't be any more than 5 minutes and...
Richard,
I suspected so and thanks for the great tips! Which raises another question: so the end goal was to run the DT elapsed timer in the background for another application (same chip) with...
I've experimented with DT's elapsed timer on a PIC18F26K22 @16MHZ and modified the code to send the output to a serial port as opposed to LCD screen. I've found that the timer is counting perfect...
Ditto to the kind words already expressed in the responses. He seemed very helpful and a good guy. I hate it when the world loses good people :(
Troy.
Ok, to answer my own question (I've recently revisited this) you can't use the DTMF command for any oscillator frequencies between 20 and 40MHz. If say I'm using a 32MHz osc and declare that with a...
Thanks for all the help guys - seriously appreciated! I found the error and yes indeed it wasn't with the select case at all. The cause: I was receiving a DTMF tone through a dedicated DTMF receiver...