Raspberry Pi 4

More
09 Jan 2020 15:38 - 09 Jan 2020 15:38 #154451 by gtt38
Replied by gtt38 on topic Raspberry Pi 4

@ gtt38

m.aliexpress.com/item/4000141655235.html is the link to the FPGA board that worked for me.

I didn't see any protection for all the IO's on that board. It gets you lots of gates and unprotected IO, so you'll still need another board to get the IO's out to the real world in a machine environment.

Really easy to create a custom board to protect I/O after..
I wanted to see the ability of a RPI4 to drive 2 FPGA at the same time :
File Attachment:


But it's still not working on SPI1 :-( I tried everything possible)

I've found a minimal FPGA board (the smallest i could find on chinese market)

File Attachment:


4 layers and only 45x45mm with 3.3 and 1.2 voltage regulators at the back
Last edit: 09 Jan 2020 15:38 by gtt38.
The following user(s) said Thank You: Boaschti

Please Log in or Create an account to join the conversation.

More
09 Jan 2020 23:21 #154500 by silden
Replied by silden on topic Raspberry Pi 4
Hi All,
I got almost of all the issues resolved.
The Latency is reasonably low and the overall load too.
But I have occasional spikes in the read and write tmax of the 7c81.
The SPI clock is set to default and the core isn’t overclocked. The governor is set to performance and fore_turbo is activated. I plotted the clock and is reasonably stable around 500MHz.
I could trace some spikes to the graphics. It spikes when I move or resize a window.
The other spikes are random and couldn’t trace it.
Got anyone similar issues and how you resolved them?
Help is very appreciated.
Thank you,
Denis

Please Log in or Create an account to join the conversation.

More
09 Jan 2020 23:26 #154501 by skunkworks
Replied by skunkworks on topic Raspberry Pi 4
Change from timesyncd to ntpd.

Aptget install ntp..

We have seen issues with the timesyncd.
The following user(s) said Thank You: silden

Please Log in or Create an account to join the conversation.

More
09 Jan 2020 23:30 #154502 by silden
Replied by silden on topic Raspberry Pi 4
I’ll try it.
Or should I install a RTC to turn off the fake hardware clock altogether?

Please Log in or Create an account to join the conversation.

More
09 Jan 2020 23:31 #154503 by PCW
Replied by PCW on topic Raspberry Pi 4
How bad is the latency?
(servo thread tmax is useful here)

Please Log in or Create an account to join the conversation.

More
09 Jan 2020 23:41 #154505 by silden
Replied by silden on topic Raspberry Pi 4
The servo-thread.tmax stays around 30-40% of the servo-thread cycle of 1ms.
But it jumps up to 60-89% during a occasional spike. while resizing a window, open a file or the one i couldn’t trace.

Please Log in or Create an account to join the conversation.

More
09 Jan 2020 23:43 #154506 by PCW
Replied by PCW on topic Raspberry Pi 4
Do you have isolcpus=3 in you kernel command line?

Please Log in or Create an account to join the conversation.

More
09 Jan 2020 23:45 #154507 by skunkworks
Replied by skunkworks on topic Raspberry Pi 4
I run 500hz servo thread..

Please Log in or Create an account to join the conversation.

More
09 Jan 2020 23:58 #154508 by silden
Replied by silden on topic Raspberry Pi 4
I have isolcpus=1,2,3.

Please Log in or Create an account to join the conversation.

More
10 Jan 2020 00:00 #154509 by silden
Replied by silden on topic Raspberry Pi 4
you mean .5 ms or 2ms servo-thread?
I’m not sure if a 2ms servo-thread will work with linear encoders on all axes.

Please Log in or Create an account to join the conversation.

Time to create page: 0.191 seconds
Powered by Kunena Forum