Commit Graph

230 Commits

Author SHA1 Message Date
Dhaval Khandla
3faf4a3ee1 am243x/am263x : rtlibs : Add DCL examples and sources
Fixes: PINDSW-6566

Signed-off-by: Dhaval Khandla <dhavaljk@ti.com>
2023-09-15 11:53:51 +05:30
Achala Ram
027f0c37b5 am64x/am243x: endat, sdfm: Update documentation
- Update design documentation for SDFM
- Update features list for EnDat and SDFM
- Update test cases description for EnDat
- Update release notes and backward compatibility

Fixes: PINDSW-6557

Signed-off-by: Achala Ram <a-ram@ti.com>
2023-09-15 11:32:10 +05:30
Rajul Bhambay
4b0057b16e Pull request #29: am64x/am243x: HDSL: Documentation
Merge in PINDSW/motor_control_sdk from a0497643_PINDSW-6913_HDSL_DOCUMENTATION to next

* commit '254d63a73ee8beaf90a256b54f3b1c7f81ffaa81':
  am64x/am243x: hdsl: Update documentation
2023-09-14 23:59:23 -05:00
Rajul Bhambay
254d63a73e am64x/am243x: hdsl: Update documentation
- Updated the landing page, design page and example page for HDSL
- Remove DDR Trace example specific page

Fixes: PINDSW-6913

Signed-off-by: Rajul Bhambay <r-bhambay@ti.com>
2023-09-15 00:00:08 +05:30
Dhaval Khandla
f03a3f1d23 Pull request #26: Update documentation for 9.0 release
Merge in PINDSW/motor_control_sdk from PINDSW-6907_update_docs to next

* commit '1cf4e56faff74ba2d4f999e8f4eff93e4c5bca4b':
  am64x/am243x/am263x: docs: Update block diagram
  am64x/am243x: examples/source: Fix the license text
2023-09-14 07:28:02 -05:00
Dhaval Khandla
4b3f7e03a9 Pull request #30: am64x/am243x: hdsl: Disable memory trace feature for release mode builds
Merge in PINDSW/motor_control_sdk from PINDSW-6917_update_hdsl_example to next

* commit '26128b7675f914ade3fa8c0204a3045511c3152e':
  am64x/am243x: hdsl: Disable memory trace feature for release mode builds
2023-09-14 07:23:40 -05:00
Dhaval Khandla
26128b7675 am64x/am243x: hdsl: Disable memory trace feature for release mode builds
- This is debug feature

Fixes: PINDSW-6917

Signed-off-by: Dhaval Khandla <dhavaljk@ti.com>
2023-09-14 17:42:33 +05:30
Dhaval Khandla
0effa4d8f1 Pull request #28: am243x: hdsl: Fix the linker file for am243x-lp
Merge in PINDSW/motor_control_sdk from PINDSW-6639_fix_hdsl_linker_file to next

* commit 'ce028261cb2b6cd93bc314be4b0212415a6337c0':
  am243x: hdsl: Fix the linker file for am243x-lp
2023-09-14 01:01:02 -05:00
Dhaval Khandla
ce028261cb am243x: hdsl: Fix the linker file for am243x-lp
- Allocate the buffer for LP example in MSRAM instead of DDR

Fixes: PINDSW-6639

Signed-off-by: Dhaval Khandla <dhavaljk@ti.com>
2023-09-14 11:21:39 +05:30
Rajul Bhambay
5d204e557c Pull request #27: am64x/am243x: HDSL: Multi-channel Free-run Mode bugs
Merge in PINDSW/motor_control_sdk from bugfix/a0497643_MCUSDK-5489_hdsl_multichannel_freerunmode_bug to next

* commit 'af129481c2f44c5582cc65326877758792dcb7db':
  am64x/am243x: HDSL: Multi-channel Free-run Mode bugs
2023-09-14 00:38:09 -05:00
Rajul Bhambay
af129481c2 am64x/am243x: HDSL: Multi-channel Free-run Mode bugs
- Multiple setups fix
 - Multiple encoders fix

Fixes: PINDSW-6909

Signed-off-by: Rajul Bhambay <r-bhambay@ti.com>
2023-09-14 10:53:13 +05:30
Dhaval Khandla
1cf4e56faf am64x/am243x/am263x: docs: Update block diagram
Fixes: PINDSW-6907

Signed-off-by: Dhaval Khandla <dhavaljk@ti.com>
2023-09-13 18:47:06 +05:30
Dhaval Khandla
2d2c5b1b91 am64x/am243x: examples/source: Fix the license text
Fixes: PINDSW-6908

