Commit Graph

25 Commits

Author SHA1 Message Date
Dhaval Khandla
086fda69e2 am64x/am243x: hdsl: Add support for third channel
- Add example and firmware projects for third channel
- Update diagnostic application changes to support 3rd channel
- Add overlay based firmware build for third channel
- Update sysconfig module for third channel
- Add driver APIs for configuring copy table and channel mask
- Add IPC among cores when overlay based loading is needed for
  third channel
- Add logic to reset all channels when one channel is reset

Fixes: PINDSW-7051

Signed-off-by: Rajul Bhambay <r-bhambay@ti.com>
Signed-off-by: Dhaval Khandla <dhavaljk@ti.com>
2023-12-30 14:32:25 +05:30
Achala Ram
e7953dcf9f am64x/am243x: SDFM: Add continuous mode examples
Fixes: PINDSW-7141

Signed-off-by: Achala Ram <a-ram@ti.com>
2023-12-22 17:50:01 +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
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
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
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
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
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
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
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
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
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
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
82ae63d151 am243x: rtlibs: Remove M4F examples for DCL
Fixes: PINDSW-6566

Signed-off-by: Dhaval Khandla <dhavaljk@ti.com>
2023-09-15 17:23:57 +05:30
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
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
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
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
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
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
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