Other Parts Discussed in Thread: CONTROLSUITE
Tool/software:
Hi engineers,
I intend to use the Endat routine in controlSUITE\development_kits\BOOSTXL_POSMGR to implement Endat communication via CLB.
1. Does ENDT_DIR control the directions of both the DATA and CLK RS485 in BOOSTXL_POSMGR simultaneously? Or since CLK is only for sending, the RS485 direction signal of CLK remains at a high level, and ENDT_DIR only controls the RS485 transmission direction of DATA?

2. I didn't see the program for initializing and configuring the SPI in the routine. Is it all encapsulated in the PM_endat22_setupPeriph() function? If so, how should I modify it if I need to use SPIA? Can I simply modify endat22Data.spi = &SpiaRegs?
3. My 28p65 project needs to support both tformat and Endat22 simultaneously. If I initialize the corresponding protocol when I select one of the encoders and then initialize the corresponding protocol again when switching to the other encoder, is this feasible?
4.There is neither a.syscfg file nor a board.c file in the routine. The relevant settings should all be encapsulated in the lib. How can I make modifications to enable the hardware to trigger the CLB to send Endat commands?
5.I tried to carry out program transplantation. However, since the specific configuration contents of the CLB are all encapsulated in the library, and the file f28p65x/headers/source/f28p65x_globalvariabledefs.c already exists in my project and cannot be deleted. As a result, when I use the PM_endat22_setupPeriph() function, the following error will occur.In this situation, how should it be modified in order to achieve a complete functional transplantation and implementation?

Regards,
Lin Haonan