]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/uart-lld.git/log
keystone-rtos/uart-lld.git
5 years agoPRSDK-5273: RTSC depdencies added
Aravind Batni [Tue, 22 Jan 2019 10:36:57 +0000 (05:36 -0500)]
PRSDK-5273: RTSC depdencies added

Signed-off-by: Aravind Batni <aravindbr@ti.com>
5 years agoPRSDK-4436:Fix bug in test app for char length test vector indexing
Frank Livingston [Tue, 22 Jan 2019 00:21:48 +0000 (18:21 -0600)]
PRSDK-4436:Fix bug in test app for char length test vector indexing

Signed-off-by: Frank Livingston <frank-livingston@ti.com>
5 years agoPRSDK-4436:Add more tests to test application
Frank Livingston [Mon, 21 Jan 2019 22:23:49 +0000 (16:23 -0600)]
PRSDK-4436:Add more tests to test application

Primary purpose of new tests is to check all possible UART bus settings
in external loopback.

Signed-off-by: Frank Livingston <frank-livingston@ti.com>
5 years agoPRSDK-4436:Update UART_open_v2() handling for already open UART instance
Frank Livingston [Mon, 21 Jan 2019 20:02:07 +0000 (14:02 -0600)]
PRSDK-4436:Update UART_open_v2() handling for already open UART instance

Skip all Open function processing, including Close function, in case of
attempt to open already open UART instance. Return error to application
in form of NULL return handle.

Signed-off-by: Frank Livingston <frank-livingston@ti.com>
5 years agoPRSDK-4436:Fix swap between 1.5 & 2 stop bit duration
Frank Livingston [Sat, 19 Jan 2019 22:56:53 +0000 (16:56 -0600)]
PRSDK-4436:Fix swap between 1.5 & 2 stop bit duration

Signed-off-by: Frank Livingston <frank-livingston@ti.com>
5 years agoPRSDK-4436:Add support for 3x UART instances on PRU0
Frank Livingston [Fri, 18 Jan 2019 20:12:48 +0000 (14:12 -0600)]
PRSDK-4436:Add support for 3x UART instances on PRU0

Signed-off-by: Frank Livingston <frank-livingston@ti.com>
5 years agoPRSDK-4436:Two updates
Frank Livingston [Fri, 18 Jan 2019 20:11:52 +0000 (14:11 -0600)]
PRSDK-4436:Two updates

- Add capability to leave RTS/CTS disable for SW IP instance
- Move supported buad rate macros from V2 .C to .H file

Signed-off-by: Frank Livingston <frank-livingston@ti.com>
5 years agoPRSDK-4436:Increase size of write for writePolling timeout==test.
Frank Livingston [Thu, 17 Jan 2019 18:58:19 +0000 (12:58 -0600)]
PRSDK-4436:Increase size of write for writePolling timeout==test.

For the SW IP Test app, write polling test w/ timeout==0 was failing
because too few character were being written to the Tx Buffer.

Tx Buffer length is 128 16-bit chars. Hence at least this many characters
must be written to the Buffer (assuming a completely empty Tx Buffer)
before no more space is available for the write and a time out error can
occur.

Signed-off-by: Frank Livingston <frank-livingston@ti.com>
5 years agoPRSDK-4436:Add read/write cancel test to Test app.
Frank Livingston [Thu, 17 Jan 2019 15:49:19 +0000 (09:49 -0600)]
PRSDK-4436:Add read/write cancel test to Test app.

Signed-off-by: Frank Livingston <frank-livingston@ti.com>
5 years agoPRSDK-4436:Fix problem with write cancel
Frank Livingston [Thu, 17 Jan 2019 15:47:55 +0000 (09:47 -0600)]
PRSDK-4436:Fix problem with write cancel

For the SW IP driver, write cancel can occur:
- after all characters have been written to the Tx Buffer
(i.e. writeSize==0, i.e. no more bytes to write to Tx Buffer for this write)
- before the callback function has been invoked
In this case, the cancel function disables the Tx Buffer empty interrupt.

Add logic to re-enable the Tx Buffer empty interrupt if the callback hasn't yet been invoked.

Signed-off-by: Frank Livingston <frank-livingston@ti.com>
5 years agoPRSDK-4436:Add return to sprintTestId testing function
Frank Livingston [Wed, 16 Jan 2019 20:50:27 +0000 (14:50 -0600)]
PRSDK-4436:Add return to sprintTestId testing function

Signed-off-by: Frank Livingston <frank-livingston@ti.com>
5 years agoPRSDK-4436:Initial version of Test application for UART PRU FW
Frank Livingston [Wed, 16 Jan 2019 20:21:11 +0000 (14:21 -0600)]
PRSDK-4436:Initial version of Test application for UART PRU FW

Following tests not working in this version:
- UART_test_read_write_cancel
- UART_test_polling_timeout

5 years agoPRSDK-4436:Fix problem with Host & PRU both writing to UART CTRL reg
Frank Livingston [Wed, 16 Jan 2019 00:26:41 +0000 (18:26 -0600)]
PRSDK-4436:Fix problem with Host & PRU both writing to UART CTRL reg

Before fix, UART and PRU FW both write to UART CTRL register.
After fix:
- Host writes to Byte0 to enable/disable UART instance.
- Host reads Byte0 and Byte1.
- PRU writes to Byte1 for Tx/Rx ack of enable/disable.
- PRU reads from Byte0 and Byte1.

