Dear Sirs and Madams,
We are considering HSSP for PSoC4.
Therefore, I refer to the information of KBA93541.
We have downloaded and referenced the "4 dollar programmer_001-93541.zip" attached to KBA.
So I have a question about this project.
I know it's probably a clerical error, but please check it.
I think it is correct that line 120 uses the ”UART_Rx_ClearRxBuffer()” API of the UART_Rx component,
However "UART_Rx_ClearRxBuffer()" on line 87 in the project's main.c, shouldn't this be "SCB_SpiUartClearRxBuffer()"?
Solved! Go to Solution.
PSoC 4 MCU
Thank you for your reply.
Have you confirmed for the project for "4 dollar programmer_001-93541.zip"?
In this project, UART(SCB) and UART(UDB) are placed on the schematic.
In main.c, these two components are used properly.
The description of UART (SCB) corresponds to the following:
Similarly, The description of UART (UDB) corresponds to the following:
My question points out that it is a mistake to describe the UDB API in the SCB description.
I have read your answer and confirmed the v1.10 data sheet.
component - PSoC4 SCB v1.10 Datasheet URL
Even in v1.10, UART_Rx_ClearRxBuffer () is not an API for SCB UART.
I think you don't need the buffer clear API as it will be overwritten on the next receive.
However, don't you think it makes no sense to write the API of UDB(UART_Rx_ClearRxBuffer ()) on line 87?
I think it is correct to write the API of SCB(SCB_SpiUartClearRxBuffer()).
Would you please check again?