PRSDK-5273: RTSC depdencies added
Signed-off-by: Aravind Batni <aravindbr@ti.com>
Signed-off-by: Aravind Batni <aravindbr@ti.com>
PRSDK-4436:Fix bug in test app for char length test vector indexing
Signed-off-by: Frank Livingston <frank-livingston@ti.com>
Signed-off-by: Frank Livingston <frank-livingston@ti.com>
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>
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>
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>
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>
PRSDK-4436:Fix swap between 1.5 & 2 stop bit duration
Signed-off-by: Frank Livingston <frank-livingston@ti.com>
Signed-off-by: Frank Livingston <frank-livingston@ti.com>
PRSDK-4436:Add support for 3x UART instances on PRU0
Signed-off-by: Frank Livingston <frank-livingston@ti.com>
Signed-off-by: Frank Livingston <frank-livingston@ti.com>
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>
- 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>
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>
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>
PRSDK-4436:Add read/write cancel test to Test app.
Signed-off-by: Frank Livingston <frank-livingston@ti.com>
Signed-off-by: Frank Livingston <frank-livingston@ti.com>
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>
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>
PRSDK-4436:Add return to sprintTestId testing function
Signed-off-by: Frank Livingston <frank-livingston@ti.com>
Signed-off-by: Frank Livingston <frank-livingston@ti.com>
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
Following tests not working in this version:
- UART_test_read_write_cancel
- UART_test_polling_timeout
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.
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.
PRSDK-4436:Update location of timeout return for UART_v2_putInstCharTxBuffTimeout
PRSDK-4436:Fix logic for Rx Buffer flush
PRSDK-4436:Add debug vars for HWI
PRSDK-4436:Update location of timeout return for UART_read2_v2
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
Adding sciclient dependency for J7
Signed-off-by: Ankur <a0132173@ti.com>
Signed-off-by: Ankur <a0132173@ti.com>
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>
- 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>
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>
- 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>
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>
- 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>
PRSDK-4436:Fix uninitialized variables
Signed-off-by: Frank Livingston <frank-livingston@ti.com>
Signed-off-by: Frank Livingston <frank-livingston@ti.com>
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>
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>
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>
- 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
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>
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
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>
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>
Update from devType to socType
Link UART with DMA support library
uart: update version and docs for release 1.0.0.13
Signed-off-by: Hao Zhang <hzhang@ti.com>
Signed-off-by: Hao Zhang <hzhang@ti.com>
PRSDK-4454: Removed source files inclusion for Doxygen
Merge branch 'master' of ssh://bitbucket.itg.ti.com/processor-sdk/uart-lld into PRSDK-4704
PRSDK-2892: Added Non-executable flag to device peripheral memory MMU config
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.
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.
PRSDK-4436:Add UART PRU FW to PDK build system
Signed-off-by: Frank Livingston <frank-livingston@ti.com>
Signed-off-by: Frank Livingston <frank-livingston@ti.com>
PRSDK-4436:Add compile-time switch for PRU0/1 test code
Signed-off-by: Frank Livingston <frank-livingston@ti.com>
Signed-off-by: Frank Livingston <frank-livingston@ti.com>
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>
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>
PRSDK-4169: Removed duplicate sciclient inclusion
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>
Disable the DMA RX channel before enable the channel to fix the
DMA read issue.
Signed-off-by: Hao Zhang <hzhang@ti.com>
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>
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>
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
* commit '27c89731ac0672b17bc0ee428354f75ec4ed17a7':
PRSDK-4169: Adding sciclient as a dependency for board
PRSDK-4169: Adding sciclient as a dependency for board
PRSDK-4704: Increaseing the MPU region size to 32K
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"
* commit '9b9e20f1cb0b0264b422b940d00ee4717e13790c':
PRSDK-4800: Updated all the UART examples to have a common string "press the esc"
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.
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.
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
* commit 'fc99ad761cddfbb88dbb72fdd64d0b20594004e5':
uart: PRSDK-4529: fix issue of UART LLD can't read value 0xff byte
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>
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
Merge pull request #120 in PROCESSOR-SDK/uart-lld from review_sivaraj to master
* commit '6bfce57a1df2c3911dfdd589059076f48e567932':
Enable all cores for J7
* commit '6bfce57a1df2c3911dfdd589059076f48e567932':
Enable all cores for J7
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>
- This fixes the -j build issue as UART is
required by all examples
Signed-off-by: Sivaraj R <sivaraj@ti.com>
Merge pull request #119 in PROCESSOR-SDK/uart-lld from review_packaging_fix_rishabh to master
* commit 'b7bd49d2b502b674640c4443699c5355c8f8a6d7':
Fixed packaging build
* commit 'b7bd49d2b502b674640c4443699c5355c8f8a6d7':
Fixed packaging build
Fixed packaging build
Signed-off-by: Rishabh Garg <rishabh@ti.com>
Signed-off-by: Rishabh Garg <rishabh@ti.com>
Merge pull request #118 in PROCESSOR-SDK/uart-lld from review_j7_build_sivaraj to master
* commit '6c5dcdfc39ce3154904ef532fd244e4bea59c669':
Proper J7 build support
* commit '6c5dcdfc39ce3154904ef532fd244e4bea59c669':
Proper J7 build support
Merge pull request #115 in PROCESSOR-SDK/uart-lld from review_typecast_fix_rishabh to master
* commit 'd45a7072e63cfae9a4d71d19c0dd07abda2afce5':
Bug fix: PDK-3230
* commit 'd45a7072e63cfae9a4d71d19c0dd07abda2afce5':
Bug fix: PDK-3230
Bug fix: PDK-3230
- Added typecast to uintptr_t for A72
Signed-off-by: Rishabh Garg <rishabh@ti.com>
- Added typecast to uintptr_t for A72
Signed-off-by: Rishabh Garg <rishabh@ti.com>
Proper J7 build support
Signed-off-by: Sivaraj R <sivaraj@ti.com>
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
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
* commit '47610e26f812b3de2b630803f65cfd3de923af14':
uart: PRSDK-4543: workaround to pass the FIFO trigger level test for k1/k2 devices
uart: PRSDK-4543: workaround to pass the FIFO trigger level test for k1/k2 devices
Signed-off-by: Hao Zhang <hzhang@ti.com>
Signed-off-by: Hao Zhang <hzhang@ti.com>
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
* commit '73e51162309952f5e69ab6d0bf275e2948ae7631':
uart: PRSDK-4716: workaround for DMA FIFO trigger level test
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>
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>
Merge pull request #111 in PROCESSOR-SDK/uart-lld from dmsc_fw to master
* commit 'd8e04653538e3410da60665997b213861058d3dc':
uart: am6: integrate with dmsc firmware changes
* commit 'd8e04653538e3410da60665997b213861058d3dc':
uart: am6: integrate with dmsc firmware changes
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
* commit 'dcb44fe96f92a91d382cfa2ff2612b81cbd7829b':
uart: PRSDK-4525: add unit test support on am65xx_idk
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
* commit 'a7d6308a0754ad0efbcfc8ebc630fe3c58b02562':
doc_ver_release-5.1: Updated Release Notes for 5.1
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
* commit '6da1ca606802c020471e8dba350b9aa67b62f071':
uart: PRSDK-4123: Align AM65xx unit tests name & directory for system test
uart: PRSDK-4525: add unit test support on am65xx_idk
Signed-off-by: Hao Zhang <hzhang@ti.com>
Signed-off-by: Hao Zhang <hzhang@ti.com>
uart: PRSDK-4123: Align AM65xx unit tests name & directory for system test
Signed-off-by: Hao Zhang <hzhang@ti.com>
Signed-off-by: Hao Zhang <hzhang@ti.com>
doc_ver_release-5.1: Updated Release Notes for 5.1
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>
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>
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
* 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
uart: PRSDK-2232: add test case for parity type
Signed-off-by: Hao Zhang <hzhang@ti.com>
Signed-off-by: Hao Zhang <hzhang@ti.com>
uart: PRSDK-2231: add test case for char length
Signed-off-by: Hao Zhang <hzhang@ti.com>
Signed-off-by: Hao Zhang <hzhang@ti.com>
uart: PRSDK-2230: add test case for stop bit
Signed-off-by: Hao Zhang <hzhang@ti.com>
Signed-off-by: Hao Zhang <hzhang@ti.com>
Merge pull request #109 in PROCESSOR-SDK/uart-lld from PDK-2914 to master
* commit '2c71c9408719f780b14d787bd928394075a9737c':
PDK-2914 follow-up: Updating C66x instance numbers
* commit '2c71c9408719f780b14d787bd928394075a9737c':
PDK-2914 follow-up: Updating C66x instance numbers
PDK-2914 follow-up: Updating C66x instance numbers
using c66xdsp_1/2 instead of c66x_0/1
using c66xdsp_1/2 instead of c66x_0/1
Merge pull request #108 in PROCESSOR-SDK/uart-lld from PDK-2914 to master
* commit 'a3ce143e385a0d26d66e417ae907466e3b4dc7e5':
Adding J7/C66x build support
* commit 'a3ce143e385a0d26d66e417ae907466e3b4dc7e5':
Adding J7/C66x build support
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.
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.
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
* commit 'c1a38bb76ed03d30e86c828b7e9013f4bdfa3196':
uart: PRSDK-4197: include soc specific header in soc file for am3/4
uart: PRSDK-4197: include soc specific header in soc file for am3/4
Signed-off-by: Hao Zhang <hzhang@ti.com>
Signed-off-by: Hao Zhang <hzhang@ti.com>
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
* commit '6d15c019150537c3f89e3762408ec1670076cfad':
uart: PRSDK-4105: add over sampling operation mode support
uart: PRSDK-4197: add UART module clock select configuration
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>
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>
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>
Add the configuration of UART clock selection (48MHz or 192MHz)
in UART_socSetInitCfg().
Signed-off-by: Hao Zhang <hzhang@ti.com>
Merge pull request #106 in PROCESSOR-SDK/uart-lld from review_build_fix_j7_sivaraj to master
* commit '13716f6bcd0ae4788de0ae2570d651e68fc8fec2':
Fixed MCU build
* commit '13716f6bcd0ae4788de0ae2570d651e68fc8fec2':
Fixed MCU build
Fixed MCU build
Signed-off-by: Sivaraj R <sivaraj@ti.com>
Signed-off-by: Sivaraj R <sivaraj@ti.com>
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
* 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
uart: resolve the test example compilation error on K2 for K3 merge
Signed-off-by: Hao Zhang <hzhang@ti.com>
Signed-off-by: Hao Zhang <hzhang@ti.com>
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>
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>
Merge pull request #102 in PROCESSOR-SDK/uart-lld from review_mpu_build_support_sivaraj to rtos-next
* commit '7093429b9cda2b38391e9e4b7caa447443c3a5eb':
Fixed UART MPU build
* commit '7093429b9cda2b38391e9e4b7caa447443c3a5eb':
Fixed UART MPU build
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
* commit '334ebcc0c3474c80a098adff52be7a20e1e5b44b':
PRSDK-4049: fix UART teardown issue
PRSDK-4049: fix UART teardown issue
PRSDK-4049: fix UART teardown issue
Fixed UART MPU build
Signed-off-by: Sivaraj R <sivaraj@ti.com>
Signed-off-by: Sivaraj R <sivaraj@ti.com>
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':
Initialize value being returned by uart_console_getc to zero prior to calling UART_readPolling to prevent unitializd variable being returned
Initialize value being returned by uart_console_getc to zero prior to calling UART_readPolling to prevent unitializd variable being returned
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>
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>
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>
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>
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>
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
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':
Documentation and version updates for procsdk 5.0 release
Documentation and version updates for procsdk 5.0 release
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
* commit 'c4e6ef42b80a2d8984e2f49e7c796b36a1fd2ac1':
uart: j7: fix package build error
uart: j7: fix package build error
Signed-off-by: Hao Zhang <hzhang@ti.com>
Signed-off-by: Hao Zhang <hzhang@ti.com>
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
* commit 'd9f83fd0fef1b525d10a06eb8fa9e7d4aab07656':
PDK-2493: Added J7 build support
PDK-2493: Added J7 build support
Signed-off-by: Sivaraj R <sivaraj@ti.com>
Signed-off-by: Sivaraj R <sivaraj@ti.com>
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
* commit '01d402bf3cb9bce896a1fdf9c1be5695c01e9e19':
PRSDK-4123
PRSDK-4123: Aligning am65xx test names to that of other SOCs