5 years agoPRSDK-4436:Update location of timeout return for UART_v2_putInstCharTxBuffTimeout
Frank Livingston [Tue, 15 Jan 2019 21:15:08 +0000 (15:15 -0600)]
PRSDK-4436:Update location of timeout return for UART_v2_putInstCharTxBuffTimeout

5 years agoPRSDK-4436:Fix logic for Rx Buffer flush
Frank Livingston [Tue, 15 Jan 2019 18:17:54 +0000 (12:17 -0600)]
PRSDK-4436:Fix logic for Rx Buffer flush

5 years agoPRSDK-4436:Add debug vars for HWI
Frank Livingston [Fri, 11 Jan 2019 22:12:55 +0000 (16:12 -0600)]
PRSDK-4436:Add debug vars for HWI

5 years agoPRSDK-4436:Update location of timeout return for UART_read2_v2
Frank Livingston [Thu, 10 Jan 2019 16:18:05 +0000 (10:18 -0600)]
PRSDK-4436:Update location of timeout return for UART_read2_v2

5 years agoPRSDK-4436:Update copyright date
Frank Livingston [Thu, 10 Jan 2019 16:16:16 +0000 (10:16 -0600)]
PRSDK-4436:Update copyright date

5 years agoAdding sciclient dependency for J7 REL.PDK.J7.00.05.00.04 REL.PDK.J7.00.05.00.05 REL.PDK.J7.00.05.00.06 REL.PDK.J7.00.05.00.07 REL.PDK.J7.00.05.00.08 REL.PDK.J7.00.05.00.09 REL.PDK.J7.00.05.00.10 REL.PDK.J7.00.05.00.11 REL.PDK.J7.00.05.00.12 REL.PDK.J7.00.05.00.13 REL.PDK.J7.00.05.00.14 REL.PDK.J7.00.05.00.15
Ankur [Wed, 9 Jan 2019 10:41:02 +0000 (16:11 +0530)]
Adding sciclient dependency for J7

Signed-off-by: Ankur <a0132173@ti.com>
5 years agoPRSDK-4436:Update LLD pin mux
Frank Livingston [Fri, 21 Dec 2018 18:51:17 +0000 (12:51 -0600)]
PRSDK-4436:Update LLD pin mux

- CTS set for GPI instead of GPO
- Update pin mux macros for AM335x (formerly using macros for AM437x)

Signed-off-by: Frank Livingston <frank-livingston@ti.com>
5 years agoPRSDK-4436:Updates to UART_close_v2()
Frank Livingston [Fri, 21 Dec 2018 16:48:29 +0000 (10:48 -0600)]
PRSDK-4436:Updates to UART_close_v2()

- Confirm object isOpen flag is FALSE at start of function before
proceeding with close.
- Add UART PRU FW instance disable.

Signed-off-by: Frank Livingston <frank-livingston@ti.com>
5 years agoPRSDK-4436:Remove C RTS boot from PRU firmware
Frank Livingston [Fri, 21 Dec 2018 16:45:57 +0000 (10:45 -0600)]
PRSDK-4436:Remove C RTS boot from PRU firmware

- No need for C RTS boot for assembly only UART PRU FW.
- Remove main symbol, replace with UART_entry,
set UART_entry as entry point in build.

With this change, UART PRU FW test on AM335x ARM doesn't always
run past main() on test problem load to BBB!

Signed-off-by: Frank Livingston <frank-livingston@ti.com>
5 years agoPRSDK-4436:Fix uninitialized variables
Frank Livingston [Fri, 21 Dec 2018 02:20:53 +0000 (20:20 -0600)]
PRSDK-4436:Fix uninitialized variables

Signed-off-by: Frank Livingston <frank-livingston@ti.com>
5 years agoPRSDK-4436:Initial version of UART LLD update for PRU UART FW
Frank Livingston [Thu, 20 Dec 2018 18:27:08 +0000 (12:27 -0600)]
PRSDK-4436:Initial version of UART LLD update for PRU UART FW

This version has very limited testing:
UART_open(), UART_write() in BINARY mode, 2 16-bit characters written.

Possible improvements:
1) Single location in LLD for configuration information related to ICSS INTC.
Currently same information concerning System Events is repeated in INTC
configuration and SW IPs.
2) Close function check for on-going read/write transfers (from any API
function, including polling) before closing UART.

Signed-off-by: Frank Livingston <frank-livingston@ti.com>
5 years agoPRSDK-4436:Several FW updates related to UART LLD integration
Frank Livingston [Thu, 20 Dec 2018 18:16:05 +0000 (12:16 -0600)]
PRSDK-4436:Several FW updates related to UART LLD integration

- Added FW initialization feedback to Host to avoid possible race
conditions during PRU FW download/init by Host.
- Added Tx/Rx RESET state to each UART instance. Host controls when
UART instance enters/exits RESET state. Purpose of RESET state is to
avoid possible race conditions during UART instance configuration
from Host.
- Fixed problem with RTS setting from Rx macro being overwritten by Output
state restore before Tx macro invokation (no additional cycles added).
- Cleaned up code: changed hard-coded values to symbolic constants,
used CSL definitions where possible.

