I would like to change or enable/disable the command terminator at runtime. Is this possible?
This would be for the RX UART
What do you mean by "command terminator" ?
...and for the PSoC1, I presume
The command terminator is an EQU in the file UART_1.INC, so it cannot be changed at runtime.
In global properties for the RX8 is a flag for enable of the command buffer.
I would think, but cannot find in TRM, that a register write would handle this.
If no one else comments post a CASE to get answer -
/* Style Definitions */
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-fareast-font-family:"Times New Roman";
mso-bidi-font-family:"Times New Roman";
To create a technical case at Cypress -
“Create a Case”
You have to be registered on Cypress web site first.
Dana, Maybe the use of the buffer is controlled by the interrupt enable?
Thats a question to ask in the CASE filing.
If you would not mind post back to forum what you find out.
Dana, What is TRM? Thanks for suggesting to open a case. I'll do that tomorrow.
Bob, PSC stands for Power System Control... I work for a power company.
TRM = Technical Reference Manual
Here are the links to PSoC1 related
Probably I didn't state it quite clearly, I went through the sources and found out:
In the interrupt handler when a byte is received it is compared to the command terminator
The command terminator is an assembly EQU (equate) so it caqnnot be changed (except by modifying code in flash)
Easiest way out: Wirte your own interrupt handler and disable the original one. This may sound more complicated than it is. In PSoC1 there are some hints to obey to get a handler to work, but if you'd like to go this way we are going to get you through.
In PSOC Designer if you go to "Help", "Documentation", there are Architecture TRMs
there. Note there is also a Register TRM for each family, that you have to get at cypress.com
This covers all the registers used to configure PSOC.