Search found 11 matches

by Haiyang
Sat Jun 09, 2012 7:10 pm
Forum: NetBurner Software
Topic: MOD 5213 SPI questions?
Replies: 0
Views: 2839

MOD 5213 SPI questions?

I am trying to set up the SPI communication between NB Mod 5213 and AD-5932 chip. However, there is something wrong that I couldn't figure it out. Basically I tried to send 6 word (each word is 16 bit) from Mod 5213 to the Ad-5932. CS pin idles high and drops to low when the data is being transmitte...
by Haiyang
Thu Oct 20, 2011 10:35 am
Forum: NetBurner Software
Topic: Do I need Sem/Mutex for Variables used in Multiple Tasks?
Replies: 6
Views: 4386

Re: Do I need Sem/Mutex for Variables used in Multiple Tasks

Thanks for the suggestions, Dave. I already declared my variables to be volatile. But instead of one 32 bit variable "volatile DWORD var", I have an array of 10 "volatile DWORD var[10]". Thanks, Larry, for offering suggestions to me one more time. To your question that I don't us...
by Haiyang
Sun Oct 16, 2011 7:12 pm
Forum: NetBurner Software
Topic: Do I need Sem/Mutex for Variables used in Multiple Tasks?
Replies: 6
Views: 4386

Re: Do I need Sem/Mutex for Variables used in Multiple Tasks

Hi, RidgeGlider. Thanks for your suggestion. It is the right way to go. However, there are also many other functions involved which requires untrivial work to modify. Do you think it is OK for my implementation to use an interrupt for PWM generation and a serial task for receiving? The serial task o...
by Haiyang
Sat Oct 15, 2011 11:28 am
Forum: NetBurner Software
Topic: Do I need Sem/Mutex for Variables used in Multiple Tasks?
Replies: 6
Views: 4386

Do I need Sem/Mutex for Variables used in Multiple Tasks?

I am wondering if I need to use semaphore or mutex for variables used in multiple tasks. My application is to receive data from serial (serial receive task) and then generate a PWM signal using DMA timer (level 6 DMA interrupt for 1-2ms pulse width). However, I saw glitches once or twice in 15 min a...
by Haiyang
Wed Jul 13, 2011 4:11 pm
Forum: NetBurner Software
Topic: MOD5213 DMA timer problem
Replies: 3
Views: 2665

Re: MOD5213 DMA timer problem

Hi, Larry. Thanks for your prompt response and your suggestion. I really appreciate that. I followed your advice to use the original system clock instead dividing by 16. Then the problem was gone for at least the two 10 minutes test I did. I need to do more tests to get a confirmation on that. Hopef...
by Haiyang
Tue Jul 12, 2011 7:24 pm
Forum: NetBurner Software
Topic: MOD5213 DMA timer problem
Replies: 3
Views: 2665

MOD5213 DMA timer problem

I am having problems with my DMA timer on my Netburner Mod5213. The timer glitches once a while when I used it to output PWM signal. The DMA3 is set to generate a 50Hz PWM signal. However, I got servo glitches after about 5 min after bootup. I used Larry's StopWatch (DMA0) to measure the time betwee...
by Haiyang
Thu Mar 10, 2011 10:57 am
Forum: NetBurner Software
Topic: Mod5213 Reset during running, any bug?
Replies: 3
Views: 2832

Re: Mod5213 Reset during running, any bug?

Thanks, tod. That is a good point. I will check it out.
I guess it is time to start programming in C++ for Nburner.
by Haiyang
Wed Mar 09, 2011 12:12 pm
Forum: NetBurner's Eclipse IDE
Topic: NBEclipse installation failure
Replies: 4
Views: 4638

Re: NBEclipse installation failure

Thanks, Forrest and rnixon.

That solved the problem. Everything is working fine after I upgraded Java. It is just a old laptop.

Best
Haiyang
by Haiyang
Wed Mar 09, 2011 11:23 am
Forum: NetBurner's Eclipse IDE
Topic: NBEclipse installation failure
Replies: 4
Views: 4638

Re: NBEclipse installation failure

My java is JAVA2 Runtime environment SE v1.4.2
Netburner is Release24_RC2.
I tried to install Eclipse
by Haiyang
Wed Mar 09, 2011 9:12 am
Forum: NetBurner's Eclipse IDE
Topic: NBEclipse installation failure
Replies: 4
Views: 4638

NBEclipse installation failure

Hi, I am having problems installing NBEclipse. Looks like I am missing something for my installation. When I start a new project, I just can't find the C/C++ or netburner project in my wizard.

Here is a screen shot. Anybody know what is going on there?

Haiyang