Commit Graph

230 Commits

Author SHA1 Message Date
Manoj Koppolu
ba8a20b928 am243x/am64x: pruicss_pwm: add pruicss pwm sync eg
-update documentation
-modify evm based examples to use IO breakout board
-clean code

Fixes: PINDSW-7096

Signed-off-by: Manoj Koppolu <manoj_koppolu@ti.com>
2024-01-04 19:52:37 +05:30
Ming Wei
f20bac0466 Pull request #60: Single chip dual axis servo lp bp 09 01
Merge in PINDSW/motor_control_sdk from single_chip_dual_axis_servo_lp_bp_09_01 to next

* commit 'fa73801ff5f4060fd7a1828be21b74d6bbc19f34':
  am243x: EtherCAT: Motor drive reference design code
2024-01-04 05:16:25 -06:00
Achala Ram
bab38abfb6 Pull request #105: am243x/am64x: EnDat: Update firmware version
Merge in PINDSW/motor_control_sdk from a0502729_endat_update_firmware_version to next

* commit '7f1f4c38533cbeec82eecaac0d9378a1717b2ef7':
  am243x/am64x: EnDat: Update firmware version
2024-01-04 05:13:54 -06:00
Achala Ram
7f1f4c3853 am243x/am64x: EnDat: Update firmware version
Fixes: PINDSW-7177

Signed-off-by: Achala Ram <a-ram@ti.com>
2024-01-04 15:09:33 +05:30
Ming Wei
fa73801ff5 am243x: EtherCAT: Motor drive reference design code
-Initial version for MCSDK 09.01.00
-Ported the EnDat 2.2 part to the new ICSSG EnDat 2.2 FW
-Add SDFM code
-Add endat_periodic_trigger.c/h to the CCS projectspec file
-Add PRU and RTU firmware header files for SDFM
-Enable load share mode
-SDFM Enable load share mode support
-Migrate to the EnDat 2.2 FW/driver
-Migrate to the SDFM FW/drive
-Migrate to Motor Control SDK 09.01.00.01
-Migrate R5F_0_0 drives motor 2 only project to EnDat 2.2
 FW/driver and SDFM FW/drive
-Fixed the EtherCAT CiA402 client interference with motor control issue
-Add JS for projectspec file generation
-Code clean up
-Integarted the RTLib FOC functions into the reference design
-Add USE_RTLIB_FOC macro
-Add non cacheable region for EtherCAT slave application
-Remove SDDF folder

Fixes: PINDSW-7074

Signed-off-by: Ming Wei <mwei@ti.com>
2024-01-04 13:31:39 +05:30
Achala Ram
afa298aacb Pull request #104: am243x: SDFM/EnDat: Remove cmp stauts clear code
Merge in PINDSW/motor_control_sdk from a0502729_sdfm_remove_cmp_clear_code to next

* commit '16f2e3e77b1d4f84d8c4c168a8971cd7ee8af71a':
  am243x: SDFM/EnDat: Remove cmp status clear code
2024-01-03 09:34:54 -06:00
Achala Ram
16f2e3e77b am243x: SDFM/EnDat: Remove cmp status clear code
- Remove cmp status clear code in sdfm firmware
- Update cmp status clear code in Endat firmware

Fixes: PINDSW-7165

Signed-off-by: Achala Ram <a-ram@ti.com>
2024-01-03 21:04:26 +05:30
Dhaval Khandla
7f25c9e085 Pull request #100: HDSL : Add third channel support
Merge in PINDSW/motor_control_sdk from PINDSW-7051_add_hdsl_3rd_channel_2 to next

* commit '086fda69e2894c94701b50fa6554e1258d5ca9cd':
  am64x/am243x: hdsl: Add support for third channel
2024-01-02 01:42:13 -06:00
Achala Ram
be16eb374a Pull request #103: am64x/am243x: SDFM: Add ecap output pin
Merge in PINDSW/motor_control_sdk from a0502729_sdfm_add_ecap_output_pin to next

* commit '1d34b0f45d3d8e132ea5067370a35607b27eb061':
  am64x/am243x: SDFM: Add ecap output pin
2024-01-02 00:25:47 -06:00
Achala Ram
1d34b0f45d am64x/am243x: SDFM: Add ecap output pin
- Add ecap output pin for load share evm examples

Fixes: PINDSW-7156

Signed-off-by: Achala Ram <a-ram@ti.com>
2024-01-02 09:53:16 +05:30
Dhaval Khandla
086fda69e2 am64x/am243x: hdsl: Add support for third channel
- Add example and firmware projects for third channel
- Update diagnostic application changes to support 3rd channel
- Add overlay based firmware build for third channel
- Update sysconfig module for third channel
- Add driver APIs for configuring copy table and channel mask
- Add IPC among cores when overlay based loading is needed for
  third channel