Signed-off-by: Frank Livingston <frank-livingston@ti.com>
5 years agouart: PRSDK-5157: fix DMA FIFO trigger level test REL.PDK.J7.00.05.00.01 REL.PDK.J7.00.05.00.02 REL.PDK.J7.00.05.00.03
Hao Zhang [Thu, 20 Dec 2018 16:02:31 +0000 (11:02 -0500)]
uart: PRSDK-5157: fix DMA FIFO trigger level test

Disable DMA transfer in the read operation before enabling it again.

Signed-off-by: Hao Zhang <hzhang@ti.com>
5 years agouart: PRSDK-5043: fix FIFO trigger level of 56 bytes test DEV.PROCESSOR-SDK.05.02.00.07 DEV.UART_LLD.01.00.00.13
Hao Zhang [Wed, 12 Dec 2018 21:48:47 +0000 (16:48 -0500)]
uart: PRSDK-5043: fix FIFO trigger level of 56 bytes test

Change the DMA driver to use 1 DMA transfers instead of using 2
back to back 2 DMA transfer for TX size not multiple of trigger
level size.

Signed-off-by: Hao Zhang <hzhang@ti.com>
5 years agoUpdate from devType to socType
Ding [Wed, 12 Dec 2018 14:37:14 +0000 (09:37 -0500)]
Update from devType to socType

5 years agoLink UART with DMA support library
Ding [Mon, 10 Dec 2018 21:06:22 +0000 (16:06 -0500)]
Link UART with DMA support library

5 years agouart: update version and docs for release 1.0.0.13
Hao Zhang [Mon, 10 Dec 2018 15:56:57 +0000 (10:56 -0500)]
uart: update version and docs for release 1.0.0.13

Signed-off-by: Hao Zhang <hzhang@ti.com>
5 years agoPRSDK-4454: Removed source files inclusion for Doxygen
M V Pratap Reddy [Thu, 6 Dec 2018 12:45:38 +0000 (18:15 +0530)]
PRSDK-4454: Removed source files inclusion for Doxygen

5 years agoMerge branch 'master' of ssh://bitbucket.itg.ti.com/processor-sdk/uart-lld into PRSDK...
Mahesh Radhakrishnan [Wed, 5 Dec 2018 00:49:04 +0000 (19:49 -0500)]
Merge branch 'master' of ssh://bitbucket.itg.ti.com/processor-sdk/uart-lld into PRSDK-4704

5 years agoPRSDK-2892: Added Non-executable flag to device peripheral memory MMU config
M V Pratap Reddy [Sun, 2 Dec 2018 01:26:34 +0000 (06:56 +0530)]
PRSDK-2892: Added Non-executable flag to device peripheral memory MMU config

5 years agoPRSDK-297 Modify datat type int32 to int16
Sinthu Raja M [Mon, 26 Nov 2018 05:03:33 +0000 (10:33 +0530)]
PRSDK-297 Modify datat type int32 to int16

 GCC compiler throws warning when int32 data type variable is used for
 "%d"format specifier in sprintf due to the __attribute__ macro used
 in the prototype of sprintf in header file which allows the compiler to
 verify the format specifier and its arguments.

5 years agoPRSDK-4436:Add UART PRU FW to PDK build system
Frank Livingston [Fri, 30 Nov 2018 22:41:48 +0000 (16:41 -0600)]
PRSDK-4436:Add UART PRU FW to PDK build system

Signed-off-by: Frank Livingston <frank-livingston@ti.com>
5 years agoPRSDK-4436:Add compile-time switch for PRU0/1 test code
Frank Livingston [Fri, 30 Nov 2018 20:29:19 +0000 (14:29 -0600)]
PRSDK-4436:Add compile-time switch for PRU0/1 test code

Signed-off-by: Frank Livingston <frank-livingston@ti.com>
5 years agoPRSDK-4436:Add UART PRU FW code
Frank Livingston [Fri, 30 Nov 2018 19:50:11 +0000 (13:50 -0600)]
PRSDK-4436:Add UART PRU FW code

Migrate UART PRU FW source code from ssh://git@bitbucket.itg.ti.com/ppoc/pru_uart.git:
- Branch=PRSDK-4436
- CID=3d9af36.

Signed-off-by: Frank Livingston <frank-livingston@ti.com>
5 years agoPRSDK-4169: Removed duplicate sciclient inclusion
M V Pratap Reddy [Wed, 28 Nov 2018 23:48:38 +0000 (05:18 +0530)]
PRSDK-4169: Removed duplicate sciclient inclusion

5 years agouart: PRSDK-4543: fix UART DMA TX/RX FIFO trigger level test on K1/K2
Hao Zhang [Tue, 27 Nov 2018 19:29:14 +0000 (14:29 -0500)]
uart: PRSDK-4543: fix UART DMA TX/RX FIFO trigger level test on K1/K2

Disable the DMA RX channel before enable the channel to fix the
DMA read issue.

Signed-off-by: Hao Zhang <hzhang@ti.com>
5 years agouart: PRSDK-4716: fix UART DMA FIFO trigger level failed test on am6
Hao Zhang [Mon, 26 Nov 2018 16:31:03 +0000 (11:31 -0500)]
uart: PRSDK-4716: fix UART DMA FIFO trigger level failed test on am6

Resolve a timing related race condition by adding delay and
open/close uart instance for FIFO trigger level test

Signed-off-by: Hao Zhang <hzhang@ti.com>
5 years agoMerge pull request #127 in PROCESSOR-SDK/uart-lld from PRSDK-4169 to master
Sivaraj R [Fri, 23 Nov 2018 02:34:07 +0000 (20:34 -0600)]
Merge pull request #127 in PROCESSOR-SDK/uart-lld from PRSDK-4169 to master

