Commit Graph

210 Commits

Author SHA1 Message Date
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
Dhaval Khandla
fa183c3a20 Pull request #80: HDSL: Reset related bug fixes, sysconfig updates for pinmux
Merge in PINDSW/motor_control_sdk from PINDSW-7126_fix_hdsl_reset_bug to next

* commit 'ac395009221767750a2d6ce76936129b5fb7a991':
  am243x/am64x: hdsl: Update SysConfig to add required pins per channel
  am243x/am64x: hdsl: Fix reset issue with certain encoders
  am243x/am64x: hdsl: Add a section to place main in beginning of IMEM
  am243x/am64x: hdsl: Load only required PRU firmware
2023-12-19 00:19:14 -06:00
Sen Wang
b763c4e0aa Pull request #83: am243x/am263x: Adding entry for transform sdk doc in the main doc page.
Merge in PINDSW/motor_control_sdk from rtlibs_do to next

* commit '16793924cedceb5009804a6f7d748b9dcd3443e2':
  am243x/am263x: rtlibs: Add entry for Transforms page in main doc page
2023-12-19 00:10:28 -06:00
Sen Wang
16793924ce am243x/am263x: rtlibs: Add entry for Transforms page in main doc page
Fixes: RTLIBS-8

Signed-off-by: Sen Wang <s-wang12@ti.com>
2023-12-19 11:35:39 +05:30
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
0324024e00 am243x/am64x: hdsl: Fix reset issue with certain encoders
- Revert commit af129481c2 for free run mode
- Add a separate build macro for SYNC mode

Fixes: PINDSW-7126

Signed-off-by: Dhaval Khandla <dhavaljk@ti.com>
2023-12-18 18:56:31 +05:30
Dhaval Khandla
047c1db56a am243x/am64x: hdsl: Add a section to place main in beginning of IMEM
- Add a new section for main.asm file
- Fix the build for 225 MHz sync mode firmware

Fixes: PINDSW-7127

Signed-off-by: Dhaval Khandla <dhavaljk@ti.com>
2023-12-18 18:56:31 +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
bcbbc58ffa Pull request #78: am243x/am263x : rov : fix Runtime object view issue for examples
Merge in PINDSW/motor_control_sdk from a0132450_fix_rov_issue to next

* commit '77e4e34080b7892555e6875fb626b0146fd16bd9':
  am243x/am263x : rov : fix Runtime object view issue for examples
2023-12-18 01:41:53 -06:00
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
Manoj Koppolu
55aa3cb329 Pull request #75: am243x: endat: add multi_channel example on am243x-lp
Merge in PINDSW/motor_control_sdk from a0503545_endat to next

* commit '9d4a6992bb3c5f25a4398844047dc7c3ebf76e30':
  am243x: endat: add multi_channel example on am243x-lp
2023-12-15 09:53:22 -06:00
Achala Ram
0eb6a5731c Pull request #76: am243x/am64x: Endat: Update register offset
Merge in PINDSW/motor_control_sdk from a0502729_PINDSW-7125_EnDat_Update_register_offset to next

* commit 'b89b36ccb103cabd1a49d3a9e051f1a5e7e15610':
  am243x/am64x: Endat: Update register offset
2023-12-15 09:52:24 -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
Achala Ram
3c5cc57d30 am243x/am64x: SDFM: Enable continuous mode
- Add support for continuous mode

Fixes: PINDSW-7112

Signed-off-by: Achala Ram <a-ram@ti.com>
2023-12-15 15:40:43 +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
b89b36ccb1 am243x/am64x: Endat: Update register offset
- Update register offset
- Update Multi channel single PRU firmware binary

Fixes: PINDSW-7125

Signed-off-by: Achala Ram <a-ram@ti.com>
2023-12-15 14:45:57 +05:30
Achala Ram
b35879bd82 Pull request #74: am64x/am243x: EnDat: Update linker files
Merge in PINDSW/motor_control_sdk from a0502729_PINDSW-7123_EnDat_Update_linker_file to next

* commit '3c23f4504fa8f70e50f1f68e9b17ae6cefbc91ac':
  am64x/am243x: EnDat: Update linker files
2023-12-15 02:35:22 -06:00
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