Signed-off-by: Dhaval Khandla <dhavaljk@ti.com>
2023-09-13 18:46:41 +05:30
Rajul Bhambay
fe26ddfc11 Pull request #25: am64x/am243x: HDSL: Multi-channel Sync Mode bugs
Merge in PINDSW/motor_control_sdk from bugfix/a0497643_MCUSDK-5489_hdsl_multichannel_sync_mode_bugs to next

* commit '0d9a5d95eb7a6b3e8bd36ea9855a9f2e87754bb6':
  am64x/am243x: HDSL: Multi-channel Sync Mode bugs
2023-09-13 06:39:40 -05:00
Rajul Bhambay
0d9a5d95eb am64x/am243x: HDSL: Multi-channel Sync Mode bugs
- Multiple setups fix
 - Multiple encoders fix

Fixes: PINDSW-6893

Signed-off-by: Rajul Bhambay <r-bhambay@ti.com>
2023-09-13 16:07:23 +05:30
Dhaval Khandla
c52e07cb7b Pull request #22: HDSL: Merge HDSL Examples
Merge in PINDSW/motor_control_sdk from PINDSW-6651_merge_hdsl_examples to next

* commit '47060ba7b13cc305a30560f28d33651a56a74321':
  am64x/am243x: hdsl: Add retry for Udma_ringDequeueRaw if it fails
  am64x/am243x: hdsl: Merge the trace example with the main example
  am243x: hdsl: Set 300 MHz ICSSG core clock frequency fo am243x-lp examples
2023-09-13 04:34:59 -05:00
Rajul Bhambay
2247d9b77b am64x/am243x: HDSL: Multi-channel Sync Mode bugs
- Multiple setups fix
 - Multiple encoders fix

Fixes: PINDSW-6893

Signed-off-by: Rajul Bhambay <r-bhambay@ti.com>
2023-09-13 13:49:29 +05:30
Achala Ram
c35b23f9aa Pull request #24: am64x/am243x: EnDat: Update documentation
Merge in PINDSW/motor_control_sdk from a0502729_PINDSW-6687_EnDat_Documentation to next

* commit '800d9c5a4d12e4a3204c29c838161b35857d4923':
  am64x/am243x: Endat: Update documentation
  am64x/am243x: EnDat: Enable long time test run
2023-09-12 14:40:19 -05:00
Achala Ram
800d9c5a4d am64x/am243x: Endat: Update documentation
- Add Heidenhain Test cases
- Add reference and links for Boosterpack in EnDat, HDSL
   and Tamagawa documentation

Fixes: PINDSW-6687, PINDSW-6553
Signed-off-by: Achala Ram <a-ram@ti.com>
2023-09-12 17:43:17 +05:30
Achala Ram
af61f50a46 am64x/am243x: EnDat: Enable long time test run
- Enable long time test run for position command
- Load all core firmware in load share mode

Fixes: PINDSW-6686

Signed-off-by: Achala Ram <a-ram@ti.com>
2023-09-11 15:44:28 +05:30
Dhaval Khandla
47060ba7b1 am64x/am243x: hdsl: Add retry for Udma_ringDequeueRaw if it fails
- Switch to polling mode for UDMA completion
- In release mode, Udma_ringDequeueRaw() returns timeout
- Update App_udmaTrpdInit() to do fixed configuration only once. This
  reduces the copy time.

Fixes: PINDSW-6659

Signed-off-by: Dhaval Khandla <dhavaljk@ti.com>
2023-09-11 11:47:43 +05:30
Dhaval Khandla
db642b84db am64x/am243x: hdsl: Merge the trace example with the main example
- Update the UART options
- Fix and update the variable names for tracing
- Enable DMA in sysconfig

Fixes: PINDSW-6639, PINDSW-6651

Signed-off-by: Dhaval Khandla <dhavaljk@ti.com>
2023-09-11 11:47:35 +05:30
Dhaval Khandla
ed892ac090 am243x: hdsl: Set 300 MHz ICSSG core clock frequency fo am243x-lp examples
Fixes: PINDSW-6640

Signed-off-by: Dhaval Khandla <dhavaljk@ti.com>
2023-09-11 11:44:59 +05:30
Dhaval Khandla
a3cfd189bf Pull request #21: am64x/am243x: hdsl: Remove UART option 16 for long message test
Merge in PINDSW/motor_control_sdk from PINDSW-6641_fix_long_message_test_case to next

* commit 'e0a42c5a8286af60c1570a1c97d66993afd9e14e':
  am64x/am243x: hdsl: Remove UART option 16 for long message test
2023-09-10 23:07:49 -05:00
Dhaval Khandla
fd0d3d909e Pull request #18: Motor Control SDK: Update release documentation
Merge in PINDSW/motor_control_sdk from PINDSW-6551_update_release_documentation to next

