keystone-rtos/uart-lld.git
17 months agoNOTICE OF RELOCATION master
Jacob Stiffler [Thu, 31 Oct 2019 17:57:29 +0000 (13:57 -0400)]
NOTICE OF RELOCATION

Active maintenance and development of the contents of this repository
has been relocated to git.ti.com/processor-sdk/pdk.git under the path
packages/ti/drv/uart.

The use of this repository has been deprecated and will no longer
receive updates.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
18 months agoi2c: PRSDK-6460: add UART module group
Hao Zhang [Fri, 11 Oct 2019 11:54:48 +0000 (07:54 -0400)]
i2c: PRSDK-6460: add UART module group

Signed-off-by: Hao Zhang <hzhang@ti.com>
18 months agouart: PRSDK-6476: fix UART non-DMA simultaneous read write test failure
Hao Zhang [Thu, 10 Oct 2019 16:01:40 +0000 (12:01 -0400)]
uart: PRSDK-6476: fix UART non-DMA simultaneous read write test failure

Increase the bios heap size to fix the task creation out of memory problem
for am3/4/5 arm cores

Signed-off-by: Hao Zhang <hzhang@ti.com>
18 months agouart: PRSDK-6476: fix UART non-DMA simultaneous read write test failure
Hao Zhang [Wed, 9 Oct 2019 14:18:25 +0000 (10:18 -0400)]
uart: PRSDK-6476: fix UART non-DMA simultaneous read write test failure

Increase the task stack size to fix for C7x core to fix the task
creation problem

Signed-off-by: Hao Zhang <hzhang@ti.com>
18 months agoosal: PRSDK-7114: enable SBL APP image gen only for K3 devices DEV.UART_LLD.01.00.00.16B REL.PDK.J7.01.00.00.05
Hao Zhang [Fri, 4 Oct 2019 16:08:29 +0000 (12:08 -0400)]
osal: PRSDK-7114: enable SBL APP image gen only for K3 devices

Signed-off-by: Hao Zhang <hzhang@ti.com>
18 months agouart: PRSDK-7114: enable SBL app image generation in makefile DEV.UART_LLD.01.00.00.16A
Hao Zhang [Thu, 3 Oct 2019 15:04:32 +0000 (11:04 -0400)]
uart: PRSDK-7114: enable SBL app image generation in makefile

Signed-off-by: Hao Zhang <hzhang@ti.com>
18 months agoPRSDK-6460: Fixing doxygen.xdt for obselete definitions
Mahesh Radhakrishnan [Thu, 3 Oct 2019 02:43:13 +0000 (22:43 -0400)]
PRSDK-6460: Fixing doxygen.xdt for obselete definitions

18 months agoPRSDK-6460: Fixing doxygen warnings
Mahesh Radhakrishnan [Thu, 3 Oct 2019 02:20:19 +0000 (22:20 -0400)]
PRSDK-6460: Fixing doxygen warnings

18 months agouart: update RN and versions for release 1.0.0.16 DEV.PROCESSOR-SDK.06.01.00.07 DEV.UART_LLD.01.00.00.16 REL.PDK.J7.01.00.00.04
Hao Zhang [Mon, 30 Sep 2019 14:41:45 +0000 (10:41 -0400)]
uart: update RN and versions for release 1.0.0.16

Signed-off-by: Hao Zhang <hzhang@ti.com>
18 months agouart: PRSDK-6347: fix Misra-C & KW issues
Hao Zhang [Mon, 30 Sep 2019 12:56:33 +0000 (08:56 -0400)]
uart: PRSDK-6347: fix Misra-C & KW issues

Signed-off-by: Hao Zhang <hzhang@ti.com>
18 months agoPDK-2666: c++ build fix REL.PDK.J7.01.00.00.01 REL.PDK.J7.01.00.00.02 REL.PDK.J7.01.00.00.03
Prasad Konnur [Tue, 24 Sep 2019 08:55:21 +0000 (14:25 +0530)]
PDK-2666: c++ build fix

Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
18 months agouart: PRSDK-6476: fix UART non-DMA simultaneous read write test failure
Hao Zhang [Tue, 24 Sep 2019 10:51:25 +0000 (06:51 -0400)]
uart: PRSDK-6476: fix UART non-DMA simultaneous read write test failure

Reduce the task stack size to fix the out of memory issue

Signed-off-by: Hao Zhang <hzhang@ti.com>
18 months agouart: PRSDK-6347: fix Misra-C issues
Hao Zhang [Fri, 20 Sep 2019 14:37:10 +0000 (10:37 -0400)]
uart: PRSDK-6347: fix Misra-C issues

