#4) I have this simple routine to send data via rs485 line (just purely sending data, no receive yet). I only have one main task (for debugging only).
void hal_rs485_SendBlock(LDD_TData *buff,u16 buffSz)
{
//PROCEXP_RS485_SendBlock();
bTransmitDone=89;
PROCEXP_GPIO_PORTC_SetFieldBits(PROCEXP_GPIO_PORTC_DeviceData,PIN_RS485,1);
RS485SENDBLOCK(RS485DEVDATA, buff, buffSz);
//PROCEXP_GPIO_PORTC_ClearFieldBits(PROCEXP_GPIO_PORTC_DeviceData,PIN_RS485,1); << PROBLEMATIC LINE
}
When I add the problematic line (generated by Processor Expert), my main task stops (go into Low Power Wait mode). When I uncomment it, everything is ok again. I can't actually fathom the problem. Maybe there is something I am missing here?
#5) Is there a way to start a new clean project for MQX + PE? I am looking for a document for this but the procedures I got is in FSL_MQX_in_CW_10_x.pdf wherein it reuses an existing project. We are planning to create projects with separate BSPs (because of different PE configurations).