Commit Graph

23 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
Achala Ram
c41804bd2e am64x/am243: SDFM: Add trigger based normal current sampling
- Add support for trigger based sampling by using IEP compare
  events
- Add support for double update per PWM cycle
- Fixed the IEP compare event hit value calculation
- Tested with SDFM clock input from EPWM

Fixes: PINDSW-5522, PINDSW-6544, PINDSW-6546

Signed-off-by: Achala Ram <a-ram@ti.com>
2023-08-25 22:10:06 +05:30
Dhaval Khandla
9ac546cfd9 am64x/am243x: hdsl: Remove the scanf waiting for Enter during initialization
Fixes: PINDSW-6517

Signed-off-by: Dhaval Khandla <dhavaljk@ti.com>
2023-08-22 14:40:00 +05:30
Naresh A
33e19c02de am64x/am243x/am263x : update the device name of AM64x as per the new one
Update the device name of AM64x as per the new one

Fixes: PINDSW-6431

Signed-off-by: Naresh A <nareshk@ti.com>
2023-07-27 13:20:26 +05:30
Naresh A
a247671e9f am64x/am243x/am263x : update tool versions
Update tool versions

Fixes: PINDSW-5825

Signed-off-by: Naresh A <nareshk@ti.com>
2023-07-27 12:06:31 +05:30
Naresh A
206f344bd1 am64x/am243x/am263x : remove motor_control folder from the repository
remove motor_control folder from the repository

Fixes: PINDSW-5635

Signed-off-by: Naresh A <nareshk@ti.com>
2023-07-13 15:23:20 +05:30
Naresh A
5599e4387e am64x/am243x/am263x : remove MCU_PLUS_SDK_PATH variable from repository
remove MCU_PLUS_SDK_PATH variable from repository

Fixes: PINDSW-5635

Signed-off-by: Naresh A <nareshk@ti.com>
2023-07-11 11:23:31 +05:30
Naresh A
5f968b0bf2 am64x/am243x/am263x : initial commit for motor control sdk
Initial commit for motor control sdk

Fixes: PINDSW-5635

Signed-off-by: Naresh A <nareshk@ti.com>
2023-07-04 18:02:46 +05:30