Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • Rezo's Avatar
    03-02-2021, 07:00 PM
    I want to stop the PWM in some cases to write simple 16 bit commands to the display, so I set the registers to stop the PWM and to set pin #33 back to a GPIO pin: FLEXPWM2_MCTRL |= FLEXPWM_MCTRL_RUN( 0 ); //...
    26 replies | 2251 view(s)
  • Rezo's Avatar
    02-28-2021, 11:37 PM
    Just a quick update.. After a few hours of going through documentation and experimenting, I finally found how to switch the timer output to pin #33 I started by setting pin 33 to FlexPWM_PWM2_B00 output...
    26 replies | 2251 view(s)
  • Rezo's Avatar
    02-25-2021, 07:52 PM
    I finally have the guts to test this and start playing around as I have been doing ALOT of reading (still don't understand much but know more that I did a few weeks ago). I want to thank miciwan for the guidance and...
    26 replies | 2251 view(s)
  • Rezo's Avatar
    02-15-2021, 01:01 PM
    Coming back to this after a few weeks. @miciwans latest posts have been very helpful and getting my mind to understand how dma works on the code side and I now have a code example to build on. One thing that I would...
    7 replies | 258 view(s)
  • Rezo's Avatar
    02-08-2021, 09:37 PM
    Have an easy one Tony! If I was to add another FIFO filter, lets say setFIFOFilter(1, 0x714, STD) - could it trigger a different callback? How would I set that up?
    571 replies | 48718 view(s)
  • Rezo's Avatar
    02-08-2021, 07:14 PM
    Does this setup seem right then? Can0.begin(); Can0.setClock(CLK_60MHz); Can0.setBaudRate(500000); Can0.setMaxMB(16); Can0.enableFIFO(); Can0.enableFIFOInterrupt(); Can0.setFIFOFilter(REJECT_ALL);...
    571 replies | 48718 view(s)
  • Rezo's Avatar
    02-08-2021, 06:25 PM
    TBH, I don't know what is the best route here.. I send one request which is a total of 3 frames. So I send off frame#1 receive flow control Send frame#2 Send frame#3 Then I receive response frame#1 send flow...
    571 replies | 48718 view(s)
  • Rezo's Avatar
    02-08-2021, 06:05 PM
    Add Tony's example to your global rx callback (canSniff) If the 1st byte starts with or is equal to 0x10 and the 3rd byte is equal to 0x49 (positive response) and the 4th byte is equal to 0x02 (VIN request PID) then...
    571 replies | 48718 view(s)
  • Rezo's Avatar
    02-01-2021, 12:08 PM
    This is neat! Just in time as I have started to send/receive UDS compressed messages. So this knows how to handle incoming messages that are longer than 8 bytes. But from what I understand, sending messages that have a...
    571 replies | 48718 view(s)
  • Rezo's Avatar
    01-27-2021, 08:00 AM
    RX to RX TX to TX
    5 replies | 168 view(s)
  • Rezo's Avatar
    01-18-2021, 09:05 PM
    Hi Kurt, I’m driving the lcd at the moment via 8/16bit 8080 on GPIO6 writing directly to the port. It works quite fast but I am afraid that when I start to add more functions and interrupts its going to impact that...
    26 replies | 2251 view(s)
  • Rezo's Avatar
    01-18-2021, 06:53 PM
    @miciwan great post! Do you have any reference to information about XBAR besides the technical manual? What other methods are there to trigger a DMA transfer? And how would one attach a clock signal to a DMA transfer...
    26 replies | 2251 view(s)
  • Rezo's Avatar
    01-17-2021, 04:10 PM
    Did you take your UDS example from a Hackster article? If so it might be mine. I'm not sure 0xF405 will yield anything unless it's being requested from a VW/Audi MQB platform vehicle (that's what I tested on) My...
    571 replies | 48718 view(s)
  • Rezo's Avatar
    01-17-2021, 01:31 PM
    Positive response will be 0x41 for Mode 01 and 0x62 for mode 22 Thatís probably why youíre not going into any of the if conditions in your rx callback
    571 replies | 48718 view(s)
No More Results
About Rezo

Basic Information

Statistics


Total Posts
Total Posts
169
Posts Per Day
0.33
Last Post
Teensy 4.1 How to start using DMA? 03-02-2021 07:00 PM
General Information
Last Activity
Today 12:05 AM
Join Date
10-09-2019