Other Parts Discussed in Thread: HALCOGEN,
Hello,
I made my own board with a TMS570LS3137PGE on it. Everything works fine, but I have some problems using SCI2 as UART.
First of all, my code works very well with a 9600 baudrate. I can receive and send data correctly. However, in my final application, I absolutely need to have a baudrate of 38400. with such a baudrate I have many errors. The characters received are often false. Perhaps this is due to the adjustment with HalCoGen, which only allows a baudrate of 38462, not 38400? How can I fix this problem?
Secondly, there is something I don't understand. I am currently using interrupts to read the received data. If I don't put a "sciReceive()" in the main function (polling), then I never get into the interruption. Why this?
I attached my project in.zip so you could see what I did.
Thank you in advance for your help.