* commit '27c89731ac0672b17bc0ee428354f75ec4ed17a7':
  PRSDK-4169: Adding sciclient as a dependency for board

5 years agoPRSDK-4169: Adding sciclient as a dependency for board
Mahesh Radhakrishnan [Thu, 22 Nov 2018 23:44:50 +0000 (18:44 -0500)]
PRSDK-4169: Adding sciclient as a dependency for board

5 years agoPRSDK-4704: Increaseing the MPU region size to 32K
Mahesh Radhakrishnan [Thu, 15 Nov 2018 20:03:43 +0000 (15:03 -0500)]
PRSDK-4704: Increaseing the MPU region size to 32K

5 years agoMerge pull request #123 in PROCESSOR-SDK/uart-lld from PRSDK-4800 to master
Hao Zhang [Thu, 15 Nov 2018 14:44:15 +0000 (08:44 -0600)]
Merge pull request #123 in PROCESSOR-SDK/uart-lld from PRSDK-4800 to master

* commit '9b9e20f1cb0b0264b422b940d00ee4717e13790c':
  PRSDK-4800: Updated all the UART examples to have a common string "press the esc"

5 years agoPRSDK-4800: Updated all the UART examples to have a common string "press
Dasnavis Sabiya [Wed, 14 Nov 2018 08:25:14 +0000 (13:55 +0530)]
PRSDK-4800: Updated all the UART examples to have a common string "press
the esc"

For automating the Uart examples, a generic output string is required.
The system test scripts expects "press the esc" string.

Replaced all occurences of string "press Esc" with "press the esc"
to avoid system test failure.

5 years agoMerge pull request #121 in PROCESSOR-SDK/uart-lld from PRSDK-4529 to master
Hao Zhang [Tue, 6 Nov 2018 16:38:36 +0000 (10:38 -0600)]
Merge pull request #121 in PROCESSOR-SDK/uart-lld from PRSDK-4529 to master

* commit 'fc99ad761cddfbb88dbb72fdd64d0b20594004e5':
  uart: PRSDK-4529: fix issue of UART LLD can't read value 0xff byte

5 years agouart: PRSDK-4529: fix issue of UART LLD can't read value 0xff byte
Hao Zhang [Mon, 5 Nov 2018 19:23:31 +0000 (14:23 -0500)]
uart: PRSDK-4529: fix issue of UART LLD can't read value 0xff byte

Calls a new charGetNonBlocking2() API which returns TRUE (read success)
or FALSE (read fail), the read data will be returned by a pointer to a byte
variable parameter of the API.

Signed-off-by: Hao Zhang <hzhang@ti.com>
5 years agoMerge pull request #120 in PROCESSOR-SDK/uart-lld from review_sivaraj to master REL.PDK.J7.00.03.00.01 REL.PDK.J7.00.03.00.02 REL.PDK.J7.00.03.00.03 REL.PDK.J7.00.03.00.04
Sivaraj R [Thu, 4 Oct 2018 15:57:29 +0000 (10:57 -0500)]
Merge pull request #120 in PROCESSOR-SDK/uart-lld from review_sivaraj to master

* commit '6bfce57a1df2c3911dfdd589059076f48e567932':
  Enable all cores for J7

5 years agoEnable all cores for J7
Sivaraj R [Thu, 4 Oct 2018 14:35:40 +0000 (20:05 +0530)]
Enable all cores for J7

- This fixes the -j build issue as UART is
required by all examples

Signed-off-by: Sivaraj R <sivaraj@ti.com>
5 years agoMerge pull request #119 in PROCESSOR-SDK/uart-lld from review_packaging_fix_rishabh...
Sivaraj R [Wed, 3 Oct 2018 10:52:42 +0000 (05:52 -0500)]
Merge pull request #119 in PROCESSOR-SDK/uart-lld from review_packaging_fix_rishabh to master

* commit 'b7bd49d2b502b674640c4443699c5355c8f8a6d7':
  Fixed packaging build

5 years agoFixed packaging build
Rishabh Garg [Wed, 3 Oct 2018 09:42:55 +0000 (15:12 +0530)]
Fixed packaging build

Signed-off-by: Rishabh Garg <rishabh@ti.com>
5 years agoMerge pull request #118 in PROCESSOR-SDK/uart-lld from review_j7_build_sivaraj to...
Sivaraj R [Mon, 1 Oct 2018 08:25:40 +0000 (03:25 -0500)]
Merge pull request #118 in PROCESSOR-SDK/uart-lld from review_j7_build_sivaraj to master

* commit '6c5dcdfc39ce3154904ef532fd244e4bea59c669':
  Proper J7 build support

5 years agoMerge pull request #115 in PROCESSOR-SDK/uart-lld from review_typecast_fix_rishabh...
Sivaraj R [Mon, 1 Oct 2018 04:57:00 +0000 (23:57 -0500)]
Merge pull request #115 in PROCESSOR-SDK/uart-lld from review_typecast_fix_rishabh to master

* commit 'd45a7072e63cfae9a4d71d19c0dd07abda2afce5':
  Bug fix: PDK-3230

5 years agoBug fix: PDK-3230
Rishabh Garg [Tue, 18 Sep 2018 17:08:45 +0000 (22:38 +0530)]
Bug fix: PDK-3230

