Hi Mr.Venkat ... I think i initialized my CAN module correctly. I didnt configure my node to be in Listen only mode. ... Yes, I do enable my Receive Interrupts...
Do you handle receiver overrun condition? Do you clear receiver overrun status bit? I'm curious why do you enable CAN interrupts sometimes. Why not to keep RX ...
Hello, I'm trying to do some thread for XGate. The first thread I wrote, using RTI, is now OK, so I can see it running under simulator AND on my target...
Hi everybody, I have a voltage of 50Hz and I want to measure it with the ATD. It is oscilating between 0 and 5 Volts. Is there any possiblity given to do this?...
This is 'digital signal processing'. Take samples at a rate greater then twice the freq of interest for at least one period of freq of interest. Now compute...
Hi refering to the ATD manual the lowest sample rate with a prescaler of 0000 is (1kHz/3)*0.5=166Hz I dont know if this calculation is correct, but it should...
Wait a minute... you ask how to solve a programming problem, and I give you a mathematical algorithm to solve your problem. Now you want help with the ...
Joel, I don't know why code working in simulator doesn't work in target, but you oversimplified your minimal program. XGATE setup is missing, interrupt ...
... Where did you get it from and what is 0000? You may trigger conversion manually or using ATD trigger as rarely as wish. Rate of back to back conversions is...
Hi, It is possible, but you must take into considerations the followings: 50 Hz is only a value, stability matters for precision of your measurement. ...
Hi all, Just making sure that this is the correct procedure to initialize PWM output for channel 0. i am using a CardS12 MC9S12DP512, programmed by ICC12. Here...
Hi I ve got the information of the ATD_10B8C Block User Guide. In the ATD Control Register 4 (ATDCTL4)you define the prescaler value and the sample time. I ve...
Well, Ed, he says his AC varies between 0 and 5V and he wants the DC level.... I'd call it 2.5V wouldn't you? ... In a message dated 3/5/2008 2:34:10 A.M....
Normally you choose A/D prescaler so that you don't violate A/D specs for min and max A/D clock frequency. Suppose you are using PLL and get 25MHz bus clock....
yeah, but I guess he doesn't want DC level but something better to characterise his "voltage of 50Hz". Of course there's nothing wrong with your answers. ...
Sure, Edward, I oversimplified !!! In order to avoid too big mail on the mailing list. For the moment, under CodeWarrior, after running successful XGate with...
... It is not clear what you need to do. The question is put in a way that it can mean: "I want to: - measure the AC voltage in my sinusoidal signal with p-p...
Anders Friberg
anders.friberg@...
Mar 5, 2008 3:57 pm
15719
You are right. Sorry for beeing unprecise. I have a oscillating DC signal between 0 and 5V. Amplitude and DC offset are varying. The frequency is always about...
Thank you for your explanation. Now I understand the calculation of the ATDclock. The thing I still dont understand is how to know about the Bus Clock. You...
If you didn't touch PLL registers, then bus clock is oscilator clock /2 . Oscilator clock is what's written on crystal or oscilator. Edward ... From:...
Thank you very much! I think (hope?) that now everything is clear. Cheers Matthias ... /2 . ... time +3) ... the ATD ... mistake ... Min A/D ... samples"? How ...
Joel, Maybe it's another simplification, but in your SCI init routine you are enabling RIE interrupt and in your SCI handler I see only transmitters code. RDRF...
Hi, We have some practice exercies in our course, I was able to do several of them using ASMIDE (the 68hc12 assembler) however there's this one exercise which...
... I'm not going to give you an answer, but I will write a little bit of a story instead... So, a guy walks into an interview for a firmware developer job. A ...
Today I tested the programm. It works very well. Thanks a lot for all your help! Its just a little bit slow, but I think that I have to live with this little...
Yes I see where your coming from but the thing is that we just started this stuff like last week when semester started, also I don't see my tutor until mid...
In a classical search algorithm you would assume that the first element is both the largest and the smallest value (store them away in their appropriate...
Hi This is not an exact answer for your question, but below are some functions written in assembly language (in fact C functions wit assembly part), which do...