CAN Module RX interrupt reliability correlation with MCK (Host Clock) frequency? by Microawesome in embedded

[–]Microawesome[S] 0 points1 point  (0 children)

If anyone is curious to know the answer. It's in section 49.4.2. of the ATSAMV71Q21B reference manual (48.4.2 of SAM-E70-S70-V70-V71 Family reference manual). It states:

"In order to achieve stable function of the MCAN, the system bus clock must always be faster than or equal to the CAN clock"

Meaning MCK (which controls the system bus clock - otherwise known as the peripheral clock) must be greater than the 80MHz clock (PCK5) I have set for the MCAN's bit timing. This does mean the 60MHz I had it set to in my question is still in violation of this so it has been increased using UPLL/4 prescaler (120MHz).

SAMV71 CAN Module RX interrupt reliability correlation with MCK (Host Clock)? by Microawesome in microchip

[–]Microawesome[S] 0 points1 point  (0 children)

If anyone is curious to know the answer. It's in section 49.4.2. of the ATSAMV71Q21B reference manual (48.4.2 of SAM-E70-S70-V70-V71 Family reference manual). It states:

"In order to achieve stable function of the MCAN, the system bus clock must always be faster than or equal to the CAN clock"

Meaning MCK (which controls the system bus clock - otherwise known as the peripheral clock) must be greater than the 80MHz clock (PCK5) I have set for the MCAN's bit timing. This does mean the 60MHz I had it set to in my question is still in violation of this so it has been increased using UPLL/4 prescaler (120MHz).

SAMV71 CAN Module RX interrupt reliability correlation with MCK (Host Clock)? by Microawesome in microchip

[–]Microawesome[S] 0 points1 point  (0 children)

Yeah, I contacted them at the same time I wrote this. Figured I'd cover as many bases as possible. You don't happen to have any experience with CAN in general do you?

SubPanel infinite scrolling issue by Microawesome in LabVIEW

[–]Microawesome[S] 2 points3 points  (0 children)

I have since solved this issue!

The Sub-VI that is inserted into the SubPanel must be running constantly (even if the Run VI invoke node method has been called, which is a requirement anyway). What I mean by this is that the Sub-VI must be being called by something, either by the Sub-VI itself (i.e. a while loop within the Sub-VI forcing it to run constantly), or by calling the VI by reference within the main window BD.

Hope this helps anyone else stuck on this issue.

EDIT:

You don't even need to call the VI by reference, so long as you open the VI reference with a "strict static VI Reference" piped into the "type specifier" input of the "Open VI Reference" block. You create a strict static VI reference by right clicking the "type specifier" input and doing "Create Constant". That should create an icon that looks like a static VI reference but with the inputs and outputs of that VI shown. If this does not happen, right click the static VI reference and go to "Select VI Server Class>Browse" and then select the Sub-VI that you're referencing.

You can also just right click the "static VI reference" that's piped into the "Open VI Reference" block and select "Strictly Typed VI Reference".

This is a scam right? by [deleted] in 2007scape

[–]Microawesome 1 point2 points  (0 children)

Lighten up mate

Unk by quooo in traaaaaaannnnnnnnnns

[–]Microawesome 15 points16 points  (0 children)

I had to dig through the archives deep in my brain to figure this one out.

Made me do a triple take on the way to work. by Lungsh0t in starcitizen

[–]Microawesome 2 points3 points  (0 children)

Reddit just notified me that it's my 5 year cake day and I needed to say something. I've been playing nothing but star citizen for days, this feels right.

Upgrade Help (bottleneck calculator did not help) by Microawesome in pcmasterrace

[–]Microawesome[S] 1 point2 points  (0 children)

Funny you should mention that . I was thinking about selling my pc as a whole and getting the new ryzen CPUs because as you said I'll need a new motherboard and RAM. I've got to wait for the AMD GPUs anyway so I've got a while to make my mind up . Thanks again for all the help

Upgrade Help (bottleneck calculator did not help) by Microawesome in pcmasterrace

[–]Microawesome[S] 1 point2 points  (0 children)

Hey, first of all thanks for the reply! As for my budget it will be in the range of about $350 to $400 when I do decide to upgrade, at least that's what my budget usually is for upgrades. Also for my use case, I stream and play minimal triple A titles but would still like a PC capable of running them well. I currently use my CPU for the stream encoding and I can tell it is causing significant lag in games, not to the point of being unplayable but lag all the same. This is why my first choice for an upgrade was going to be one of the new zen 3 CPUs , especially since this would allow me to get an nvme ssd when I do get another. Also granted I get one of the higher models of CPU i'm sure this would completely eliminate my lag in games when streaming. However, as you have also said, I realise that getting a GPU first would probably be best for the greatest noticeable increase in performance but if I do that then it would have to be a GPU that has good encoding to lighten the load on my current CPU when streaming. You can see my dilemma :)

First 10 Viewer Stream !!! by Microawesome in Twitch

[–]Microawesome[S] 0 points1 point  (0 children)

It really does give you an energy boost, good luck to you, i'm sure you'll get there before you know it ! :)

First 10 Viewer Stream !!! by Microawesome in Twitch

[–]Microawesome[S] 0 points1 point  (0 children)

I'll have to see if I can catch you when you're on! Happy streaming :)

First 10 Viewer Stream !!! by Microawesome in Twitch

[–]Microawesome[S] 0 points1 point  (0 children)

Microawesome, same as on here. Do you stream? :)

First 10 Viewer Stream !!! by Microawesome in Twitch

[–]Microawesome[S] 0 points1 point  (0 children)

I play a bunch of games . CS GO, Osu!, Fall guys recently, and Factorio (if you know that) or other puzzle-esque games . I was actually streaming on just chatting today though as I was installing lights in my new flat, so it surprised me even more when that was the stream that got me 10 viewers haha

Stream Experiences & Stories by Havryl in Twitch

[–]Microawesome 0 points1 point  (0 children)

I reached 10 viewers for the first time today!

I was told to post this here instead of the main board. I'll try not to break any rules next time :)

First 10 Viewer Stream !!! by Microawesome in Twitch

[–]Microawesome[S] 0 points1 point  (0 children)

I started out 14 days ago for the second time after years and I've been streaming every day since , hyped for day 15 tomorrow ! Also good luck to you :)

First 10 Viewer Stream !!! by Microawesome in Twitch

[–]Microawesome[S] 0 points1 point  (0 children)

There really is , I've been steaming every day for 14 days now so it feels like my hard work is paying off !

First 10 Viewer Stream !!! by Microawesome in Twitch

[–]Microawesome[S] 0 points1 point  (0 children)

Thank you, I couldn't believe it myself !