Hello,
I have an issue that I cannot resolve. I have configured the HAL to get an interrupt through the SCILIN interface.
The interrupt works well each time I press any key of the keyboard. However, "sciReceive(scilinREG, 1, (unsigned char *)&rxKey);" does not stores the key value in rxKey.
I attach some pictures of the configurations and sciNotification routine.
Thank you in advance.
Regards,
Leandro
/*********************************
* SCI interrupt service routine *
*********************************/
void sciNotification(sciBASE_t *sci, unsigned flags)
{
uint8_t rxKey = 1;
//bool done = false;
//sciSend(scilinREG, 26, (unsigned char *)"\r\nSystem > sciNotification");
sciReceive(scilinREG, 1, (unsigned char *)&rxKey);
//sciDisplayText(scilinREG, &rxKey,1);
sciDisplayData(scilinREG, &rxKey, 1);
//sciSend(scilinREG, 1, &rxKey);
//done = command_selector(&rxKey);
}




