I use the board based on C167CR-LM the processor and I want that the data array was transferred to the serial interface. Whether somebody where it is possible to look an example of execution PEC transmission between the buffer of the IRAM and register S0TBUF knows? Thanks
Take a look in the C166 Getting Started book in Chapter 9. There is such an example there. Jon
I try that the data arrary was transferred the serial interface(ASC0_TBUF) via PEC, but it's not worked. the code runs under XC164CM(C166). Whether somebody knows how to resolve it? ************************************** ubyte ubTxBuf[] = "ABC\n"; .... //increment source pointer //transfer a byte //decrement counter from 4 PECC4 = 0x5504; SRCP4 = _sof_(&ubTxBuf); DSTP4 = _sof_(&ASC0_TBUF); ***************************************