Signed-off-by: Hao Zhang <hzhang@ti.com>
18 months agouart: PRSDK-6158: fix UART_BasicExample_TestProject task creation fail issue
Hao Zhang [Wed, 18 Sep 2019 10:24:16 +0000 (06:24 -0400)]
uart: PRSDK-6158: fix UART_BasicExample_TestProject task creation fail issue

Reduce the task stack size to fix the out of memory issue

Signed-off-by: Hao Zhang <hzhang@ti.com>
18 months agouart: PRSDK-6476: fix UART non-DMA simultaneous read write test issue
Hao Zhang [Fri, 13 Sep 2019 16:12:48 +0000 (12:12 -0400)]
uart: PRSDK-6476: fix UART non-DMA simultaneous read write test issue

Reduce the write task stack size to fix the out of memory issue

Signed-off-by: Hao Zhang <hzhang@ti.com>
19 months agouart: PRSDK-6347: fix Misra-C issues REL.PDK.J7.00.09.01.03 REL.PDK.J7.00.09.01.04 REL.PDK.J7.00.09.01.05
Hao Zhang [Thu, 5 Sep 2019 09:01:55 +0000 (05:01 -0400)]
uart: PRSDK-6347: fix Misra-C issues

Signed-off-by: Hao Zhang <hzhang@ti.com>
19 months agoPRSDK-6233: Using CORELISTARM for Baremetal unit tests for j7-evm REL.PDK.J7.00.09.01.01 REL.PDK.J7.00.09.01.02
Mahesh Radhakrishnan [Wed, 28 Aug 2019 13:07:57 +0000 (09:07 -0400)]
PRSDK-6233: Using CORELISTARM for Baremetal unit tests for j7-evm

19 months agoPRSDK-6233: Enabling all cores for j721e
Mahesh Radhakrishnan [Wed, 21 Aug 2019 21:18:47 +0000 (17:18 -0400)]
PRSDK-6233: Enabling all cores for j721e

19 months agouart: PRSDK-6178: fix bug to run UART_DMA_TestApp on all the R5 cores
Hao Zhang [Mon, 26 Aug 2019 15:36:17 +0000 (11:36 -0400)]
uart: PRSDK-6178: fix bug to run UART_DMA_TestApp on all the R5 cores

Modify the default virtual interrupt configuration in UDMA RM config table
to support UART DMA mode, since UART DMA example uses more than two DMA
events which requires numVintr > 2

Signed-off-by: Hao Zhang <hzhang@ti.com>
19 months agouart: PRSDK-6178: fix bug to run UART_DMA_TestApp on all the R5 cores
Hao Zhang [Thu, 15 Aug 2019 15:25:56 +0000 (11:25 -0400)]
uart: PRSDK-6178: fix bug to run UART_DMA_TestApp on all the R5 cores

Use Main domain's UDMA instance for all the cores on Main domain.

Signed-off-by: Hao Zhang <hzhang@ti.com>
20 months agouart: PRSDK-6177: fix UART_Baremetal_TestApp failure for mpu1_0
Hao Zhang [Thu, 8 Aug 2019 15:10:47 +0000 (11:10 -0400)]
uart: PRSDK-6177: fix UART_Baremetal_TestApp failure for mpu1_0

There are two problems:
1. interrupt is not enabled which is due to osal bug (PRSDK-5253, PRSDK-5612)
2. verifyLoopback not initialized which may enable the loopback mode by default

Signed-off-by: Hao Zhang <hzhang@ti.com>
20 months agoChanges based on J7 SOC Alias changes
Ankur [Tue, 30 Jul 2019 13:36:42 +0000 (19:06 +0530)]
Changes based on J7 SOC Alias changes

Signed-off-by: Ankur <a0132173@ti.com>
21 months agouse run-time read DNUM to switch the C66x cores; revert to core independent library PSDK.QNX.J7.IPC_INTERRUPT_ONLY.v1 PSDK.QNX.J7.IPC_POLLING_MODE.v1 PSDK.QNX.J7.IPC_SCICLIENT_INTERRUPTS.v1 PSDKQA_7Q70_01_01 REL.PDK.J7.00.09.00.11 REL.PDK.J7.00.09.00.12 REL.PDK.J7.00.09.00.13 REL.PDK.J7.00.09.00.14 REL.PDK.J7.00.09.00.15 REL.PDK.J7.00.09.00.16
Ming Wei [Wed, 10 Jul 2019 19:06:05 +0000 (14:06 -0500)]
use run-time read DNUM to switch the C66x cores; revert to core independent library

