Commit Graph

93 Commits

Author SHA1 Message Date
Dhaval Khandla
a26376d426 am243x: hdsl: Fix example initialization when channel 0 is disabled
Fixes: PINDSW-5516

Signed-off-by: Dhaval Khandla <dhavaljk@ti.com>
2024-01-09 18:33:02 +05:30
Dhaval Khandla
0fb9cd68d1 am243x: hdsl: Update the linker to define alignment of copy table
Fixes: PINDSW-5516

Signed-off-by: Dhaval Khandla <dhavaljk@ti.com>
2024-01-08 19:11:39 +05:30
Dhaval Khandla
7cf2a42921 am243x: ReferenceDesign: Add example documentation page
Fixes: PINDSW-5516

Signed-off-by: Dhaval Khandla <dhavaljk@ti.com>
2024-01-08 16:28:29 +05:30
Achala Ram
cdb699254e am243x: SDFM: Update release note
- Update 9.1 release note for SDFM changes
- Remove tamagawa LP + TIDA-197 Hw setup image

Fixes: PINDSW-7472

Signed-off-by: Achala Ram <a-ram@ti.com>
2024-01-08 13:24:54 +05:30
Achala Ram
422671308b am243x/am64x: SDFM: Update sdk documentation
Fixes: PINDSW-7019

Signed-off-by: Achala Ram <a-ram@ti.com>
2024-01-06 16:27:22 +05:30
Dhaval Khandla
36ef96cfa7 am243x: ReferenceDesign: Update EtherCAT library name
Fixes: PINDSW-7215

Signed-off-by: Dhaval Khandla <dhavaljk@ti.com>
2024-01-05 14:01:15 +05:30
Dhaval Khandla
93103eb235 am243x: ReferenceDesign: Fix the makefile
Fixes: PINDSW-7215

Signed-off-by: Dhaval Khandla <dhavaljk@ti.com>
2024-01-05 13:13:59 +05:30
Dhaval Khandla
eb4f65bf17 am243x: ReferenceDesign: Use release mode cmsis lib for debug mode build
Fixes: MCUSDK-12612

Signed-off-by: Dhaval Khandla <dhavaljk@ti.com>
2024-01-05 11:33:16 +05:30
Dhaval Khandla
37dfd97529 Pull request #106: am243x: ReferenceDesign: Update ICSSG1 clock configuration
Merge in PINDSW/motor_control_sdk from PINDSW-7166_fix_icssg1_clock_init_ref_design to next

* commit 'c71267b7fceea304bde32fd6c92449e08388998c':
  am243x: ReferenceDesign: Update ICSSG1 clock configuration
2024-01-04 22:38:12 -06:00
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
Dhaval Khandla
c71267b7fc am243x: ReferenceDesign: Update ICSSG1 clock configuration
- For the tidep_01032_dual_motor_drive reference design, ICSSG0 core clock should
  be configured to 300 MHz and ICSSG1 core clock should be configured to 200 MHz.
  R5F_0_0 configures ICSSG0 first and then R5F_1_0 configures ICSSG1.
- Because of MCUSDK-12117 bug, ICSSG1 clock configuration to 200 MHz causes ICSSG0
  also to run at 200 MHz which is a problem for EnDat and SDFM firmwares.
- To avoid this issue, the clock configuration of ICSSG1 should be done separately
  and not from SysConfig generated API.

Fixes: PINDSW-7166

Signed-off-by: Dhaval Khandla <dhavaljk@ti.com>
2024-01-04 18:36:22 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
Dhaval Khandla
ac39500922 am243x/am64x: hdsl: Update SysConfig to add required pins per channel
Fixes: PINDSW-7128

Signed-off-by: Dhaval Khandla <dhavaljk@ti.com>
2023-12-19 10:06:53 +05:30
Dhaval Khandla
295f98c971 am243x/am64x: hdsl: Load only required PRU firmware
- Firmware for RTU and PRU cores are always being loaded
- This leads to unnecessary protocol resets in beginning, because of
  global PRU-ICSS peripheral reinitialization in both cores

Fixes: PINDSW-7126

Signed-off-by: Dhaval Khandla <dhavaljk@ti.com>
2023-12-18 18:56:18 +05:30
Manoj Koppolu
52627d5ba6 am243x: tamagawa: add multi_channel example on am243x-lp
-add multi_channel lp example

Fixes: PINDSW-5485

Signed-off-by: Manoj Koppolu <manoj_koppolu@ti.com>
2023-12-18 16:50:25 +05:30
Naresh A
77e4e34080 am243x/am263x : rov : fix Runtime object view issue for examples
Fix Runtime object view issue for all the examples of Motor Control SDK

Fixes: PINDSW-7072

Signed-off-by: Naresh A <nareshk@ti.com>
2023-12-18 12:01:23 +05:30
Dhaval Khandla
18fd4362c8 Pull request #72: am243x: bissc: Refactor the code
Merge in PINDSW/motor_control_sdk from PINDSW-5479_update_bissc to next