- Add logic to reset all channels when one channel is reset

Fixes: PINDSW-7051

Signed-off-by: Rajul Bhambay <r-bhambay@ti.com>
Signed-off-by: Dhaval Khandla <dhavaljk@ti.com>
2023-12-30 14:32:25 +05:30
Dhaval Khandla
764b58a1cb Pull request #86: HDSL: Code reduction
Merge in PINDSW/motor_control_sdk from PINDSW-7051_add_hdsl_3rd_channel to next

* commit '40b71b3474c3c6b075f07bf940cfe1a5bf407a08':
  am64x/am243x: hdsl: Convert macros into functions for size optimisation
2023-12-27 06:20:17 -06:00
Dhaval Khandla
40b71b3474 am64x/am243x: hdsl: Convert macros into functions for size optimisation
- Reduced PRU instructions

Fixes: PINDSW-7051

Signed-off-by: Rajul Bhambay <r-bhambay@ti.com>
2023-12-27 13:19:59 +05:30
Achala Ram
7ce1971eae Pull request #97: am64x/am243x: SDFM: Add continuous mode examples
Merge in PINDSW/motor_control_sdk from a0502729_PINDSW-7141_add_example_for_continuous_mode to next

* commit 'e7953dcf9f44aafb0dfbf006d8f1547d640fce0d':
  am64x/am243x: SDFM: Add continuous mode examples
2023-12-22 07:23:58 -06:00
Manoj Koppolu
dd73cf7101 Pull request #99: am64x/am243: tamagawa: update documentation
Merge in PINDSW/motor_control_sdk from a0503545_tamagawa_PINDSW-5472 to next

* commit 'bb1adf98cbed997fded1c6d7ed0a50720227554b':
  am64x/am243: tamagawa: update documentation
2023-12-22 07:23:40 -06:00
Manoj Koppolu
bb1adf98cb am64x/am243: tamagawa: update documentation
- update documentation

Fixes: PINDSW-5472

Signed-off-by: Manoj Koppolu <manoj_koppolu@ti.com>
2023-12-22 18:11:36 +05:30
Achala Ram
e7953dcf9f am64x/am243x: SDFM: Add continuous mode examples
Fixes: PINDSW-7141

Signed-off-by: Achala Ram <a-ram@ti.com>
2023-12-22 17:50:01 +05:30
Achala Ram
8f90b04172 Pull request #96: am243x: SDFM: remove duplicates file for SDFM example
Merge in PINDSW/motor_control_sdk from a0502729_PINDSW-7141_add_example_for_continuous_mode to next

* commit 'f9f30b7d8d215c013cd4a6f3f62bdb13718234d7':
  am243x: SDFM: remove duplicates file for SDFM example
2023-12-22 04:11:15 -06:00
Achala Ram
f9f30b7d8d am243x: SDFM: remove duplicates file for SDFM example
Fixes: PINDSW-7141

Signed-off-by: Achala Ram <a-ram@ti.com>
2023-12-22 15:29:32 +05:30
Dhaval Khandla
d70af64ded Pull request #95: am64x/am243x: endat: Increase available MSRAM size for application
Merge in PINDSW/motor_control_sdk from PINDSW-7142_fix_endat_build to next

* commit '7b96963d34ad7e574866311131a8dbfef61ced55':
  am64x/am243x: endat: Increase available MSRAM size for application
2023-12-22 03:00:19 -06:00
Dhaval Khandla
7b96963d34 am64x/am243x: endat: Increase available MSRAM size for application
- Debug mode application is slightly above 256 KB in size, which caused
  linker failure
- Increase the MSRAM MEMORY size to 512 KB

Fixes: PINDSW-7142

Signed-off-by: Dhaval Khandla <dhavaljk@ti.com>
2023-12-22 14:23:13 +05:30
Achala Ram
e5116e09ee Pull request #88: A0502729 PINDSW-7136 enable shifting between time trigger point
Merge in PINDSW/motor_control_sdk from a0502729_PINDSW-7136_enable_shifting_between_time_trigger_point to next

* commit 'e4930a5fcd1dd756e5d71819e3d025a45f227623':
  am64x/am243x: SDFM: Enable shifting between time-trigger point
2023-12-22 02:28:53 -06:00
Manoj Koppolu
bb51e7507b Pull request #94: am243x/am64x: pru_io: remove redundant code in makefile_pru
Merge in PINDSW/motor_control_sdk from a0503545_gmake_PINDSW-7115 to next

* commit 'fb89d7f3a66f89cb144eaba91eac7ceaea6ab770':
  am243x/am64x: pru_io: remove redundant code in makefile_pru