Signed-off-by: Ming Wei <mwei@ti.com>
21 months agoincrease stack size from 8KB to 32KB;
Ming Wei [Wed, 10 Jul 2019 03:39:30 +0000 (22:39 -0500)]
increase stack size from 8KB to 32KB;
make uart lib core dependent;
change I2c_appC7xPreInit to Uart_appC7xPreInit

Signed-off-by: Ming Wei <mwei@ti.com>
21 months agouart: fix DMA example out of memory issue REL.PDK.J7.00.09.00.06 REL.PDK.J7.00.09.00.07 REL.PDK.J7.00.09.00.08 REL.PDK.J7.00.09.00.09 REL.PDK.J7.00.09.00.10
Hao Zhang [Mon, 8 Jul 2019 11:04:51 +0000 (07:04 -0400)]
uart: fix DMA example out of memory issue

Increase the heap memory size to fix the out of memory issue.

Signed-off-by: Hao Zhang <hzhang@ti.com>
21 months agoc66x and c7x updates REL.PDK.J7.00.09.00.04 REL.PDK.J7.00.09.00.05
Ming Wei [Thu, 27 Jun 2019 21:00:38 +0000 (16:00 -0500)]
c66x and c7x updates

Signed-off-by: Ming Wei <mwei@ti.com>
21 months ago6.0 doc/ver update DEV.PROCESSOR-SDK.06.00.00.05 DEV.UART_LLD.01.00.00.15 REL.PDK.J7.00.09.00.02 REL.PDK.J7.00.09.00.03
Mahesh Radhakrishnan [Mon, 24 Jun 2019 18:11:23 +0000 (14:11 -0400)]
6.0 doc/ver update

21 months ago[PDK-3291]Rename c7x to c7x_1
Vivek Dhande [Tue, 18 Jun 2019 10:57:53 +0000 (16:27 +0530)]
[PDK-3291]Rename c7x to c7x_1

Signed-off-by: Vivek Dhande <a0132295@ti.com>
21 months agofix the PRSDK-5991
Ming Wei [Tue, 18 Jun 2019 18:15:11 +0000 (13:15 -0500)]
fix the PRSDK-5991

Signed-off-by: Ming Wei <mwei@ti.com>
22 months agofix the include file issue
Ming Wei [Fri, 14 Jun 2019 00:44:13 +0000 (19:44 -0500)]
fix the include file issue

Signed-off-by: Ming Wei <mwei@ti.com>
22 months agotypo fix
Ming Wei [Thu, 13 Jun 2019 20:40:45 +0000 (15:40 -0500)]
typo fix

Signed-off-by: Ming Wei <mwei@ti.com>
22 months agothose inculde filee are for J721E only
Ming Wei [Thu, 13 Jun 2019 20:28:10 +0000 (15:28 -0500)]
those inculde filee are for J721E only

Signed-off-by: Ming Wei <mwei@ti.com>
22 months agomove the DMTimer0 settings to application code
Ming Wei [Thu, 13 Jun 2019 20:03:45 +0000 (15:03 -0500)]
move the DMTimer0 settings to application code

Signed-off-by: Ming Wei <mwei@ti.com>
22 months agoAdd c66x c7x support for UART on J721e sysbios only
Ming Wei [Thu, 13 Jun 2019 16:23:10 +0000 (11:23 -0500)]
Add c66x c7x support for UART on J721e sysbios only

Signed-off-by: Ming Wei <mwei@ti.com>
22 months agoRemoving Profile and Profile independent library build for J7
Ankur [Wed, 12 Jun 2019 11:46:01 +0000 (17:16 +0530)]
Removing Profile and Profile independent library build for J7

Signed-off-by: Ankur <a0132173@ti.com>
22 months agoPRSDK-4453 Remove redundant config file and add generic config file
Sinthu Raja M [Fri, 31 May 2019 10:23:00 +0000 (15:53 +0530)]
PRSDK-4453 Remove redundant config file and add generic config file

 Remove redundant config file for EVM AM572x example.
 Update existing config file to include SMP configuration for both A15
 and A53 core.

22 months agoUpdate CLEC input event offset; bypass the c66x c7x baremetal example build;
Ming Wei [Wed, 5 Jun 2019 20:37:19 +0000 (15:37 -0500)]
Update CLEC input event offset; bypass the c66x c7x baremetal example build;
update the mpu.xs file