* commit 'c5bc321959da60d80ded93ea4a9ce96514edd614':
  am243x: bissc: Refactor the code
2023-12-15 09:54:57 -06:00
Achala Ram
3bd54856c4 Pull request #63: A0502729 sdfm enable load share mode
Merge in PINDSW/motor_control_sdk from a0502729_sdfm_enable_load_share_mode to next

* commit '7df441dc89aedfe930c93648cc7c9b3d4100a65f':
  am64x/am243x: SDFM: Enable Load share mode
  am243x/am64x: SDFM: Enable continuous mode
2023-12-15 09:53:45 -06:00
Achala Ram
7df441dc89 am64x/am243x: SDFM: Enable Load share mode
- Enable load share mode

Fixes: PINDSW-7112

Signed-off-by: Achala Ram <a-ram@ti.com>
2023-12-15 15:42:04 +05:30
Manoj Koppolu
9d4a6992bb am243x: endat: add multi_channel example on am243x-lp
-add multi_channel_load_share lp example
-add multi_channel_single_pru lp example

Fixes: PINDSW-5476

Signed-off-by: Manoj Koppolu <manoj_koppolu@ti.com>
2023-12-15 15:06:08 +05:30
Achala Ram
3c23f4504f am64x/am243x: EnDat: Update linker files
- Define memory section for gEnDatChInfo structure

Fixes: PINDSW-7123

Signed-off-by: Achala Ram <a-ram@ti.com>
2023-12-15 13:10:48 +05:30
Sen Wang
306b984080 am243x/am263x: rtlibs: Add transforms libraries and examples
Fixes: RTLIBS-8

Signed-off-by: Sen Wang <s-wang12@ti.com>
2023-12-15 09:17:20 +05:30
Dhaval Khandla
c5bc321959 am243x: bissc: Refactor the code
- Align to coding guidelines
- Remove am243x-evm examples

Fixes: PINDSW-5479

Signed-off-by: Dhaval Khandla <dhavaljk@ti.com>
2023-12-14 18:06:44 +05:30
Manoj Koppolu
faa5fb5528 am243x/am64x: pruicss_pwm: add pruicss pwm sync eg
-add pruicss pwm sync api calls
-add pruicss pwm sync example
-add pruicss pwm sync documentation
-update rov files

Fixes: PINDSW-7096

Signed-off-by: Manoj Koppolu <manoj_koppolu@ti.com>
2023-12-13 17:30:17 +05:30
Manoj Koppolu
aec49e6479 am243x/am64x: pruicss_pwm: move pruicss duty cycle
-move pruicss duty cycle example

Fixes: PINDSW-7096

Signed-off-by: Manoj Koppolu <manoj_koppolu@ti.com>
2023-12-13 15:51:25 +05:30
Manoj Koppolu
16e4af809f am64x/am243x: pruicss_pwm: add documentation
-modify example to use macros
-add pruicss_pwm duty documentation

Fixes: PINDSW-7096

Signed-off-by: Manoj Koppolu <manoj_koppolu@ti.com>
2023-12-13 15:40:56 +05:30
Achala Ram
fb8dd6371a am64x/am243x: SDFM: Clock Phase Compensation
-Enable Clock Phase mesurement
-Add sdfm example for phase compensation

Fixes: PINDSW-5509

Signed-off-by: Achala Ram <a-ram@ti.com>
2023-12-12 14:11:54 +05:30
Manoj Koppolu
246c710651 Pull request #66: am243x/am64x: pruio: add pwm driver
Merge in PINDSW/motor_control_sdk from a0503545_PWM to next

* commit 'baaca0657d2866d64a545b6bfadfeea26f1de260':
  am243x: pruio: modify example
  am243x/am64x: pruio: add pwm driver example
  am243x/am64x: pruio: add pwm driver
2023-12-08 03:20:18 -06:00
Naresh A
20214971b1 am64x/am243x/am263x : rov : fix Runtime object view issue for examples
Fix Runtime object view issue for all the examples of Motor Control SDK

Fixes: PINDSW-7072

Signed-off-by: Naresh A <nareshk@ti.com>
2023-12-08 14:22:04 +05:30
Manoj Koppolu
baaca0657d am243x: pruio: modify example
-modify example to generate pwm's in sync
-change to pruicss_pwm
-remove hardcoded values in api calls

Fixes: PINDSW-7096

Signed-off-by: Manoj Koppolu <manoj_koppolu@ti.com>
2023-12-08 14:09:09 +05:30
Manoj Koppolu
b158ee7d6a am243x/am64x: pruio: add pwm driver example
-add pwm driver example
-resolve reviewer comments

Fixes: PINDSW-7096

Signed-off-by: Manoj Koppolu <manoj_koppolu@ti.com>
2023-12-07 18:20:42 +05:30