2023-12-22 02:26:55 -06:00
Manoj Koppolu
fb89d7f3a6 am243x/am64x: pru_io: remove redundant code in makefile_pru
- resolve reviewer comments

Fixes: PINDSW-7115

Signed-off-by: Manoj Koppolu <manoj_koppolu@ti.com>
2023-12-22 13:41:36 +05:30
Manoj Koppolu
24f236d0f3 Pull request #93: am64x/am243: tamagawa: remove unused variable
Merge in PINDSW/motor_control_sdk from a0503545_tamagawa to next

* commit '6be2996b4379a776e4583fab1864a055b92faae6':
  am64x/am243: tamagawa: remove unused variable
2023-12-21 22:53:42 -06:00
Manoj Koppolu
6be2996b43 am64x/am243: tamagawa: remove unused variable
- remove unused variable

Fixes: PINDSW-5472

Signed-off-by: Manoj Koppolu <manoj_koppolu@ti.com>
2023-12-22 10:19:54 +05:30
Achala Ram
e4930a5fcd am64x/am243x: SDFM: Enable shifting between time-trigger point
-Enable shifting between time-trigger point for 2-axis

Fixes: PINDSW-7136

Signed-off-by: Achala Ram <a-ram@ti.com>
2023-12-22 10:14:49 +05:30
Achala Ram
0b99f6cb0d Pull request #92: am64x/am243x: SDFM: remove pinmux files
Merge in PINDSW/motor_control_sdk from a0502729_PINDSW-7139_remove_pinmux_files to next

* commit '403d244a53f64152bec79ca845d301700b07f14c':
  am64x/am243x: SDFM: remove pinmux files
2023-12-21 22:33:19 -06:00
Manoj Koppolu
219b210e45 Pull request #91: am243x/am64x: pru_io: update makefile
Merge in PINDSW/motor_control_sdk from a0503545_gmake_PINDSW-7115 to next

* commit '6a9d3df07d032789a2b3ee21a3c420de0de4b05d':
  am243x/am64x: pru_io: update makefile
2023-12-21 22:27:34 -06:00
Achala Ram
403d244a53 am64x/am243x: SDFM: remove pinmux files
-Add sdfm pins in syscfg

Fixes: PINDSW-7139

Signed-off-by: Achala Ram <a-ram@ti.com>
2023-12-21 22:59:25 +05:30
Manoj Koppolu
6a9d3df07d am243x/am64x: pru_io: update makefile
- enable gmake without sdk path dependency

Fixes: PINDSW-7115

Signed-off-by: Manoj Koppolu <manoj_koppolu@ti.com>
2023-12-21 20:59:35 +05:30
Achala Ram
e751569925 Pull request #90: am64x/am243x: SDFM: add syscfg module
Merge in PINDSW/motor_control_sdk from a0502729_PINDSW-7102_sdfm_add_syscfg_module to next

* commit 'c4246dd4b937c1a3e454e3e0a9c36f17ba0153e6':
  am243x/am64x: PWM: Add syscfg module
  am64x/am243x: SDFM: add syscfg module
2023-12-21 07:14:49 -06:00
Achala Ram
c4246dd4b9 am243x/am64x: PWM: Add syscfg module
- Add PWM syscfg module in motor control section

Fixes: PINDSW-7102

Signed-off-by: Achala Ram <a-ram@ti.com>
2023-12-21 18:30:04 +05:30
Achala Ram
0a4b4cf5ef am64x/am243x: SDFM: add syscfg module
Fixes: PINDSW-7102

Signed-off-by: Achala Ram <a-ram@ti.com>
2023-12-21 16:45:06 +05:30
Dhaval Khandla
59537cb532 Pull request #89: am243x/am263x: docs: Fix build errors
Merge in PINDSW/motor_control_sdk from PINDSW-7138_fix_docs to next

* commit '01ab30a8bb76035531f4a1a78d66be8f508ec20e':
  am243x/am263x: docs: Fix build errors
2023-12-21 04:28:11 -06:00
Dhaval Khandla
01ab30a8bb am243x/am263x: docs: Fix build errors
Fixes: PINDSW-7138

Signed-off-by: Dhaval Khandla <dhavaljk@ti.com>
2023-12-21 14:27:44 +05:30
Manoj Koppolu
4c8bed70f8 Pull request #87: am64x/am243: tamagawa: Enable periodic trigger mode for multi-channel
Merge in PINDSW/motor_control_sdk from a0503545_tamagawa to next

* commit '10ae899ab6ace09c4f69d78916148e3d94100d19':
  am64x/am243: tamagawa: resolve reviewer comments
  am64x/am243: tamagawa: add global reinit
  am64x/am243: tamagawa: Enable periodic trigger mode for multi-channel