Signed-off-by: Ming Wei <mwei@ti.com>
22 months agoupdate the CSL_CLEC_RTMAP_C7X_ALL to CSL_CLEC_RTMAP_CPU_ALL
Ming Wei [Tue, 4 Jun 2019 21:15:25 +0000 (16:15 -0500)]
update the CSL_CLEC_RTMAP_C7X_ALL to CSL_CLEC_RTMAP_CPU_ALL

Signed-off-by: Ming Wei <mwei@ti.com>
22 months agofix the compiling errors for C7X
Ming Wei [Tue, 4 Jun 2019 15:21:36 +0000 (10:21 -0500)]
fix the compiling errors for C7X

Signed-off-by: Ming Wei <mwei@ti.com>
22 months agouart: j7: add C66x interrupt event combiner support
Hao Zhang [Tue, 4 Jun 2019 09:37:03 +0000 (05:37 -0400)]
uart: j7: add C66x interrupt event combiner support

Signed-off-by: Hao Zhang <hzhang@ti.com>
22 months agouart: j7: add C7x CLEC configuration support
Hao Zhang [Tue, 4 Jun 2019 09:33:14 +0000 (05:33 -0400)]
uart: j7: add C7x CLEC configuration support

Signed-off-by: Hao Zhang <hzhang@ti.com>
22 months agouart: j7: add interrupt mode support for C7x core
Hao Zhang [Fri, 31 May 2019 10:20:38 +0000 (06:20 -0400)]
uart: j7: add interrupt mode support for C7x core

Signed-off-by: Hao Zhang <hzhang@ti.com>
22 months agouart: j7: add interrupt mode support for C66x core
Hao Zhang [Fri, 31 May 2019 10:19:30 +0000 (06:19 -0400)]
uart: j7: add interrupt mode support for C66x core

Signed-off-by: Hao Zhang <hzhang@ti.com>
22 months agoBuild Fix - Fixed MMU init API call for RTOS app
Ankur [Thu, 30 May 2019 10:30:28 +0000 (16:00 +0530)]
Build Fix - Fixed MMU init API call for RTOS app

Signed-off-by: Ankur <a0132173@ti.com>
22 months agoPRSDK-5866: Fix for Simultaneous R/W test case (UT11) failure.
Dasnavis Sabiya [Wed, 29 May 2019 06:42:30 +0000 (12:12 +0530)]
PRSDK-5866: Fix for Simultaneous R/W test case (UT11) failure.

Simultaneous R/W test case (UT11) fails during task_create().
This patch fixes the issue.

22 months agoPRSDK-4453 Update libProfile inline with makefile BUILD_PROFILE macro
Sinthu Raja M [Mon, 20 May 2019 05:46:50 +0000 (11:16 +0530)]
PRSDK-4453 Update libProfile inline with makefile BUILD_PROFILE macro

 Remove hardcoded library profile for the driver components
 Update config file to get library profile from the makefile macros

22 months agoPRSDK-4453 Update config file to remove board dependancy
Sinthu Raja M [Tue, 14 May 2019 09:09:31 +0000 (14:39 +0530)]
PRSDK-4453 Update config file to remove board dependancy

 Update config file to remove board and SCI components to remove board
 name dependency.

22 months agoPRSDK-4453 Add SMP enable DMA examples for AM65xx
Sinthu Raja M [Mon, 13 May 2019 12:11:37 +0000 (17:41 +0530)]
PRSDK-4453 Add SMP enable DMA examples for AM65xx

 Add UART DMA unit test with SMP enabled for AM65xx.
 Update component makefile to add entry for SMP enabled test.

22 months agoPRSDK-4453 Add SMP enabled BIOS project for AM572x IDK
Sinthu Raja M [Mon, 13 May 2019 06:00:16 +0000 (11:30 +0530)]
PRSDK-4453 Add SMP enabled BIOS project for AM572x IDK

 Add project text file and RTSC config file for SMP enabled Test project
 which includes both DMA and non-DMA mode.

22 months agoPRSDK-4453 Add SMP enable examples for AM65xx
Sinthu Raja M [Fri, 10 May 2019 10:35:28 +0000 (16:05 +0530)]
PRSDK-4453 Add SMP enable examples for AM65xx

 Add UART unit test with SMP enabled for AM65xx.
 Update component makefile to add entry for SMP enabled test.

22 months agoPRSDK-4453 Update RTSC config file to load PDK components
Sinthu Raja M [Thu, 9 May 2019 04:01:43 +0000 (09:31 +0530)]
PRSDK-4453 Update RTSC config file to load PDK components

 Update UART example/test RTSC config file ti load PDK driver components
 and OSAL package during compilation.

