- Hardware & Machines
 - Driver Boards
 - mesaboard 7i76e + 7i85s + 7i85 with ssi for absolute encoder bitfile
 
mesaboard 7i76e + 7i85s + 7i85 with ssi for absolute encoder bitfile
- PCW
 - 
				
											 - Offline
 - Moderator
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 17380
 - Thank you received: 5068
 
			
	
						18 Mar 2022 22:12				#237685
		by PCW
	
	
		
			
	
			
			 		
													
	
				Replied by PCW on topic mesaboard 7i76e + 7i85s + 7i85 with ssi for absolute encoder bitfile			
			
				Yes, that format string specifies 2 bits of data (not sure what it is)
followed by 12 bits of encoder data.
Do you have the encoder data sheet?
					followed by 12 bits of encoder data.
Do you have the encoder data sheet?
Please Log in or Create an account to join the conversation.
- nachoalja
 - Offline
 - New Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 13
 - Thank you received: 0
 
			
	
						19 Mar 2022 11:38				#237707
		by nachoalja
	
	
		
			
	
	
			
			 		
													
	
				Replied by nachoalja on topic mesaboard 7i76e + 7i85s + 7i85 with ssi for absolute encoder bitfile			
			
				Hello I pass you the data sheet of encoder and the chip of the encoder.
Thanks.
 			
					Thanks.
Please Log in or Create an account to join the conversation.
- nachoalja
 - Offline
 - New Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 13
 - Thank you received: 0
 
			
	
						19 Mar 2022 11:40		 -  19 Mar 2022 11:47		#237709
		by nachoalja
	
	
		
			
	
	
	
			 		
													
	
				Replied by nachoalja on topic mesaboard 7i76e + 7i85s + 7i85 with ssi for absolute encoder bitfile			
			
				This is the data sheet of the chip from page 1_12 because the all sheet exceed.
The info for ssi is there.
Thanks again.
					The info for ssi is there.
Thanks again.
		Last edit: 19 Mar 2022 11:47  by nachoalja.		Reason: an error	
			Please Log in or Create an account to join the conversation.
- nachoalja
 - Offline
 - New Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 13
 - Thank you received: 0
 
			
	
						22 Mar 2022 10:25				#238004
		by nachoalja
	
	
		
			
	
			
			 		
													
	
				Replied by nachoalja on topic mesaboard 7i76e + 7i85s + 7i85 with ssi for absolute encoder bitfile			
			
				Hello again.
I have done to work the encoder in the 7i85s without problems, but in the 7i76e the encoder do not stop to jump. I have read the pins with a tester and in the 7i85s the clock pairs give me 5 volt I imagine because they are high to begin and the data pins give near 0 volts.
But in the 7i76e the pairs of the clock they are jumping, jingleing, or osclitating between - and + volts, very quick. Maibe is this the problem.
In the hal show, the pins of rawcount are continualy movimg.
I have changed the pairs, a lot of combinations but none of them worked.
Maybe something in the bitfile?
Maybe in future I will buy a 7i85 to combine with 7i76e + 7i85s if I can not do to work the sistem with rs422 of the 7i76e.
Some suggestion?
Thanks a lot.
					I have done to work the encoder in the 7i85s without problems, but in the 7i76e the encoder do not stop to jump. I have read the pins with a tester and in the 7i85s the clock pairs give me 5 volt I imagine because they are high to begin and the data pins give near 0 volts.
But in the 7i76e the pairs of the clock they are jumping, jingleing, or osclitating between - and + volts, very quick. Maibe is this the problem.
In the hal show, the pins of rawcount are continualy movimg.
I have changed the pairs, a lot of combinations but none of them worked.
Maybe something in the bitfile?
Maybe in future I will buy a 7i85 to combine with 7i76e + 7i85s if I can not do to work the sistem with rs422 of the 7i76e.
Some suggestion?
Thanks a lot.
Please Log in or Create an account to join the conversation.
- PCW
 - 
				
											 - Offline
 - Moderator
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 17380
 - Thank you received: 5068
 
			
	
						22 Mar 2022 15:37		 -  22 Mar 2022 15:44		#238014
		by PCW
	
	
		
			
	
	
		
	
			 		
													
	
				Replied by PCW on topic mesaboard 7i76e + 7i85s + 7i85 with ssi for absolute encoder bitfile			
			
				Yes, I think there was an error in the bitfile (wrong enable polarity for the RS-485
interface on the 7I76E) so the CLK output is floated. This should be a correct bitfile:
 
 			
					interface on the 7I76E) so the CLK output is floated. This should be a correct bitfile:
