Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: forbiddenera

Search: Search took 0.00 seconds.

  1. Replies
    26
    Views
    979

    Definitely seems like USB serial might be...

    Definitely seems like USB serial might be affecting it somehow.. I can push data out quite quickly over serial6 over an ftdi and receive it without any hiccups in the ISR.. only when I use...
  2. Replies
    26
    Views
    979

    So my next problem.. doing anything else.... heh...

    So my next problem.. doing anything else.... heh

    Interrupts are set to highest priority.

    Trying to even just print CPU temperature over serial, once per second, maybe once every 10 seconds or...
  3. Replies
    26
    Views
    979

    Is it just me or shouldn't the slew rate seem a...

    Is it just me or shouldn't the slew rate seem a bit tighter?

    25096

    25ns/div .. taking like 25ns to change states..? Slope gets slightly steeper without a load on the pin but not much..? I can...
  4. Replies
    26
    Views
    979

    register uint32_t address = GPIO6_PSR >> 16; ...

    register uint32_t address = GPIO6_PSR >> 16;
    GPIO7_DR = ((binaryBytes[address] + (binaryBytes[address] << 12)) & OUTPUT_MASK);


    vs.



    GPIO7_DR = ((binaryBytes[GPIO6_PSR >> 16] +...
  5. Replies
    26
    Views
    979

    FASTRUN didn't seem to make a difference. :(

    FASTRUN didn't seem to make a difference. :(
  6. Replies
    26
    Views
    979

    I know the feeling, I've put other stuff behind...

    I know the feeling, I've put other stuff behind this week because I've been obsessing over this. Truth be told, I've wanted to build an emulator for a very long time.

    You should definitely be...
  7. Replies
    26
    Views
    979

    Thanks, I admit my c/c++ is a little rusty -- I...

    Thanks, I admit my c/c++ is a little rusty -- I thought GPIO6_PSR was just a macro to the memory address, not a defined variable..?



    Hm, you make a point (again rusty).. For GPIO2_ISR, I could...
  8. Replies
    26
    Views
    979

    I saw FASTRUN somewhere before but couldn't get...

    I saw FASTRUN somewhere before but couldn't get it to work in my brief testing - but I think I did it wrong (the definition link in my IDE didn't immediately pop up, leading me to think it was...
  9. Replies
    26
    Views
    979

    Thanks, I'll definitely take this into account. ...

    Thanks, I'll definitely take this into account.

    I assumed with reading GPIO6_PSR twice within a single operation that the compiler would just optimize that out - but I haven't checked any assembly...
  10. Replies
    26
    Views
    979

    Teensy can emulate an eprom at ~80ns so far....

    Teensy can emulate an eprom at ~80ns so far. Working in my target and my chip reader.

    Thanks to everyones help.. woot
  11. Replies
    26
    Views
    979

    Fastest so far (from INPUT pin triggered low to...

    Fastest so far (from INPUT pin triggered low to data outputting as shown on scope) is about 75ns with static data and 100ns with actual data (at 900mhz).. the app note for ISR latency and your...
  12. Replies
    26
    Views
    979

    It seems to read the addresses just fine. Never...

    It seems to read the addresses just fine. Never had an issue with reading addresses just everything else, haha..but I see that note and maybe PSR is better - maybe this explains some interesting...
  13. Replies
    26
    Views
    979

    I've tried this: unsigned SPEED_MASK ...

    I've tried this:



    unsigned SPEED_MASK = 0b0000'0000'0000'0000'0000'0000'1100'0001;
    ..
    IOMUXC_SW_PAD_CTL_PAD_GPIO_AD_B1_00 |= SPEED_MASK;
    IOMUXC_SW_PAD_CTL_PAD_GPIO_AD_B1_01 |=...
  14. Replies
    26
    Views
    979

    So, on the scope I'm showing about 160ns between...

    So, on the scope I'm showing about 160ns between OE# going low and data going high with static data, closer to 180ns when using real data.

    Also,



    if (digitalReadFast(35) == HIGH) {

    ...
  15. Replies
    26
    Views
    979

    I DID IT!#@% I've read back a whole 32k chip with...

    I DID IT!#@% I've read back a whole 32k chip with the willem eprom reader. No errors, perfect readback.

    Now, will it be fast enough for the ECU and can I share address lines with the ecu..will...
  16. Replies
    26
    Views
    979

    For your curiosity and my sanity I just wired up...

    For your curiosity and my sanity I just wired up the extra 8 data pins and will try and feed my Willem..give me a few
  17. Replies
    26
    Views
    979

    So, if I take an address pin that's having...

    So, if I take an address pin that's having issues, say A12 and put it just to my scope to watch the high/low..

    Then I trigger OE# low, which sets GDIR to output..

    Then I pull all address pins...
  18. Replies
    26
    Views
    979

    Typically, you'd expect this. On older devices...

    Typically, you'd expect this.

    On older devices (such as my target device), to save pin counts, the lower address lines are shared with the data lines. The address is pushed into a latch, latched...
  19. Replies
    26
    Views
    979

    Okay, so.. I swear these types of issues only hit...

    Okay, so.. I swear these types of issues only hit me..? I hope not..

    So, something I edited out of the above post because I figured it out, bit #30 was 'sticking' .. reseated my eeprom and seems...
  20. Replies
    26
    Views
    979

    GPIO_GDIR issue

    Thought I'd make a new thread since this is sort of a separate issue and since my original thread my project might not even be using DMA, heh..

    edit: I maybe figured out the GPIO_GDIR part, I...
Results 1 to 20 of 20