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

Search:

Type: Posts; User: Kartman

Search: Search took 0.00 seconds.

  1. Replies
    11
    Views
    502

    Twelve i2C ports! And overclocked. Sounds like a...

    Twelve i2C ports! And overclocked. Sounds like a recipe for disaster. There should be similar parts that are SPI to do what you want and these will probably go up to 30MHz. Then you'll need to worry...
  2. There's the ESP32 that does WiFi and Bluetooth....

    There's the ESP32 that does WiFi and Bluetooth. Good Arduino support. Connect via serial to the Teensy.
  3. Suggestion for improved interrupt management for teensy 4.0/4.1

    Further to the discussion in the forum:
    https://forum.pjrc.com/threads/60831-Teensy4-0-and-_disable_irq-in-the-core-code?highlight=kartman

    could I suggest some attention is put towards managing...
  4. Replies
    25
    Views
    1,180

    Further to the USB device, the USB host has...

    Further to the USB device, the USB host has similar issues with __disable(irq).
  5. Replies
    25
    Views
    1,180

    Further testing was done and I can confirm the...

    Further testing was done and I can confirm the fixes to usb.c did have the most effect and retargeting the systick interrupt had a smaller effect - just as Frank detailed. Thanks to all that...
  6. Replies
    25
    Views
    1,180

    Thanks for the good work Frank and Paul. I have...

    Thanks for the good work Frank and Paul. I have two projects - one interfaces to an asynchronous bus, so 24-30ns is not a concern and I have hardware to latch the data. The other project interfaces...
  7. Replies
    25
    Views
    1,180

    Thanks guys for having a look. Now i can see how...

    Thanks guys for having a look. Now i can see how to crank up the pwm frequency. Funnily enough i came across the same feature on a xmc1100 cpu just a few days ago.

    Changing the code in usb.c...
  8. Replies
    25
    Views
    1,180

    FASTRUN void pinChange_isr(void) { ...

    FASTRUN void pinChange_isr(void)
    {

    //clear the interrupt flag
    GPIO6_ISR = (1 << 3); //clear interrupt saves 30ns by using constant vs ISR & IMR

    GPIO9_DR_TOGGLE = (1<< 4);//toggle...
  9. Replies
    25
    Views
    1,180

    Not quite the highest priority - I left that to...

    Not quite the highest priority - I left that to the thermal trip. I'm running the critical isr at priority 16 (1 in real terms). I've dumped the NVIC priority registers to check the priority of the...
  10. Replies
    25
    Views
    1,180

    I did try changing _disable_irq() and...

    I did try changing _disable_irq() and _enable_irq() to NVIC_DISABLE/ENABLE_IRQ(IRQ_USB1) in usb.c and there didn't seem to be any negative effects, however, it didn't seem to produce any positive...
  11. Replies
    25
    Views
    1,180

    Teensy4.0 and _disable_irq in the core code

    My project is rather timing conscious and my isr gets delayed by around 100ns at random times when sending data via the usb serial connection. Upon some investigation, it seems interrupts are...
Results 1 to 11 of 11