- Added typecast to uintptr_t for A72

Signed-off-by: Rishabh Garg <rishabh@ti.com>
5 years agoProper J7 build support
Sivaraj R [Mon, 24 Sep 2018 14:44:29 +0000 (20:14 +0530)]
Proper J7 build support

Signed-off-by: Sivaraj R <sivaraj@ti.com>
5 years agoMerge pull request #117 in PROCESSOR-SDK/uart-lld from PRSDK-4543 to master DEV.PROCESSOR-SDK.05.01.00.07 DEV.PROCESSOR-SDK.05.01.00.10 DEV.PROCESSOR-SDK.05.01.00.11 DEV.UART_LLD.01.00.00.12
Hao Zhang [Thu, 20 Sep 2018 21:04:47 +0000 (16:04 -0500)]
Merge pull request #117 in PROCESSOR-SDK/uart-lld from PRSDK-4543 to master

* commit '47610e26f812b3de2b630803f65cfd3de923af14':
  uart: PRSDK-4543: workaround to pass the FIFO trigger level test for k1/k2 devices

5 years agouart: PRSDK-4543: workaround to pass the FIFO trigger level test for k1/k2 devices
Hao Zhang [Thu, 20 Sep 2018 20:28:38 +0000 (16:28 -0400)]
uart: PRSDK-4543: workaround to pass the FIFO trigger level test for k1/k2 devices

Signed-off-by: Hao Zhang <hzhang@ti.com>
5 years agoMerge pull request #116 in PROCESSOR-SDK/uart-lld from PRSDK-4716 to master
Hao Zhang [Thu, 20 Sep 2018 20:08:30 +0000 (15:08 -0500)]
Merge pull request #116 in PROCESSOR-SDK/uart-lld from PRSDK-4716 to master

* commit '73e51162309952f5e69ab6d0bf275e2948ae7631':
  uart: PRSDK-4716: workaround for DMA FIFO trigger level test

5 years agouart: PRSDK-4716: workaround for DMA FIFO trigger level test
Hao Zhang [Thu, 20 Sep 2018 19:18:15 +0000 (15:18 -0400)]
uart: PRSDK-4716: workaround for DMA FIFO trigger level test

Workaround to pass the DMA FIFO trigger level test for
UART_TXTRIGLVL_56 and UART_RXTRIGLVL_60. The other trigger
level tests passed,

Signed-off-by: Hao Zhang <hzhang@ti.com>
5 years agoMerge pull request #111 in PROCESSOR-SDK/uart-lld from dmsc_fw to master
Raghu Nambiath [Thu, 20 Sep 2018 01:29:24 +0000 (20:29 -0500)]
Merge pull request #111 in PROCESSOR-SDK/uart-lld from dmsc_fw to master

* commit 'd8e04653538e3410da60665997b213861058d3dc':
  uart: am6: integrate with dmsc firmware changes

5 years agoMerge pull request #114 in PROCESSOR-SDK/uart-lld from PRSDK-4525 to master
Hao Zhang [Mon, 17 Sep 2018 21:43:53 +0000 (16:43 -0500)]
Merge pull request #114 in PROCESSOR-SDK/uart-lld from PRSDK-4525 to master

* commit 'dcb44fe96f92a91d382cfa2ff2612b81cbd7829b':
  uart: PRSDK-4525: add unit test support on am65xx_idk

5 years agoMerge pull request #112 in PROCESSOR-SDK/uart-lld from doc_ver_release-5.1 to master
Hao Zhang [Mon, 17 Sep 2018 21:03:24 +0000 (16:03 -0500)]
Merge pull request #112 in PROCESSOR-SDK/uart-lld from doc_ver_release-5.1 to master

* commit 'a7d6308a0754ad0efbcfc8ebc630fe3c58b02562':
  doc_ver_release-5.1: Updated Release Notes for 5.1

5 years agoMerge pull request #113 in PROCESSOR-SDK/uart-lld from PRSDK-4123 to master
Hao Zhang [Mon, 17 Sep 2018 18:43:50 +0000 (13:43 -0500)]
Merge pull request #113 in PROCESSOR-SDK/uart-lld from PRSDK-4123 to master

* commit '6da1ca606802c020471e8dba350b9aa67b62f071':
  uart: PRSDK-4123: Align AM65xx unit tests name & directory for system test

5 years agouart: PRSDK-4525: add unit test support on am65xx_idk
Hao Zhang [Mon, 17 Sep 2018 15:41:13 +0000 (11:41 -0400)]
uart: PRSDK-4525: add unit test support on am65xx_idk

Signed-off-by: Hao Zhang <hzhang@ti.com>
5 years agouart: PRSDK-4123: Align AM65xx unit tests name & directory for system test
Hao Zhang [Mon, 17 Sep 2018 13:15:22 +0000 (09:15 -0400)]
uart: PRSDK-4123: Align AM65xx unit tests name & directory for system test

Signed-off-by: Hao Zhang <hzhang@ti.com>
5 years agodoc_ver_release-5.1: Updated Release Notes for 5.1
Dasnavis Sabiya [Mon, 17 Sep 2018 11:56:21 +0000 (17:26 +0530)]
doc_ver_release-5.1: Updated Release Notes for 5.1

5 years agouart: am6: integrate with dmsc firmware changes
Hao Zhang [Wed, 12 Sep 2018 21:03:00 +0000 (17:03 -0400)]
uart: am6: integrate with dmsc firmware changes