* commit '90c7b05a0e9efc24a9f63e0fcc7d2fadfeeb61af':
  am243x/am263x: docs: Add migration guide
  am243x: docs: Add release notes page for 9.0.0
  allsoc: docs: Update the main page of documentation
  allsoc: docs: Fix the doxygen groups for API documentation
2023-09-06 23:46:43 -05:00
Dhaval Khandla
e0a42c5a82 am64x/am243x: hdsl: Remove UART option 16 for long message test
- Test case does not have correct pass/fail conditions

Fixes: PINDSW-6641

Signed-off-by: Dhaval Khandla <dhavaljk@ti.com>
2023-09-07 09:22:10 +05:30
Dhaval Khandla
90c7b05a0e am243x/am263x: docs: Add migration guide
Fixes: PINDSW-6637

Signed-off-by: Dhaval Khandla <dhavaljk@ti.com>
2023-09-04 13:09:24 +05:30
Dhaval Khandla
372402b0f5 am243x: docs: Add release notes page for 9.0.0
Fixes: PINDSW-6551

Signed-off-by: Dhaval Khandla <dhavaljk@ti.com>
2023-09-04 13:09:23 +05:30
Dhaval Khandla
81850f6662 allsoc: docs: Update the main page of documentation
- Update the text
- Update the block diagram and links
- Add links to IC SDK and MCU+ SDK
- Fix the documentation build warnings

Fixes: PINDSW-6552

Signed-off-by: Dhaval Khandla <dhavaljk@ti.com>
2023-09-04 13:09:23 +05:30
Dhaval Khandla
3cc1c220cd allsoc: docs: Fix the doxygen groups for API documentation
- Create separate groups for position sense and current sense

Fixes: PINDSW-6632

Signed-off-by: Dhaval Khandla <dhavaljk@ti.com>
2023-09-04 13:09:22 +05:30
Achala Ram
60c76e58dc Pull request #17: am64x/am243x: SDFM: Resolve sdfm handle initialization issue
Merge in PINDSW/motor_control_sdk from a0502729_PINDSW-6607_SDFM_resolve_static_code_analysis_bug to next

* commit 'd2aad2c201019065a56046effbe03666e3743512':
  am64x/am243x: SDFM: Remove sdfm handle null initialization
2023-09-04 01:25:22 -05:00
Aaron Thomas
be358c412a Pull request #16: AM243x : Motor Control - Tamagawa : Edit existing documentation for reset commands
Merge in PINDSW/motor_control_sdk from a0503539_make_changes_in_docs_for_tamagawa to next

* commit '5c6c6a6c5fa9c7f27b09d2f6cf3621e0d94e0641':
  am64x/am243xx: tamagawa: Update documenation for reset command
2023-09-04 01:24:57 -05:00
Achala Ram
aa5b15313d Pull request #15: am64x/am243x: EnDat: Channel check issue
Merge in PINDSW/motor_control_sdk from a0502729_PINDSW-6569_EnDat_release_bug to next

* commit '394ada13f30e16b972ab6a366a14d45d4b897a5c':
  am64x/am243x: EnDat: Resolve channel mask checks
2023-08-31 06:34:06 -05:00
Achala Ram
d2aad2c201 am64x/am243x: SDFM: Remove sdfm handle null initialization
- Remove sdfm handle null initialization in driver file

Fixes: PINDSW-6607

Signed-off-by: Achala Ram <a-ram@ti.com>
2023-08-31 16:49:19 +05:30
Aaron
5c6c6a6c5f am64x/am243xx: tamagawa: Update documenation for reset command
- Add steps to reset ABS and ABM values 10 times

Fixes: PINDSW-6611

Signed-off-by: Aaron Thomas <aaron.richard@ti.com>
2023-08-31 15:26:48 +05:30
Achala Ram
394ada13f3 am64x/am243x: EnDat: Resolve channel mask checks
- Resolve mask check conditions for periodic mode testing

Fixes: PINDSW-6569

Signed-off-by: Achala Ram <a-ram@ti.com>
2023-08-30 20:47:32 +05:30
Dhaval Khandla
8e38d03072 Pull request #14: am243x/am64x: hdsl: Remove separate firmware project for 300 MHz free run
Merge in PINDSW/motor_control_sdk from PINDSW-6579_fix_build to next

* commit '48ba4c94f66f782e3639f7c7f1a77e59eceb4063':
  am243x/am64x: hdsl: Remove separate firmware project for 300 MHz free run
2023-08-29 09:03:02 -05:00
Dhaval Khandla
48ba4c94f6 am243x/am64x: hdsl: Remove separate firmware project for 300 MHz free run
Fixes: PINDSW-6579

