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...
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...
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?
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);...
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...
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...
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...
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...
@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...
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...
I was hoping to use code based trigger via a display flush callback from LVGL (they did it that way on an STM32F429 example with DMA)
But, this is where I feel I have far too less knowledge to even begin with DMA - I...
I was provided a sample library from a forum member to drive a tft display via 8 bit parallel using digitalWriteFast() and we can get a full screen update (480x320) in roughly 5-6ms.
Performance wise it's fast, and I...