Changes include:
1. add sciclient lib to unit test example
2. disable interrupts when all the data is received and
   and transmitted in the ISR

Signed-off-by: Hao Zhang <hzhang@ti.com>
5 years agoMerge pull request #110 in PROCESSOR-SDK/uart-lld from PRSDK-2230 to master
Hao Zhang [Wed, 29 Aug 2018 17:16:16 +0000 (12:16 -0500)]
Merge pull request #110 in PROCESSOR-SDK/uart-lld from PRSDK-2230 to master

* commit '6a84509eb45c6a402f97044930644c6f514b6fac':
  uart: PRSDK-2232: add test case for parity type
  uart: PRSDK-2231: add test case for char length
  uart: PRSDK-2230: add test case for stop bit

5 years agouart: PRSDK-2232: add test case for parity type
Hao Zhang [Wed, 29 Aug 2018 11:45:54 +0000 (07:45 -0400)]
uart: PRSDK-2232: add test case for parity type

Signed-off-by: Hao Zhang <hzhang@ti.com>
5 years agouart: PRSDK-2231: add test case for char length
Hao Zhang [Wed, 29 Aug 2018 11:45:08 +0000 (07:45 -0400)]
uart: PRSDK-2231: add test case for char length

Signed-off-by: Hao Zhang <hzhang@ti.com>
5 years agouart: PRSDK-2230: add test case for stop bit
Hao Zhang [Wed, 29 Aug 2018 11:43:44 +0000 (07:43 -0400)]
uart: PRSDK-2230: add test case for stop bit

Signed-off-by: Hao Zhang <hzhang@ti.com>
5 years agoMerge pull request #109 in PROCESSOR-SDK/uart-lld from PDK-2914 to master
Sivaraj R [Thu, 23 Aug 2018 08:47:53 +0000 (03:47 -0500)]
Merge pull request #109 in PROCESSOR-SDK/uart-lld from PDK-2914 to master

* commit '2c71c9408719f780b14d787bd928394075a9737c':
  PDK-2914 follow-up: Updating C66x instance numbers

5 years agoPDK-2914 follow-up: Updating C66x instance numbers
Stephen Molfetta [Tue, 21 Aug 2018 21:42:20 +0000 (16:42 -0500)]
PDK-2914 follow-up: Updating C66x instance numbers

using c66xdsp_1/2 instead of c66x_0/1

5 years agoMerge pull request #108 in PROCESSOR-SDK/uart-lld from PDK-2914 to master
Sivaraj R [Sun, 19 Aug 2018 01:19:16 +0000 (20:19 -0500)]
Merge pull request #108 in PROCESSOR-SDK/uart-lld from PDK-2914 to master

* commit 'a3ce143e385a0d26d66e417ae907466e3b4dc7e5':
  Adding J7/C66x build support

5 years agoAdding J7/C66x build support
Stephen Molfetta [Thu, 16 Aug 2018 22:40:20 +0000 (17:40 -0500)]
Adding J7/C66x build support

As specified in PDK-2914, adding support for c66x_0 and c66x_1 CORE definitions
for j7 SOC

Note that none of the tests are yet validated. This change only introduces
build support for the CPU.  This is a WIP change.

5 years agoMerge pull request #107 in PROCESSOR-SDK/uart-lld from PRSDK-4197 to master
Tinku Mannan [Wed, 15 Aug 2018 20:43:02 +0000 (15:43 -0500)]
Merge pull request #107 in PROCESSOR-SDK/uart-lld from PRSDK-4197 to master

* commit 'c1a38bb76ed03d30e86c828b7e9013f4bdfa3196':
  uart: PRSDK-4197: include soc specific header in soc file for am3/4

5 years agouart: PRSDK-4197: include soc specific header in soc file for am3/4
Hao Zhang [Wed, 15 Aug 2018 15:38:04 +0000 (11:38 -0400)]
uart: PRSDK-4197: include soc specific header in soc file for am3/4

Signed-off-by: Hao Zhang <hzhang@ti.com>
5 years agoMerge pull request #104 in PROCESSOR-SDK/uart-lld from PRSDK-4197 to master
Tinku Mannan [Mon, 13 Aug 2018 18:40:29 +0000 (13:40 -0500)]
Merge pull request #104 in PROCESSOR-SDK/uart-lld from PRSDK-4197 to master

* commit '6d15c019150537c3f89e3762408ec1670076cfad':
  uart: PRSDK-4105: add over sampling operation mode support
  uart: PRSDK-4197: add UART module clock select configuration

5 years agouart: PRSDK-4105: add over sampling operation mode support
Hao Zhang [Tue, 24 Jul 2018 14:40:15 +0000 (10:40 -0400)]
uart: PRSDK-4105: add over sampling operation mode support

Add the over sampling (16x and 13x) operation mode support
for both V0 and V1 IP driver. It allows user to configure
the proper over sampling factor to minimize baud rate error.

Signed-off-by: Hao Zhang <hzhang@ti.com>
5 years agouart: PRSDK-4197: add UART module clock select configuration
Hao Zhang [Tue, 24 Jul 2018 10:11:50 +0000 (06:11 -0400)]
uart: PRSDK-4197: add UART module clock select configuration

Add the configuration of UART clock selection (48MHz or 192MHz)
in UART_socSetInitCfg().

