Other Parts Discussed in Thread: HALCOGEN
Tool/software: Code Composer Studio
Three questions about TMS570LS3137:
1、SCI receive interrupt is not timely sometimes.
Overrun-error interrupt is generated sometimes while using receive interrupt.
As the Technical Reference Manual says,SCI module doesn't have FIFO function.
So, how to avoid Overrun errors ?
2、CAN transmission interrupt is not continuous sometimes.
I use CAN transmission like this:
When the package data is ready in the buffer, i send a frame message to CAN message object.
Once a message is transmitted successfully, TxOK interrupt is generated.I send a message again in the interrupt function.
The package data is transmitted continuously until the data buffer is empty.
However, transmission chain breaks sometimes, as TxOK interrupt is not generated.
Automatic Retransmission and Auto-Bus-On are both enabled.
So, how to ensure that the data can be transmitted continuously and timely using interrupt mode.
3、GIO interrupt
GIO pins can be configured as edge interrupt in Normal operation, and as level interrupt in Low-power mode.
Question is, can GIO pins be configured as level interrupt in Normal operation ?