Hello,
I am trying to send data on both SCI and SCI2 on this device. The data I send on the SCI2 is being sent correctly, while on SCI nothing is apparently sent (or I am not receiving anything on minicom).
The purpose is to use SCI2 to send data and SCI for debug purposes. I set the Halcogen as follows:
I also activate SCI in the PINMUX and no conflicts are found.
I activate the TX INT in SCI Global
Not sure what to do on the VIM channel configuration, could you please provide help on this?
On SW side I use a function send data defined as follows:
void sendData(sciBASE_t *sci, uint8 *text,uint32 length)
{
while(length--)
{
while ((sci->FLR & 0x4) == 4); /* wait until busy */
sciSendByte(sci,*text++); /* send out text */
}
}
and I pass sciREG or scilinREG accordingly
I also connect through minicom in order to check if the ouptut is ok. The checked port is ttyACM0 or ttyACM1. Non sure which one to use it.
I guess ttyACM1 should be the correct one.
Could you please provide any help in how to use two uarts?
Thank you in advance,
Regards,
Gabriele