Hi,
I am using 21835-SOM board.I found that the serial port cannot communicate properly.
Please help me check the code.
Regards,UARTDMAMode.rar
Bingo
ADSP-21835
Recommended for New Designs
The ADSP-2183x/ADSP-SC83x digital signal processors (DSPs)
are members of the SHARC®-FX family of products. The
SHARC-FX core uses a single-instruction...
Datasheet
ADSP-21835 on Analog.com
Hi,
I am using 21835-SOM board.I found that the serial port cannot communicate properly.
Please help me check the code.
Regards,UARTDMAMode.rar
Bingo
Hi Bingo,
Could you please provide more information about the exact issue you are facing, so we can assist you more effectively?
Additionally, please confirm whether the example provided in the ADSP-SC8xx BSP is working as expected.
Regards,
Nandini C
Hi,
My code only uses uart0 and connected to PC via USBC,have the processor return the received data.But the processor did not return any data.
I only have adsp21835w-ev-som board,so I can not verify UART project in ADSP-SC8xx BSP.
Regards,
Bingo
Hi Bingo,
As per the ADSP-21835 SOM schematic, the P1 connector is used for USB power.
https://www.analog.com/media/en/technical-documentation/eval-board-schematic/adsp21835w-ev-som-schem.pdf
Could you please let us know the revision of your ADSP-21835 SOM board. Also, could you please confirm whether you have access to the below "EV-SOMCRR-EZKIT" and "EV-SOMCRR-BRKOUT" boards.
EV-SOMCRR-EZKIT: https://www.analog.com/en/resources/evaluation-hardware-and-software/evaluation-boards-kits/ev-somcrr-ezkit.html
EV-SOMCRR-BRKOUT: https://www.analog.com/en/resources/evaluation-hardware-and-software/evaluation-boards-kits/ev-somcrr-brkout.html
If you have the above boards, can you please check the UART test available in the POST example. As mentioned in the Readme file, connect the UART cable between PC and FTDI USB-UART connector. Please follow the "Readme_Power_On_Self_Test_21835.html" available in the BSP package. Please download and install the ADSP-SC83x/ADSP-2183x BSP from the below link.
https://www.analog.com/en/design-center/evaluation-hardware-and-software/software/software-download.html?swpart=SD_FCD4ML2
After installation, the POST example can be available in the below path.
[Installation directory]:\Analog Devices\EV-SC8xx_EZ-KIT-Rel1.0.0\EV-SC8xx_EZ-KIT\Examples\Power_On_Self_Test
Regards,
Nandini C
Hi,
I do not have EV-SOMCRR-EZKIT and EV-SOMCRR-BRKOUT.Revision of my ADSP-21835 SOM board:REV B Z.core read/write mode can transmit and receive data normally,but DMA mode can not.It can be confirmed that the hardware is functioning normally.I suspect it's a driver issue.
Regards,
Bingo
Hi Bingo,
We have tested the UART DMA example available in the BSP and it works as expected.
Could you confirm whether you are able to run the core read/write example without using the EV-SOMCRR-EZKIT and EV-SOMCRR-BRKOUT boards? Also, please let us know which core read/write example you are testing, along with the steps and the hardware connections you followed.
Regards,
Nandini C
Hi,
Here is my code,please try it.The picture is my hardware connection.There are 2 mode in the code:core read and DMA read.while in core read mode,DSP can echo back to computer what have received,but DMA read mode can not.
Regards,
Bingo
Hi Bingo,
Please provide more information on below points to assist you better on this.
1) Please provide the steps you have followed to test the example.
2) Can you share the screenshot of the output that is echoed back to the computer.
3) Can you share the screenshots of the register browser window showing the UART control and status register configuration for both core mode and DMA mode.
4) Please let us know which UART terminal(eg. Termite, Putty, Teraterm) you are using, along with its configuration.
Regards,
Nandini C
Hi,
Could you please tye my code,You can use any UART terminal.
regards,
Bingo
Hi,
Test steps:
1.run the example code first
2.send 8 bytes by UART terminal
UART terminal config:
baudrate:57600
stop bit:1
data bit:8
parity:none
I can not find UART registers:

Core mode screenshot of UART terminal:

DMA mode screenshot of UART terminal:

Regards,
Bingo