we are struggeling to add a UART driver to our project. here are some basic information:
- the project is based on the PRU-ICSS-Profinet_Slave_01.00.03.04 sample application on the AM335x ICE Board V2.
- we want to use the UART which is connected to the DB9 connector (the same which is used for PROFIBUS slave in other projects)
- we don't want to change the standard IO Uart from 0 to 1, because we don't need printf on the RS485, we want to implement a different protocol.
- I have searched for the UART samples, but they all are showing how to use the standard I/O driver.
is there any documentation or sample code how to add an UART to the application ? it seems that the UARTs are already added in the config file, but it seems that the project
was not based on Starterware (there is no Board_Init function in main), so the standard sample code is not working.
the UART should use the DMA because the frames can be longer. but a first hint how to start would be great.
Thank's in advance,