Other Parts Discussed in Thread: HALCOGEN
Hello,
I have been trying to perform a simple SCI communication with SCI3 transmitting information to SCI4. I have the wire from SCI3TX (N2) to SCI4RX(A13) and the code is as simple as:
sciInit();
_enable_IRQ_interrupt_();
sciEnableNotification(sciREG3,SCI_TX_INT);
sciEnableNotification(sciREG4,SCI_RX_INT);
sciSend(sciREG3, 5, &tx[0]);
sciReceive(sciREG4, 5, &rx[0]);
printf("After receiving %d\n", rx[0]);
However, the rx array is empty after the sciReceive. The sciNotification function is also never called, I have tried to put the sciReceiver statement in there.
In Halcogen, I have enabled the SCI3/SCI4 drivers, also the corresponding pins, SCI3TX pin is set to output with the DIR checkbox and the interruptions are enabled. I attach the whole project.
What am I missing here?