22 months agoUse common OSAL MMU init fxn
Sivaraj R [Mon, 20 May 2019 08:02:13 +0000 (13:32 +0530)]
Use common OSAL MMU init fxn

Signed-off-by: Sivaraj R <sivaraj@ti.com>
23 months agoBuild Fix for C7x REL.PDK.J7.00.09.00.01
Ankur [Fri, 10 May 2019 06:57:28 +0000 (12:27 +0530)]
Build Fix for C7x

Signed-off-by: Ankur <a0132173@ti.com>
23 months agoWorkaround to fix the below problem:
Hao Zhang [Thu, 9 May 2019 13:55:43 +0000 (09:55 -0400)]
Workaround to fix the below problem:

error #190-D: enumerated type mixed with another type

Signed-off-by: Hao Zhang <hzhang@ti.com>
23 months agoPRSDK-4967: one LLD library support for R5 on J7
Hao Zhang [Wed, 24 Apr 2019 15:27:38 +0000 (11:27 -0400)]
PRSDK-4967: one LLD library support for R5 on J7

There are pulsar R5 cores on both the MCU and Main domains, the default
configurations (UART base addr, int number, UDMA thread ID) for R5 are set
for the UART instances on the MCU domain. If the R5 core is on the Main
domain, a run-time SoC function, UART_socInit() is called in UART_init() to
re-configure all the UART instances on the Main domain.

Signed-off-by: Hao Zhang <hzhang@ti.com>
23 months ago[PDK-3291]Rename c7x to c7x_1
Vivek Dhande [Mon, 6 May 2019 08:54:20 +0000 (14:24 +0530)]
[PDK-3291]Rename c7x to c7x_1

Signed-off-by: Vivek Dhande <a0132295@ti.com>
23 months agoPRSDK-2168: Updated while statement to a short and efficient code.
Dasnavis Sabiya [Thu, 11 Apr 2019 06:06:01 +0000 (11:36 +0530)]
PRSDK-2168: Updated while statement to a short and efficient code.

23 months agoPDK-4085: Add j721e_evm build support
Sivaraj R [Tue, 16 Apr 2019 14:24:35 +0000 (19:54 +0530)]
PDK-4085: Add j721e_evm build support

Signed-off-by: Sivaraj R <sivaraj@ti.com>
2 years agouart: PRSDK-5678: fix Klocwork static analysis issues
Hao Zhang [Fri, 5 Apr 2019 14:26:03 +0000 (10:26 -0400)]
uart: PRSDK-5678: fix Klocwork static analysis issues

Signed-off-by: Hao Zhang <hzhang@ti.com>
2 years agofix the BIOS test failed on J721E/A72 issue REL.PDK.J7.00.08.00.05 REL.PDK.J7.00.08.00.06 REL.PDK.J7.00.08.00.07 REL.PDK.J7.00.08.00.08 REL.PDK.J7.00.08.00.09 REL.PDK.J7.00.08.00.10 REL.PDK.J7.00.08.00.11 REL.PDK.J7.00.08.00.12
Ming Wei [Mon, 25 Mar 2019 15:44:07 +0000 (10:44 -0500)]
fix the BIOS test failed on J721E/A72 issue

Signed-off-by: Ming Wei <mwei@ti.com>
2 years agouart: update version and RN for 1.0.0.14 release DEV.PROCESSOR-SDK.05.03.00.05 DEV.UART_LLD.01.00.00.14 REL.PDK.J7.00.08.00.01 REL.PDK.J7.00.08.00.02 REL.PDK.J7.00.08.00.03 REL.PDK.J7.00.08.00.04
Hao Zhang [Sun, 17 Mar 2019 09:25:22 +0000 (05:25 -0400)]
uart: update version and RN for 1.0.0.14 release

Signed-off-by: Hao Zhang <hzhang@ti.com>
2 years agoPRSDK-4436:Add flag to enable/disable SW IP in UART module settings
Frank Livingston [Sat, 9 Mar 2019 22:10:53 +0000 (16:10 -0600)]
PRSDK-4436:Add flag to enable/disable SW IP in UART module settings

- PRUSS DRV not always included for platforms for which SW IP can be enabled.
- PRUSS DRV only included if SW IP enabled & SW IP support provided on given SoC

Signed-off-by: Frank Livingston <frank-livingston@ti.com>
2 years agoPRSDK-5449: Fix for UART_BasicExample_TestProject hang on iceAMIC110
Dasnavis Sabiya [Wed, 6 Mar 2019 08:07:27 +0000 (13:37 +0530)]
PRSDK-5449: Fix for UART_BasicExample_TestProject hang on iceAMIC110