Signed-off-by: Dhaval Khandla <dhavaljk@ti.com>
2023-08-29 19:11:11 +05:30
Dhaval Khandla
69fa42c727 Pull request #11: am64x/am243x: hdsl: Add register list and exceptions list
Merge in PINDSW/motor_control_sdk from PINDSW_6535_add_hdsl_register_documentation to next

* commit '667808d9fb2de06049c28b2e5216add1deb57e43':
  am64x/am243x: hdsl: Add register list and exceptions list
2023-08-29 06:28:39 -05:00
Achala Ram
ed38acdd56 Pull request #13: am64x/am243x: EnDat: remove rx waiting bug
Merge in PINDSW/motor_control_sdk from a0502729_PINDSW-6569_EnDat_release_bug to next

* commit '84de86d58c05d9416377d7cf6c93774b2de0bc44':
  am64x/am243x: EnDat: Resolve rx waiting bug
2023-08-29 06:18:50 -05:00
Rajul Bhambay
3c0923c22c Pull request #6: am64x/am243x: HDSL: Multi-channel Sync Mode
Merge in PINDSW/motor_control_sdk from a0497643_MCUSDK-5489_hdsl_multichannel_sync_mode to next

* commit '7f45f14721d40e7fefc48453b2f41f7db061be4a':
  am64x/am243x: HDSL: Multi-channel Sync Mode
2023-08-29 06:14:43 -05:00
Achala Ram
84de86d58c am64x/am243x: EnDat: Resolve rx waiting bug
-Resolve rx waiting for channel0 and channel2

Fixes: PINDSW-6569

Signed-off-by: Achala Ram <a-ram@ti.com>
2023-08-29 15:37:07 +05:30
Rajul Bhambay
7f45f14721 am64x/am243x: HDSL: Multi-channel Sync Mode
- 2 channels in Sync mode
 - fix for long msg issue

Fixes: PINDSW-5489, PINDSW-5538

Signed-off-by: Rajul Bhambay <r-bhambay@ti.com>
2023-08-29 15:01:42 +05:30
Dhaval Khandla
b6c6293522 Pull request #12: HDSL : Remove maximum deviation related processing
Merge in PINDSW/motor_control_sdk from PINDSW-6546_hdsl_remove_maxdev to next

* commit '7bc9f4f7bf2c8ed7852c7e1d057e17b9ff0a72e6':
  am64x/am243x: hdsl: Update VERSION register definition
  am64x/am243x: hdsl: Remove maximum deviation related processing
2023-08-28 05:19:52 -05:00
Dhaval Khandla
667808d9fb am64x/am243x: hdsl: Add register list and exceptions list
Fixes: PINDSW-6535

Signed-off-by: Dhaval Khandla <dhavaljk@ti.com>
2023-08-27 16:22:41 +05:30
Dhaval Khandla
7bc9f4f7bf am64x/am243x: hdsl: Update VERSION register definition
- Remove coding field
- Higher 4 bits represent major version
- Update version to 0.5

Fixes: PINDSW-6536

Signed-off-by: Dhaval Khandla <dhavaljk@ti.com>
2023-08-27 15:58:23 +05:30
Dhaval Khandla
c1f342479a am64x/am243x: hdsl: Remove maximum deviation related processing
- Remove MAXDEV_H, MAXDEV_L, MAXDEV_H_THRES, MAXDEV_L_THRES from memory map
  in driver
- Fix the typo in register names for threshold registers

Fixes: PINDSW-6543

Signed-off-by: Dhaval Khandla <dhavaljk@ti.com>
2023-08-27 15:58:23 +05:30
Achala Ram
044f71b27d Pull request #10: am64x/am243: Enable Multi channel continuous mode
Merge in PINDSW/motor_control_sdk from a0502729_PINDSW-5681_EnDat_enable_multi_channel_continuous_mode to next

* commit '34b62601844e718b3c9484fa6290eac437330e44':
  am64x/am243: EnDat: Enable periodic trigger mode for multi-channel
2023-08-25 22:52:07 -05:00
Achala Ram
be7bb9799f Pull request #7: am64x/am243: SDFM: Add trigger based normal current sampling.
Merge in PINDSW/motor_control_sdk from a0502729_PINDSW-5523_SDFM_trip_generation to next

* commit 'c41804bd2ed5ccd22e68347321fae171798468ba':
  am64x/am243: SDFM: Add trigger based normal current sampling
2023-08-25 22:47:58 -05:00
Achala Ram
34b6260184 am64x/am243: EnDat: Enable periodic trigger mode for multi-channel
- Also fix propagation delay related configuration

Fixes: PINDSW-5681,PINDSW-6533

Signed-off-by: Achala Ram <a-ram@ti.com>
2023-08-25 22:16:39 +05:30