Commit Graph

273 Commits

Author SHA1 Message Date
Dhaval Khandla
6b8d4c32cc am64x/am243x: hdsl: Fix reset behaviour after triggering manual reset
- Remove HALT instructions
- Clear all registers after reset

Fixes: PINDSW-6492

Signed-off-by: Dhaval Khandla <dhavaljk@ti.com>
2023-08-22 14:40:01 +05:30
Dhaval Khandla
36a591f12b am64x/am243x: hdsl: Add versioning in firmware
- Update the version to 0.2
- Use the VERSION and VERSION2 register
- Remove the hardcoding from driver

Fixes: PINDSW-6518

Signed-off-by: Dhaval Khandla <dhavaljk@ti.com>
2023-08-22 14:40:01 +05:30
Dhaval Khandla
7605041284 am64x/am243x: hdsl: Fix the SUM/SSUM/FIX1 bit configuration in ONLINE STATUS registers
- MASK_SUM should not be used for masking SUMMARY while updating these
  SUM and SSUM bits in ONLINE STATUS registers
- Fix the mask for SCE and VPOS updates

Fixes: PINDSW-6487, PINDSW-6488

Signed-off-by: Dhaval Khandla <dhavaljk@ti.com>
2023-08-22 14:40:01 +05:30
Dhaval Khandla
8d4349c792 am64x/am243x: hdsl: Fix the fast position and velocity calculation
- Fix sign extension in estimator for relative position and acceleration
  addition
- Fix sign estimation for relative position calculation
- Remove an unnecessary RET instruction
- Fix register corruption for ALIGN_PH
- Fix register usage for DTE error signaling

Fixes: PINDSW-5689

Signed-off-by: Dhaval Khandla <dhavaljk@ti.com>
2023-08-22 14:40:01 +05:30
Dhaval Khandla
9ac1395d6e am64x/am243x: hdsl: Fix the two most significant bytes of fast position
- Register corruption was causing loss of multi-turn data in fast position

Fixes: PINDSW-5651

Signed-off-by: Dhaval Khandla <dhavaljk@ti.com>
2023-08-22 14:40:00 +05:30
Dhaval Khandla
9ce9770c05 am64x/am243x: hdsl: Update the register memory map
- Fix the address of ONLINE STATUS bytes by adding a reserved byte
- Create separate entries for low and high bytes of ONLINE STATUS registers
- Add SAFE_CTRL and POSTX registers
- Use high and low addresses in firmware for ONLINE STATUS registers

Fixes: PINDSW-6489

Signed-off-by: Dhaval Khandla <dhavaljk@ti.com>
2023-08-22 14:40:00 +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
Dhaval Khandla
745b57dcee Pull request #5: am64x/am243x/am263x: Update the gitignore file
Merge in PINDSW/motor_control_sdk from PINDSW-6511_update_gitignore to next

* commit '900e6266d40f656b7a80a28c94851ca64b3e011a':
  am64x/am243x/am263x: Update the gitignore file
2023-08-21 01:17:36 -05:00
Dhaval Khandla
900e6266d4 am64x/am243x/am263x: Update the gitignore file
- Add .repo and mcupsdk_setup folders in .gitignore

Fixes: PINDSW-6511

Signed-off-by: Dhaval Khandla <dhavaljk@ti.com>
2023-08-18 15:58:26 +05:30
Naresh A
354e989698 am64x/am243x/am263x : add documentation
add documentation

Fixes: PINDSW-6434

Signed-off-by: Naresh A <nareshk@ti.com>
2023-07-28 12:02:00 +05:30
Naresh A
596d48c7d7 am64x/am243x/am263x : add documentation
add documentation

Fixes: PINDSW-6434

Signed-off-by: Naresh A <nareshk@ti.com>
2023-07-27 16:59:28 +05:30
Naresh A
66708329b5 Pull request #2: am64x/am243x/am263x : update the device name of AM64x as per the new one
Merge in PINDSW/motor_control_sdk from PINDSW-6431_Update-the-device-name-of-AM64x to next

* commit '33e19c02dec9c1a6c6d47e276ff98b2a116a5b21':
  am64x/am243x/am263x : update the device name of AM64x as per the new one
2023-07-27 02:51:22 -05:00
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
9934fd84c3 Pull request #1: am64x/am243x/am263x : update tool versions
Merge in PINDSW/motor_control_sdk from PINDSW-5825_update_tool_versions to next

* commit 'a247671e9fe244ba4d43e89b6b4a83a6b37ceab0':
  am64x/am243x/am263x : update tool versions
2023-07-27 01:39:59 -05:00
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
2cefea833a am64x/am243x/am263x : update README with correct details
update README with correct details

Fixes: PINDSW-5635

Signed-off-by: Naresh A <nareshk@ti.com>
2023-07-11 11:38:08 +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
56dfa91f1b am64x/am243x/am263x : add manifest file for Motor Control SDK
add manifest file for Motor Control SDK

Fixes: PINDSW-5635

Signed-off-by: Naresh A <nareshk@ti.com>
2023-07-10 12:04:29 +05:30
Naresh A
4b91088387 am64x/am243x/am263x : update MCU + SDK Path
Update MCU + SDK Path

Fixes: PINDSW-5635

Signed-off-by: Naresh A <nareshk@ti.com>
2023-07-07 13:07:31 +05:30
Naresh A
ce5453ab49 am64x/am243x/am263x : move mcu plus sdk inside motor control sdk
Move mcu plus sdk inside motor control sdk

Fixes: PINDSW-5635

Signed-off-by: Naresh A <nareshk@ti.com>
2023-07-06 15:51:25 +05:30
Naresh A
f1a2cd3d5c am64x/am243x/am263x : add missing license_hs.txt file
Add missing license_hs.txt file

Fixes: PINDSW-5635

Signed-off-by: Naresh A <nareshk@ti.com>
2023-07-06 12:53:24 +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