ethercat icon indicating copy to clipboard operation
ethercat copied to clipboard

Sync/Latch configuration settings in ESC_CONFIG_DATA (to be saved in EEPROM)

Open wbzhong-hello opened this issue 1 year ago • 0 comments

Hi, I am using the Microchip-SAMD51-LAN9252-SSC_Config.xml in my project.

The ESI file generated by SSC contains below ESC_CONFIG_DATA:

<Eeprom>
	<ByteSize>2048</ByteSize>
	<ConfigData>800E00CC8813FF00000000800000</ConfigData>
</Eeprom>

The 5th byte is used to configure Sync/Latch pins, as described in LAN9252 datasheet. However, current settings (88h) will configure Sync/Latch pins as Latch inputs. and Sync0/1 map are enabled (AL Event Request Register (0220h bit 2/3)). In the project and toturial, Sync/Latch pins are used as Sync outputs! Should we set this byte to 44h? Acrobat_nch66EACK5

wbzhong-hello avatar Feb 23 '24 16:02 wbzhong-hello