Commit Graph

231 Commits

Author SHA1 Message Date
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
Sen Wang
002db97cca Pull request #68: rtlibs v9.1 release item + artifacts
Merge in PINDSW/motor_control_sdk from rtlibs_9_01 to next

* commit '306b984080aeb47efe35746bf47eb44158ae65d9':
  am243x/am263x: rtlibs: Add transforms libraries and examples
2023-12-14 22:42:41 -06:00
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
e0074a6e73 Pull request #70: am243x: pruicss_pwm: add documentation
Merge in PINDSW/motor_control_sdk from a0503545_PWM to next

* commit 'faa5fb552835ed4960336e835f686f6d33f41b3c':
  am243x/am64x: pruicss_pwm: add pruicss pwm sync eg
  am243x/am64x: pruicss_pwm: move pruicss duty cycle
  am64x/am243x: pruicss_pwm: add documentation
2023-12-13 06:41:26 -06:00
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
3420efa0ae Pull request #64: am64x/am243x: SDFM: Clock Phase Compensation
Merge in PINDSW/motor_control_sdk from a0502729_PINDSW-5509_SDFM_clock_phase_compensation to next

* commit 'fb8dd6371acb26455cf74aff57bee24b606fc9bc':
  am64x/am243x: SDFM: Clock Phase Compensation
2023-12-13 03:51:39 -06:00
Naresh A
d7354bf892 Pull request #71: am64x/am243x/am263x : rov : fix Runtime object view issue for examples
Merge in PINDSW/motor_control_sdk from PINDSW-7072-Runtime-object-view-is-not-working-with-motor-control-sdk-examples to next

* commit 'bee0db6466b8a0e971a3ec9f41716af6251e1ff2':
  am64x/am243x/am263x : rov : fix Runtime object view issue for examples
2023-12-12 04:15:49 -06:00
Naresh A
bee0db6466 am64x/am243x/am263x : rov : fix Runtime object view issue for examples
Fix Runtime object view issue for examples

Fixes: PINDSW-7072

Signed-off-by: Naresh A <nareshk@ti.com>
2023-12-12 15:32:55 +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
91ac3f40e4 Pull request #69: am64x/am243x/am263x : rov : fix Runtime object view issue for examples
Merge in PINDSW/motor_control_sdk from PINDSW-7072-Runtime-object-view-is-not-working-with-motor-control-sdk-examples to next

* commit '20214971b1ab1e0d2b76133e8f57b8a7cd53afac':
  am64x/am243x/am263x : rov : fix Runtime object view issue for examples
2023-12-08 02:59:14 -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
Manoj Koppolu
ff5c4f5fae am243x/am64x: pruio: add pwm driver
-add pwm driver

Fixes: PINDSW-7096

Signed-off-by: Manoj Koppolu <manoj_koppolu@ti.com>
2023-12-07 18:20:42 +05:30
Rajul Bhambay
9998f7deb4 Pull request #59: am64x/am243x: HDSL- multiple sync frequencies support
Merge in PINDSW/motor_control_sdk from a0497643_PINDSW-7049_hdsl_sync_mode_multiple_frequencies to next

* commit '4aa9cfe08d63dac6bf46725ba6b82da48206c7e5':
  am64x/am243x: hdsl: Fix for multiple sync frequency
2023-12-07 03:33:48 -06:00
Rajul Bhambay
4aa9cfe08d am64x/am243x: hdsl: Fix for multiple sync frequency
- Add frequency support from 8 to 50 KHz
- Add ES value support from 1 to 10

Fixes: PINDSW-7049

Signed-off-by: Rajul Bhambay <r-bhambay@ti.com>
2023-12-07 14:59:38 +05:30
Dhaval Khandla
41e55e7d17 Pull request #65: am243x: bissc: Add examples, driver and firmwares
Merge in PINDSW/motor_control_sdk from PINDSW-5479_add_bissc to next

* commit '2c4dd5bfc01d3716401032416a87b31238a8e285':
  am243x: bissc: Add examples, driver and firmwares