Signed-off-by: Hao Zhang <hzhang@ti.com>
5 years agoMerge pull request #106 in PROCESSOR-SDK/uart-lld from review_build_fix_j7_sivaraj...
Hao Zhang [Thu, 2 Aug 2018 14:22:10 +0000 (09:22 -0500)]
Merge pull request #106 in PROCESSOR-SDK/uart-lld from review_build_fix_j7_sivaraj to master

* commit '13716f6bcd0ae4788de0ae2570d651e68fc8fec2':
  Fixed MCU build

5 years agoFixed MCU build
Sivaraj R [Thu, 2 Aug 2018 14:08:55 +0000 (19:38 +0530)]
Fixed MCU build

Signed-off-by: Sivaraj R <sivaraj@ti.com>
5 years agoMerge pull request #105 in PROCESSOR-SDK/uart-lld from rtos-next to master
Aravind Batni [Wed, 1 Aug 2018 21:15:03 +0000 (16:15 -0500)]
Merge pull request #105 in PROCESSOR-SDK/uart-lld from rtos-next to master

* commit 'bd3053fb133e38f7cd22f47631eaeafde30946c1':
  uart: resolve the test example compilation error on K2 for K3 merge
  Squashed commit of the following:
  Fixed UART MPU build
  PRSDK-4049: fix UART teardown issue
  PRSDK-4049: fix UART teardown issue
  PRSDK-4049: fix UART teardown issue
  uart: j7: fix package build error
  PDK-2493: Added J7 build support
  PRSDK-4123
  PRSDK-4123: Aligning am65xx test names to that of other SOCs
  Fixes for new UDMA ring APIs and teardown behaviour
  uart: use the new udma teardown api
  uart: PRSDK-2227, PRSDK-2228: UART LLD support for am65xx

5 years agouart: resolve the test example compilation error on K2 for K3 merge
Hao Zhang [Tue, 31 Jul 2018 15:49:19 +0000 (11:49 -0400)]
uart: resolve the test example compilation error on K2 for K3 merge

Signed-off-by: Hao Zhang <hzhang@ti.com>
5 years agoSquashed commit of the following:
Hao Zhang [Tue, 31 Jul 2018 08:54:03 +0000 (04:54 -0400)]
Squashed commit of the following:

commit a9f758d6689a5e7ab2fd83317240964928e0189d
Merge: cf52e52 2df2cbd
Author: Hao Zhang <hzhang@ti.com>
Date:   Tue Jul 24 16:20:55 2018 -0500

    Merge pull request #103 in PROCESSOR-SDK/uart-lld from review_PRSDK-2866 to master

    * commit '2df2cbd60c22e52cbedc4e05e8060229454d7f6e':
      Initialize value being returned by uart_console_getc to zero prior to calling UART_readPolling to prevent unitializd variable being returned

commit 2df2cbd60c22e52cbedc4e05e8060229454d7f6e
Author: Tinku Mannan <tmannan@ti.com>
Date:   Tue Jul 24 14:11:12 2018 -0400

    Initialize value being returned by uart_console_getc to zero prior to calling UART_readPolling to prevent unitializd variable being returned

commit cf52e52665a018fbc4e4acbe0e8685473c6b678c
Merge: 56707c9 98480c2
Author: Hao Zhang <hzhang@ti.com>
Date:   Tue Jul 17 09:15:29 2018 -0500

    Merge pull request #100 in PROCESSOR-SDK/uart-lld from Doc_ver_update_5.0 to master

    * commit '98480c2ad1c33021db290a4917114d4b947ca166':
      Documentation and version updates for procsdk 5.0 release

commit 98480c2ad1c33021db290a4917114d4b947ca166
Author: Sinthu Raja M <x0257345@ti.com>
Date:   Tue Jul 17 19:21:57 2018 +0530

    Documentation and version updates for procsdk 5.0 release

commit 56707c9c3b947551cd0ed1e6876a156a071799d6
Merge: 4774991 bb95588
Author: Hao Zhang <hzhang@ti.com>
Date:   Fri Jun 1 16:27:10 2018 -0500

    Merge pull request #92 in PROCESSOR-SDK/uart-lld from PRSDK-2194 to master

    * commit 'bb9558877ac0146a40c6f5c065c7aec5bc1f714f':
      PRSDK-2194 Added RULES_MAKE macro

commit bb9558877ac0146a40c6f5c065c7aec5bc1f714f
Author: Sinthu Raja M <x0257345@ti.com>
Date:   Wed May 23 16:24:03 2018 +0530

    PRSDK-2194 Added RULES_MAKE macro

     Added RULES_MAKE macro to support build based on custom Rules.make
     location

Signed-off-by: Hao Zhang <hzhang@ti.com>
5 years agoMerge pull request #102 in PROCESSOR-SDK/uart-lld from review_mpu_build_support_sivar...
Sivaraj R [Mon, 30 Jul 2018 14:21:34 +0000 (09:21 -0500)]
Merge pull request #102 in PROCESSOR-SDK/uart-lld from review_mpu_build_support_sivaraj to rtos-next

* commit '7093429b9cda2b38391e9e4b7caa447443c3a5eb':
  Fixed UART MPU build

5 years agoMerge pull request #101 in PROCESSOR-SDK/uart-lld from PRSDK-4049 to rtos-next
Hao Zhang [Thu, 26 Jul 2018 17:44:15 +0000 (12:44 -0500)]
Merge pull request #101 in PROCESSOR-SDK/uart-lld from PRSDK-4049 to rtos-next