The test project links SOC based uart profiling driver which includes
PRU ICSS FW uart driver. Updated the example to use SOC independent
uart profiling driver to exclude PRU ICSS FW driver.

2 years agoPDK-3715: Migrate to new CSL SOC alias change
Sivaraj R [Tue, 5 Mar 2019 05:23:08 +0000 (10:53 +0530)]
PDK-3715: Migrate to new CSL SOC alias change

Signed-off-by: Sivaraj R <sivaraj@ti.com>
2 years agouart: PRSDK-5258: fix unit test compilation issue for am65xx
Hao Zhang [Tue, 5 Mar 2019 14:05:25 +0000 (09:05 -0500)]
uart: PRSDK-5258: fix unit test compilation issue for am65xx

Signed-off-by: Hao Zhang <hzhang@ti.com>
2 years agouart: PRSDK-5258: add test case to support multiple instances using DMA
Hao Zhang [Tue, 5 Mar 2019 11:22:38 +0000 (06:22 -0500)]
uart: PRSDK-5258: add test case to support multiple instances using DMA

Add loopback test cases for AM3/4/5 devices to support multiple
instances using edma for loopback mode.

Signed-off-by: Hao Zhang <hzhang@ti.com>
2 years agoPRSDK-4436:Update FW design doc
Frank Livingston [Thu, 28 Feb 2019 20:41:16 +0000 (14:41 -0600)]
PRSDK-4436:Update FW design doc

Mistake in FW design doc for FW init flag

Signed-off-by: Frank Livingston <frank-livingston@ti.com>
2 years agoPRSDK-4436:Cleanup for release & update RTSC package.xs
Frank Livingston [Thu, 7 Feb 2019 23:39:13 +0000 (17:39 -0600)]
PRSDK-4436:Cleanup for release & update RTSC package.xs

Update RTSC package.xs for UART DRV dependency on PRUSS DRV

Signed-off-by: Frank Livingston <frank-livingston@ti.com>
2 years agoAdding COPYING.txt for copyright information
Mahesh Radhakrishnan [Wed, 13 Feb 2019 22:25:06 +0000 (17:25 -0500)]
Adding COPYING.txt for copyright information

2 years agouart: PRSDK-5358: fix bios exception in UART_printf
Hao Zhang [Tue, 12 Feb 2019 16:31:32 +0000 (11:31 -0500)]
uart: PRSDK-5358: fix bios exception in UART_printf

UART_printf should not call osalPendLock() in hwi, add a check
before calling osalPendLock()

Signed-off-by: Hao Zhang <hzhang@ti.com>
2 years agoPRSDK-4436:Update package files
Frank Livingston [Thu, 7 Feb 2019 22:47:49 +0000 (16:47 -0600)]
PRSDK-4436:Update package files

Signed-off-by: Frank Livingston <frank-livingston@ti.com>
2 years agoPRSDK-4436:Add PRU UART firmware design doc
Frank Livingston [Thu, 7 Feb 2019 16:30:59 +0000 (10:30 -0600)]
PRSDK-4436:Add PRU UART firmware design doc

Signed-off-by: Frank Livingston <frank-livingston@ti.com>
2 years agoPRSDK-4436:Add comment to PRU FW assembly file
Frank Livingston [Thu, 7 Feb 2019 16:25:46 +0000 (10:25 -0600)]
PRSDK-4436:Add comment to PRU FW assembly file

Signed-off-by: Frank Livingston <frank-livingston@ti.com>
2 years agoPRSDK-4436:Update copyright date
Frank Livingston [Thu, 7 Feb 2019 16:25:16 +0000 (10:25 -0600)]
PRSDK-4436:Update copyright date

Signed-off-by: Frank Livingston <frank-livingston@ti.com>
2 years agoPRSDK-4436:Change HW flow control settings for Stress Test
Frank Livingston [Thu, 7 Feb 2019 16:22:39 +0000 (10:22 -0600)]
PRSDK-4436:Change HW flow control settings for Stress Test

Loopback Pair 0: disabled (since this pair includes HW IP instance)
Loopback Pari 2: enabled

Signed-off-by: Frank Livingston <frank-livingston@ti.com>
2 years agoPRSDK-4436:Change license in header to BSD.
Frank Livingston [Thu, 7 Feb 2019 16:21:10 +0000 (10:21 -0600)]
PRSDK-4436:Change license in header to BSD.

