Search found 67 matches

by DBrunermer
Wed Jun 08, 2011 1:18 pm
Forum: NetBurner Software
Topic: Instructions out of order?
Replies: 13
Views: 7227

Instructions out of order?

Hi, <MOD5272 ; KIT 1.12> I'm seeing something that I don't understand, and seemingly can't do anything about. I'm also a bit of a noob with this hardware. I have a device that's kind of like a latched FIFO, but it's actually 8 shift-registers (SR) in parallel, with a common clock (active low). The d...
by DBrunermer
Mon May 16, 2011 7:17 am
Forum: NetBurner Hardware
Topic: Control TOUT1 Directly
Replies: 6
Views: 4146

Re: Control TOUT1 Directly

Hey! This is starting to work! At first it didn't, though, as I was confusing myself. The PWMs in the book are numbered 0, 1, and 2, while the sim. definition structure is 1, 2, and 3. So watch out for that if anyone else is trying this. I have a counting loop inside the interrupt, and it's providin...
by DBrunermer
Fri May 13, 2011 12:33 pm
Forum: NetBurner Hardware
Topic: Control TOUT1 Directly
Replies: 6
Views: 4146

Re: Control TOUT1 Directly

That's an interesting idea. I'll play around with that.
Thanks,
Dan B.
by DBrunermer
Fri May 13, 2011 4:50 am
Forum: NetBurner Hardware
Topic: Control TOUT1 Directly
Replies: 6
Views: 4146

Re: Control TOUT1 Directly

Hi Tod, Thanks for the reply. The part I was missing was the Port D. That said, I'm thinking that I must not be able to do it. In 17.2.4 the manual states that "Port D has no data register nor data direction register." I'm guessing that means there's no way to talk to the pin. Thanks again...
by DBrunermer
Thu May 12, 2011 1:18 pm
Forum: NetBurner Software
Topic: Signal Generation / Timers
Replies: 2
Views: 2533

Re: Signal Generation / Timers

Thanks for the reply. Unfortunately, no, it really has to be 8 to 10 microseconds. If I'm doing the math right, 5kHz should leave me 12,500 clocks between events, and inside each event, I really only need to re-establish the pulse, and write 32 eight bit bytes to a port. I know it's fetch, write, lo...
by DBrunermer
Thu May 12, 2011 11:30 am
Forum: NetBurner Hardware
Topic: Control TOUT1 Directly
Replies: 6
Views: 4146

Control TOUT1 Directly

Hi, I want to make a pin that goes on for a certain length of time, and I would like to do it using Timer 1 (TMR1). I want it to be in the mode where the pin toggles on terminal count. But, I want to set the pin high, arm the timer, and then have it turn off. And I don't want it to go high on its ow...
by DBrunermer
Tue May 10, 2011 1:15 pm
Forum: NetBurner Software
Topic: Signal Generation / Timers
Replies: 2
Views: 2533

Signal Generation / Timers

Hello, I need to create a pulsed signal 10 microseconds long, but at a frequency of 5kHz ( T=200 microseconds). I don't think it's possible with the PWM. At least, not if I've understood the manual. I was thinking that, instead, I would use two timers to make this signal. One timer would drive the u...