* commit '334ebcc0c3474c80a098adff52be7a20e1e5b44b':
  PRSDK-4049: fix UART teardown issue
  PRSDK-4049: fix UART teardown issue
  PRSDK-4049: fix UART teardown issue

5 years agoFixed UART MPU build
Sivaraj R [Mon, 23 Jul 2018 13:20:50 +0000 (18:50 +0530)]
Fixed UART MPU build

Signed-off-by: Sivaraj R <sivaraj@ti.com>
5 years agoMerge pull request #103 in PROCESSOR-SDK/uart-lld from review_PRSDK-2866 to master
Hao Zhang [Tue, 24 Jul 2018 21:20:55 +0000 (16:20 -0500)]
Merge pull request #103 in PROCESSOR-SDK/uart-lld from review_PRSDK-2866 to master

* commit '2df2cbd60c22e52cbedc4e05e8060229454d7f6e':
  Initialize value being returned by uart_console_getc to zero prior to calling UART_readPolling to prevent unitializd variable being returned

5 years agoInitialize value being returned by uart_console_getc to zero prior to calling UART_re...
Tinku Mannan [Tue, 24 Jul 2018 18:11:12 +0000 (14:11 -0400)]
Initialize value being returned by uart_console_getc to zero prior to calling UART_readPolling to prevent unitializd variable being returned

5 years agoPRSDK-4049: fix UART teardown issue
Hao Zhang [Mon, 23 Jul 2018 16:12:13 +0000 (12:12 -0400)]
PRSDK-4049: fix UART teardown issue

Changes include:
fix a potential stack corruption problem, the read/write
transaction data should be declared from the stack in old
read/write APIs, otherwise it may cause stack corruption in
the callback mode.

Signed-off-by: Hao Zhang <hzhang@ti.com>
5 years agoPRSDK-4049: fix UART teardown issue
Hao Zhang [Thu, 19 Jul 2018 13:06:20 +0000 (09:06 -0400)]
PRSDK-4049: fix UART teardown issue

Changes include:
1. remove SoC dependent structures from IP specific UART_HWAttrs
2. clean up test code to remove TX/RX teardown event objects
3. enable DMA trigger level test

Signed-off-by: Hao Zhang <hzhang@ti.com>
5 years agoPRSDK-4049: fix UART teardown issue
Hao Zhang [Wed, 18 Jul 2018 13:41:51 +0000 (09:41 -0400)]
PRSDK-4049: fix UART teardown issue

Changes include:
1. remove teardown event callback from udma
2. enable teardwon test case in unit test

Signed-off-by: Hao Zhang <hzhang@ti.com>
5 years agoMerge pull request #100 in PROCESSOR-SDK/uart-lld from Doc_ver_update_5.0 to master DEV.UART_LLD.01.00.00.11
Hao Zhang [Tue, 17 Jul 2018 14:15:29 +0000 (09:15 -0500)]
Merge pull request #100 in PROCESSOR-SDK/uart-lld from Doc_ver_update_5.0 to master

* commit '98480c2ad1c33021db290a4917114d4b947ca166':
  Documentation and version updates for procsdk 5.0 release

5 years agoDocumentation and version updates for procsdk 5.0 release
Sinthu Raja M [Tue, 17 Jul 2018 13:51:57 +0000 (19:21 +0530)]
Documentation and version updates for procsdk 5.0 release

5 years agoMerge pull request #99 in PROCESSOR-SDK/uart-lld from fix_j7_build_error_hao to rtos...
Mahesh Radhakrishnan [Mon, 16 Jul 2018 16:02:33 +0000 (11:02 -0500)]
Merge pull request #99 in PROCESSOR-SDK/uart-lld from fix_j7_build_error_hao to rtos-next

* commit 'c4e6ef42b80a2d8984e2f49e7c796b36a1fd2ac1':
  uart: j7: fix package build error

5 years agouart: j7: fix package build error
Hao Zhang [Mon, 16 Jul 2018 08:52:57 +0000 (04:52 -0400)]
uart: j7: fix package build error

Signed-off-by: Hao Zhang <hzhang@ti.com>
5 years agoMerge pull request #98 in PROCESSOR-SDK/uart-lld from review_j7_build_support to...
Sivaraj R [Fri, 13 Jul 2018 18:37:58 +0000 (13:37 -0500)]
Merge pull request #98 in PROCESSOR-SDK/uart-lld from review_j7_build_support to rtos-next

* commit 'd9f83fd0fef1b525d10a06eb8fa9e7d4aab07656':
  PDK-2493: Added J7 build support

5 years agoPDK-2493: Added J7 build support
Sivaraj R [Fri, 13 Jul 2018 16:06:29 +0000 (21:36 +0530)]
PDK-2493: Added J7 build support

Signed-off-by: Sivaraj R <sivaraj@ti.com>
5 years agoMerge pull request #97 in PROCESSOR-SDK/uart-lld from PRSDK-4123 to rtos-next
Raghu Nambiath [Mon, 9 Jul 2018 20:14:13 +0000 (15:14 -0500)]
Merge pull request #97 in PROCESSOR-SDK/uart-lld from PRSDK-4123 to rtos-next

* commit '01d402bf3cb9bce896a1fdf9c1be5695c01e9e19':
  PRSDK-4123
  PRSDK-4123: Aligning am65xx test names to that of other SOCs