Signed-off-by: Frank Livingston <frank-livingston@ti.com>
2 years agoPDK-3586: J7 to J721E
Sivaraj R [Wed, 6 Feb 2019 08:40:38 +0000 (14:10 +0530)]
PDK-3586: J7 to J721E

Signed-off-by: Sivaraj R <sivaraj@ti.com>
2 years agoPRSDK-4972 Add rxTCC variable for DMA RX complete
Sinthu Raja M [Wed, 30 Jan 2019 11:09:18 +0000 (16:39 +0530)]
PRSDK-4972 Add rxTCC variable for DMA RX complete

 Issue:
 During DMA config the allocated EDMA channel for Rx is not stored in
 driver object and when DMA Rx completion, it is using the hw attributes
 structure edmaRxTCC value for comparing which results in mismatch.

 Fix:
 Added a rxTcc variable in driver object structure. Updated DMA config
 function to use the rxTcc variable to store the allocated EDMA channel
 number rather than using the local variable. This avoids mismatch in
 the channel number during TCC interrupt occurs

2 years agoMerge remote-tracking branch 'origin/master' into PRSDK-4436
Frank Livingston [Tue, 5 Feb 2019 19:54:13 +0000 (13:54 -0600)]
Merge remote-tracking branch 'origin/master' into PRSDK-4436

2 years agoPRSDK-4436:Update Stress Test to allow different write test vectors
Frank Livingston [Mon, 4 Feb 2019 03:49:26 +0000 (21:49 -0600)]
PRSDK-4436:Update Stress Test to allow different write test vectors

Reader tasks compare read data against write data from other Side of Loopback Pair

Signed-off-by: Frank Livingston <frank-livingston@ti.com>
2 years agoPRSDK-4436:Add Stress Test for UART SW IP
Frank Livingston [Sun, 3 Feb 2019 23:04:19 +0000 (17:04 -0600)]
PRSDK-4436:Add Stress Test for UART SW IP

Signed-off-by: Frank Livingston <frank-livingston@ti.com>
2 years agoPRSDK-4436:Add missing firmware version header file
Frank Livingston [Sun, 3 Feb 2019 22:54:47 +0000 (16:54 -0600)]
PRSDK-4436:Add missing firmware version header file

Signed-off-by: Frank Livingston <frank-livingston@ti.com>
2 years agoPRSDK-4436:Add FW version registers to PRU UART firmware
Frank Livingston [Thu, 31 Jan 2019 20:09:20 +0000 (14:09 -0600)]
PRSDK-4436:Add FW version registers to PRU UART firmware

Add the following registers:
- Firmware Magic Number ("UART")
- Firmware Type
- Firmware Version
- Firmware Feature
- Firmware Extended Feature
The latter four FW registers are similar to those provided by PRU I2C FW.

Signed-off-by: Frank Livingston <frank-livingston@ti.com>
2 years agoPRSDK-4436:Update Configuro BOARD define from icev2AM335x to bbbAM335x
Frank Livingston [Wed, 30 Jan 2019 17:04:10 +0000 (11:04 -0600)]
PRSDK-4436:Update Configuro BOARD define from icev2AM335x to bbbAM335x

Signed-off-by: Frank Livingston <frank-livingston@ti.com>
2 years agoPRSDK-4436:Fix Test & Example apps
Frank Livingston [Tue, 29 Jan 2019 22:46:21 +0000 (16:46 -0600)]
PRSDK-4436:Fix Test & Example apps

Add all required updates for PRCM in application instead of Board_init()

Signed-off-by: Frank Livingston <frank-livingston@ti.com>
2 years agoPRSDK-4436:Add comments to UART.h concerning UART HW IP driver functionality
Frank Livingston [Tue, 29 Jan 2019 17:57:42 +0000 (11:57 -0600)]
PRSDK-4436:Add comments to UART.h concerning UART HW IP driver functionality

- HW IP driver doesn't currently support 1.5 Stop Bits
- HW IP driver doesn't currently support HW Flow Control

Signed-off-by: Frank Livingston <frank-livingston@ti.com>
2 years agoPRSDK-4436:Add update to UART V1 HW IP driver for Char Len & Stop Bits configuration
Frank Livingston [Tue, 29 Jan 2019 17:50:38 +0000 (11:50 -0600)]
PRSDK-4436:Add update to UART V1 HW IP driver for Char Len & Stop Bits configuration

Signed-off-by: Frank Livingston <frank-livingston@ti.com>
2 years agoPRSDK-4436:Change UART RX pin mux to enable pull-up
Frank Livingston [Tue, 29 Jan 2019 16:23:39 +0000 (10:23 -0600)]
PRSDK-4436:Change UART RX pin mux to enable pull-up

