hm2 BSPI documentation, examples?

More
04 Aug 2023 22:25 #276938 by PCW
Do you have a stock 7I92?

It could be 7I92T related but I doubt it since it works here

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

More
04 Aug 2023 23:02 #276943 by PCW
I take that back, the earlier 7I92T firmware with the /frame output works
but the 3a version does not

Do you have a 7I92 to test with, There looks to be a problems with the
BSPI  firmware on the 7I92T after I made the DBSPI (decoded) /BSPI (non-decoded) merge

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

More
04 Aug 2023 23:09 #276944 by blazini36
I never thought I'd be so happy to hear something doesn't work, I can stop tearing stuff up now lol.

No I don't have a 7i92, I only have the 7i92th with modified headers.

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

More
05 Aug 2023 00:09 #276948 by PCW
Try this firmware:

File Attachment:

File Name: 7i92t_blaz...8-04.zip
File Size:280 KB


I thought I had weeded them out but there were some left over
Xilinx-isms in the bufferedspi firmware module.
Attachments:

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

More
05 Aug 2023 00:28 #276949 by blazini36
CLOCK!!!!!
 



I don't see anything printing in the terminal, did you have to do anything to get it to print the echo?
Attachments:

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

More
05 Aug 2023 00:33 #276951 by blazini36
nevermind, I get the exact same prints you did but it took a bit to start

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

More
05 Aug 2023 00:37 #276952 by blazini36
BTW, small request. Since the firmware makes it's way into the mesanet archive any chance you can name it ST-PnP-BoB or something? I have all my stuff for this in a git repo GPL2. Not sure anyone who may look for it will find it as blazini.

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

More
05 Aug 2023 00:49 #276953 by PCW

nevermind, I get the exact same prints you did but it took a bit to start
 

There must be some debug code embedded somewhere, maybe a
leftover from when Sebastian etc were working on it.

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

More
05 Aug 2023 10:57 #276988 by blazini36
It must be my lucky day....

I checked the site for the mini-PC manufacturer and they had a newer bios, didn't think it would help but couldn't hurt.....

No issues with 1ms servo-thread now (was running 2ms and getting complaints about realtime delays). I haven't done any tweaking yet and the bios is pretty limited but I can live with 1ms if I can't get it any better.

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

More
09 Aug 2023 08:15 #277409 by blazini36

Does the pin list linuxcnc prints at startup look reasonable?

Are the CS and SCLK pins driven? (pull down with a 1K resistor)
 

I have to revise the PCB again at some point, do you suggest I use pulldown resistors on the SPI lines (besides enabling the 4.7k networks on the 7i92)?

I can't find any info suggesting SPI lines should be driven externally , though it probably won't hurt to have resistor footprints on the PCB

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

Time to create page: 0.150 seconds
Powered by Kunena Forum