Search:

Type: Posts; User: holychicken

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    2,328

    Yup, good old fixed point. The "best" part about...

    Yup, good old fixed point. The "best" part about it is that I really only have the time to do the math on 16 bit variables and the additions, at one point, lead to values that way exceed what I can...
  2. Replies
    9
    Views
    2,328

    Ah, I see what you are driving at and your...

    Ah, I see what you are driving at and your function makes more sense to me now.

    Thanks again for the help.
  3. Replies
    9
    Views
    2,328

    Wow, thanks for the fast replies. I guess I...

    Wow, thanks for the fast replies.

    I guess I could just use the int part, that seems to make the most sense to me and, for input into the array, I am only using the int part.

    And master5001...
  4. Replies
    9
    Views
    2,328

    Unions of the same size and pointers

    So I have two union typedefs:


    typedef union LOWFIXED20_12
    {
    int full;
    struct lowPart20_12
    {
    int fraction: 12,
    integer: 4;
  5. Replies
    5
    Views
    1,653

    nvoigt, Thank you. I get it. Very good...

    nvoigt,

    Thank you. I get it. Very good explanation. I think I will just take your advice and create a setter function.
  6. Replies
    5
    Views
    1,653

    tabstop, Thanks for the reply. I can do is...

    tabstop,

    Thanks for the reply.

    I can do is something like this:

    MyObjectInstance.InputArray[50] = new PointF(100f, 200f);

    and the value will be properly stored. So I don't believe that...
  7. Replies
    5
    Views
    1,653

    Arrays as fields

    I have had a hard time searching for the answer to my problem because it always comes up with indexing the class itself, and not the array as a field of the class. I assume the answer is simple, but...
  8. Replies
    12
    Views
    4,560

    Sweeet. I found the problem. Not exactly sure...

    Sweeet.

    I found the problem. Not exactly sure why it works or what the hell it is doing, but I am pretty sure the problem has been solved. Maybe you guys could explain it to me a little better....
  9. Replies
    12
    Views
    4,560

    It is only written to when the serial interfaces...

    It is only written to when the serial interfaces calls the function to generate them. Intentionally, of course, I guess I could have some kind of pointer problem writing randomly, but I don't think...
  10. Replies
    12
    Views
    4,560

    Salem, Your suggestion definitely makes sense...

    Salem,

    Your suggestion definitely makes sense and it is something I have explored.

    However, all I do is send the information about the wave and then generate it on chip; I send the amplitude...
  11. Replies
    12
    Views
    4,560

    Thanks for the response, but it is nothing like...

    Thanks for the response, but it is nothing like that. If that were the case, I would think that the problem could arise at anytime, but it only happens when I try to update the LUT.

    I think I...
  12. Replies
    12
    Views
    4,560

    RTOS, LUTs and interrupts

    Using a Freescale DSP chip, I have 3 timers that grab a value out of an their own respective LUT to generate a sine wave (often with many harmonics) and then send the information out to a DAC. The...
Results 1 to 12 of 12