Attachments:
		Last edit: 22 Mar 2022 15:44  by PCW.			
			Please Log in or Create an account to join the conversation.
- nachoalja
 - Offline
 - New Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 13
 - Thank you received: 0
 
			
	
						22 Mar 2022 18:34				#238021
		by nachoalja
	
	
		
			
	
			
			 		
													
	
				Replied by nachoalja on topic mesaboard 7i76e + 7i85s + 7i85 with ssi for absolute encoder bitfile			
			
				Hello I have verify the bitfile with mesaflash and give me this result in the terminal.
usuario@debian:~/Descargas/7i76e_7i76x1_7i85sx1_ssid_2022-03-22$ mesaflash --device 7i76e --addr 10.10.10.10 --verify 7i76e_7i76x1_7i85sx1_ssid.bit
Checking file... OK
File type: BIT file
Boot sector OK
Verifying EEPROM sectors starting from 0x100000...
|VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV
Error at 0x1493BB expected: 0x0 but read: 0x5
Do I have to write this bitfile?
Thanks again.
					usuario@debian:~/Descargas/7i76e_7i76x1_7i85sx1_ssid_2022-03-22$ mesaflash --device 7i76e --addr 10.10.10.10 --verify 7i76e_7i76x1_7i85sx1_ssid.bit
Checking file... OK
File type: BIT file
Boot sector OK
Verifying EEPROM sectors starting from 0x100000...
|VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV
Error at 0x1493BB expected: 0x0 but read: 0x5
Do I have to write this bitfile?
Thanks again.
Please Log in or Create an account to join the conversation.
- PCW
 - 
				
											 - Offline
 - Moderator
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 17380
 - Thank you received: 5068
 
			
	
						22 Mar 2022 18:42				#238022
		by PCW
	
	
		
			
	
			
			 		
													
	
				Replied by PCW on topic mesaboard 7i76e + 7i85s + 7i85 with ssi for absolute encoder bitfile			
			
				Yes, its a different (and hopefully fixed) bitfile.			
					Please Log in or Create an account to join the conversation.
- nachoalja
 - Offline
 - New Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 13
 - Thank you received: 0
 
			
	
						22 Mar 2022 18:56				#238024
		by nachoalja
	
	
		
			
	
			
			 		
													
	
				Replied by nachoalja on topic mesaboard 7i76e + 7i85s + 7i85 with ssi for absolute encoder bitfile			
			
				But one question.
The new bitfile when I verify with mesaflash give me an error. The doubt I have is if I can write this bitfile to fpga without problems?
					The new bitfile when I verify with mesaflash give me an error. The doubt I have is if I can write this bitfile to fpga without problems?
Please Log in or Create an account to join the conversation.
- PCW
 - 
				
											 - Offline
 - Moderator
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 17380
 - Thank you received: 5068
 
			
	
						22 Mar 2022 18:59				#238025
		by PCW
	
	
		
			
	
			
			 		
													
	
				Replied by PCW on topic mesaboard 7i76e + 7i85s + 7i85 with ssi for absolute encoder bitfile			
			
				I would expect it to get an error if you have not written it yet because
--verify is comparing the old bitfile in the flash chip with the new bitfile
					--verify is comparing the old bitfile in the flash chip with the new bitfile
Please Log in or Create an account to join the conversation.
- nachoalja
 - Offline
 - New Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 13
 - Thank you received: 0
 
			
	
						22 Mar 2022 19:00				#238026
		by nachoalja
	
	
		
			
	
			
			 		
													
	
				Replied by nachoalja on topic mesaboard 7i76e + 7i85s + 7i85 with ssi for absolute encoder bitfile			
			
				Ok I understand.
Tomorrow I will write the new bitfile.
Thanks a lot.
					Tomorrow I will write the new bitfile.
Thanks a lot.
Please Log in or Create an account to join the conversation.
		Moderators: PCW, jmelson	
- Hardware & Machines
 - Driver Boards
 - mesaboard 7i76e + 7i85s + 7i85 with ssi for absolute encoder bitfile
 
		Time to create page: 0.102 seconds