2023-12-06 22:06:09 -06:00
Achala Ram
ccde554ed9 Pull request #61: am64x/am243x: SDFM: Enable Fast detect and Trip zone
Merge in PINDSW/motor_control_sdk from a0502729_PINDSW-5510_SDFM_fast_detect_and_trip_generation to next

* commit '5e9187bc7cb972c73207afc588c4c898ad77d074':
  am64x/am243x: SDFM: Enable Fast detect and Trip zone
2023-12-06 20:33:03 -06:00
Achala Ram
5e9187bc7c am64x/am243x: SDFM: Enable Fast detect and Trip zone
-Enbale fast detect block
-Add support for trip generation

Fixes: PINDSW-5510, PINDSW-5523
Signed-off-by: Achala Ram <a-ram@ti.com>
2023-12-06 17:18:48 +05:30
Achala Ram
72500890dd Pull request #67: am64x/am243x: Endat SDFM : Updates project .js files
Merge in PINDSW/motor_control_sdk from a0502729_PINDSW-7103_remove_linker_file_generation to next

* commit '78fef4b7807d3f32a6b9261f2652fbb57179530a':
  am64x/am243x: Endat/SDFM: Update project js files
2023-12-05 03:20:55 -06:00
Achala Ram
78fef4b780 am64x/am243x: Endat/SDFM: Update project js files
-Remove linker file generation from template

Fixes: PINDSW-7103

Signed-off-by: Achala Ram <a-ram@ti.com>
2023-12-05 14:42:03 +05:30
Dhaval Khandla
2c4dd5bfc0 am243x: bissc: Add examples, driver and firmwares
- Add support for single channel
- Add support for multi channel using single PRU
- Add support for multi channel using multiple PRUs with load share mode

Fixes: PINDSW-5468, PINDSW-5479, PINDSW-5488, PINDSW-5494, PINDSW-5495

Signed-off-by: Dhaval Khandla <dhavaljk@ti.com>
2023-12-04 15:54:58 +05:30
Dhaval Khandla
e9cc53f0ee Pull request #46: am64x/am243x: hdsl: Bug fixes based on SICK Testing
Merge in PINDSW/motor_control_sdk from PINDSW-6528_hdsl_bugfixes to next

* commit '9fa938d6aeed61f4cc6b575f675eac36404c3b22':
  am64x/am243x: hdsl: Fix the clearing behavior of ONLINE STATUS 1 SCE bit
  am64x/am243x: hdsl: Fix SSUM bit in EVENT_S register
  am64x/am243x: hdsl: Add APIs for long message read and write
  am64x/am243x: hdsl: Fix compiler warnings
  am64x/am243x: hdsl: Add support for PIPE_D register
  am64x/am243x: hdsl: Fix the QM update for safe channel 2
  am64x/am243x: hdsl: Fix the reset value of PRST bit in status/event
2023-11-22 04:51:50 -06:00
Dhaval Khandla
9fa938d6ae am64x/am243x: hdsl: Fix the clearing behavior of ONLINE STATUS 1 SCE bit
- Fix register corruption during SUM/SSUM update in ONLINE STATUS

Fixes: PINDSW-7048

Signed-off-by: Dhaval Khandla <dhavaljk@ti.com>
2023-11-09 10:05:53 +05:30
Dhaval Khandla
ccda32786b am64x/am243x: hdsl: Fix SSUM bit in EVENT_S register
- Bit should be set if summary is non-zero

Fixes: PINDSW-6629

Signed-off-by: Dhaval Khandla <dhavaljk@ti.com>
2023-11-09 10:05:53 +05:30
Dhaval Khandla
54303c850e am64x/am243x: hdsl: Add APIs for long message read and write
- Also update the HDSL_write_pc_buffer API
- Update the SDK example to use updated APIs
- Set bit 7 in PC_ADD_H and PC_OFF_H in firmware for long messages

Fixes: PINDSW-7032

Signed-off-by: Dhaval Khandla <dhavaljk@ti.com>
2023-11-09 10:05:52 +05:30