2023-12-20 23:43:54 -06:00
Achala Ram
91f17a6199 Pull request #82: am243x/am64x: SDFM: Enable trip-based OC and Zero cross detection.
Merge in PINDSW/motor_control_sdk from a0502729_PINDSW-5523_SDFM_enable_trip_based_oc_and_zero_cross to next

* commit '0ea609e6b4a34133c2faa41a1c8d87b888519c01':
  am64x/am243x: SDFM: Enable zero cross detection
  am243x/am64x: SDFM: Enable trip based OC detection
2023-12-20 23:39:47 -06:00
Achala Ram
0ea609e6b4 am64x/am243x: SDFM: Enable zero cross detection
-Enable GPIO based zero cross detection

Fixes: PINDSW-5523

Signed-off-by: Achala Ram <a-ram@ti.com>
2023-12-20 20:09:16 +05:30
Manoj Koppolu
10ae899ab6 am64x/am243: tamagawa: resolve reviewer comments
- resolve reviewer comments

Fixes: PINDSW-5472

Signed-off-by: Manoj Koppolu <manoj_koppolu@ti.com>
2023-12-20 20:00:00 +05:30
Manoj Koppolu
70a05f6dae am64x/am243: tamagawa: add global reinit
- add global reinit
- remove redudant code

Fixes: PINDSW-5472

Signed-off-by: Manoj Koppolu <manoj_koppolu@ti.com>
2023-12-20 19:59:36 +05:30
Manoj Koppolu
e79cc36228 am64x/am243: tamagawa: Enable periodic trigger mode for multi-channel
- add multi channel lp pru example
- enable trigger mode

Fixes: PINDSW-5472

Signed-off-by: Manoj Koppolu <manoj_koppolu@ti.com>
2023-12-20 19:58:42 +05:30
Achala Ram
48c3485bfe am243x/am64x: SDFM: Enable trip based OC detection
-Enable trip based oc detection

Fixes: PINDSW-5523

Signed-off-by: Achala Ram <a-ram@ti.com>
2023-12-20 19:18:48 +05:30
Dhaval Khandla
a9d1c6e5b4 Pull request #85: am243x/am64x: hdsl: Add check for QM becoming 15 in application
Merge in PINDSW/motor_control_sdk from PINDSW-7131_add_qm_check_in_app to next

* commit 'c7fffe2cd99081a1f1e833e9656d33f5e24a205d':
  am243x/am64x: hdsl: Add check for QM becoming 15 in application
2023-12-19 06:26:54 -06:00
Dhaval Khandla
c7fffe2cd9 am243x/am64x: hdsl: Add check for QM becoming 15 in application
- 15 is the standard value during normal operation

Fixes: PINDSW-7131

Signed-off-by: Dhaval Khandla <dhavaljk@ti.com>
2023-12-19 15:21:50 +05:30
Dhaval Khandla
e6cf3c58ad Pull request #84: am243x/am64x: hdsl: Fix stuffing in learn state
Merge in PINDSW/motor_control_sdk from PINDSW-7129_fix_hdsl_learn_state to next

* commit 'a5f10acb7b98f6a7f0e9f0242f0731e8df3b9088':
  am243x/am64x: hdsl: Fix stuffing in learn state
2023-12-19 03:33:05 -06:00
Manoj Koppolu
4f76426748 Pull request #79: am64x/am243x: pruicss_pwm: update documentation
Merge in PINDSW/motor_control_sdk from a0503545_pwm to next

* commit '8fd2c8ce97e08da0330bc7353903e5c073de4d79':
  am64x/am243x: pruicss_pwm: update documentation
2023-12-19 01:31:39 -06:00
Manoj Koppolu
8fd2c8ce97 am64x/am243x: pruicss_pwm: update documentation
-resolve reviewer comments

Fixes: PINDSW-7096

Signed-off-by: Manoj Koppolu <manoj_koppolu@ti.com>
2023-12-19 12:03:05 +05:30
Dhaval Khandla
a5f10acb7b am243x/am64x: hdsl: Fix stuffing in learn state
- Data pattern was not correct

Fixes: PINDSW-7129

Signed-off-by: Dhaval Khandla <dhavaljk@ti.com>
2023-12-19 12:01:57 +05:30
Manoj Koppolu
1f21418819 Pull request #81: am243x: tamagawa: add multi_channel example on am243x-lp
Merge in PINDSW/motor_control_sdk from a0503545_tamagawa to next

* commit '52627d5ba63e873ec4d999ea0c3dde2c7826e775':
  am243x: tamagawa: add multi_channel example on am243x-lp
2023-12-19 00:29:54 -06:00