Signed-off-by: Frank Livingston <frank-livingston@ti.com>
2 years agoPRSDK-4436:Update comment and copyright date
Frank Livingston [Tue, 29 Jan 2019 03:09:34 +0000 (21:09 -0600)]
PRSDK-4436:Update comment and copyright date

Signed-off-by: Frank Livingston <frank-livingston@ti.com>
2 years agoPRSDK-4436:Remove unused function UART_v2_resetInstRdWrPtrs()
Frank Livingston [Tue, 29 Jan 2019 03:08:28 +0000 (21:08 -0600)]
PRSDK-4436:Remove unused function UART_v2_resetInstRdWrPtrs()

UART_v2_resetInstRdWrPtrs reset UART FW instance RD/WR pointers.
These are reset by the FW, so this function is unnecesary.

Signed-off-by: Frank Livingston <frank-livingston@ti.com>
2 years agoPRSDK-4436:Add PRCM module enable for UART1 in Test app
Frank Livingston [Tue, 29 Jan 2019 00:40:39 +0000 (18:40 -0600)]
PRSDK-4436:Add PRCM module enable for UART1 in Test app

Not present in Board_init() for BBB.

Signed-off-by: Frank Livingston <frank-livingston@ti.com>
2 years agoPRSDK-4436:Change board configuration to BBB
Frank Livingston [Sun, 27 Jan 2019 23:47:49 +0000 (17:47 -0600)]
PRSDK-4436:Change board configuration to BBB

- Change Board configuration from ICEv2 to BBB in Test app BIOS .cfg file.
- Add PRCM module enable for PRU-ICSS in Test app since this isn't present
in Board_init() for BBB.

Signed-off-by: Frank Livingston <frank-livingston@ti.com>
2 years agoPRSDK-4436:Update pin mux for UART HW IP in Test app
Frank Livingston [Sun, 27 Jan 2019 01:26:47 +0000 (19:26 -0600)]
PRSDK-4436:Update pin mux for UART HW IP in Test app

Signed-off-by: Frank Livingston <frank-livingston@ti.com>
2 years agoPRSDK-4436:Add example application for PRU UART FW
Frank Livingston [Sat, 26 Jan 2019 20:43:56 +0000 (14:43 -0600)]
PRSDK-4436:Add example application for PRU UART FW

Signed-off-by: Frank Livingston <frank-livingston@ti.com>
2 years agoPRSDK-4436:Add missing file for Test app
Frank Livingston [Sat, 26 Jan 2019 20:39:22 +0000 (14:39 -0600)]
PRSDK-4436:Add missing file for Test app

Signed-off-by: Frank Livingston <frank-livingston@ti.com>
2 years agoPRSDK-4436:Add missing information to CCS project for Test app
Frank Livingston [Sat, 26 Jan 2019 17:56:37 +0000 (11:56 -0600)]
PRSDK-4436:Add missing information to CCS project for Test app

Signed-off-by: Frank Livingston <frank-livingston@ti.com>
2 years agoPRSDK-4436:Remove Test app compile-time option for excluding BIOS
Frank Livingston [Sat, 26 Jan 2019 17:13:30 +0000 (11:13 -0600)]
PRSDK-4436:Remove Test app compile-time option for excluding BIOS

Signed-off-by: Frank Livingston <frank-livingston@ti.com>
2 years agoPRSDK-4436:Fix wait tick to generate proper cycles for system tick
Frank Livingston [Sat, 26 Jan 2019 16:50:59 +0000 (10:50 -0600)]
PRSDK-4436:Fix wait tick to generate proper cycles for system tick

Added 5 cycles to wait_tick macro, so need to increase constant subtracted
from (217-CYCLE) to account for this difference.

Signed-off-by: Frank Livingston <frank-livingston@ti.com>
2 years agoPRSDK-4436:Update Test app to skip unsupported HW IP settings
Frank Livingston [Sat, 26 Jan 2019 16:44:12 +0000 (10:44 -0600)]
PRSDK-4436:Update Test app to skip unsupported HW IP settings

Char Length==5 &&
Stop duration==2 bits is unsupported by UART HW IP.

Signed-off-by: Frank Livingston <frank-livingston@ti.com>
2 years agoPRSDK-4463:Update tests to exercise all UART SW IPs
Frank Livingston [Fri, 25 Jan 2019 17:22:27 +0000 (11:22 -0600)]
PRSDK-4463:Update tests to exercise all UART SW IPs

Signed-off-by: Frank Livingston <frank-livingston@ti.com>