Hello Shaul,
Thank you for the project. I have been able to reproduce the problem. The issue is caused by the AsynchroSerial component (inherited in the Term component) when two or more clock configurations are defined in the project (in the CPU component).
In this case the initialization code does not contain calling of the ReceiveBlock for the read buffer, i.e. there is not any buffer for receiving data and all characters are dropped in the inherited Serial_LDD component driver.
If you freeze the code of the Inhr1:AsynchroSerial component and add the following code (marked by bold) in the HWEnDi() function in the Inhr1.c program module the receiving of data will works.
static void HWEnDi(void)
{
if (EnMode) { /* Enable device? */
(void)ASerialLdd1_Enable(ASerialLdd1_DeviceDataPtr); /* Enable device */
(void)ASerialLdd1_ReceiveBlock(ASerialLdd1_DeviceDataPtr, &BufferRead, 1U); /* Receive one data byte */
} else {
(void)ASerialLdd1_Disable(ASerialLdd1_DeviceDataPtr); /* Disable device */
}
}
I will report this issue to the Processor Expert development team.
Best Regards,
Marek Neuzil