PSOC6 PDL uart configure from PDL guide

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
conradc2380
Level 4
Level 4
25 replies posted 10 questions asked 25 sign-ins

Hi ,

 

I am working from the PDL guide to initialize the uart on the CM0P for a dual app solution.

https://infineon.github.io/psoc6pdl/pdl_api_reference_manual/html/group__group__scb__uart.html

The guide mentions txBuffer[0] = CMD_START_TRANSFER; but I can't find any reference to what the CMD_START_TRANSFER is, the guide also has no other explanation of this description . What is this?

Below is the configured setup, I compared it to the code the device configurator generates, and it seems to be correct. However, I am getting Null char being sent out. If a enable the interrupt the processor stops functioning, and I don't see why . 

Attached is the source file , I am just trying to send out one byte at a time and receive one byte at a time on interrupt

Could anyone please have a look and let me know what am i missing?

 

0 Likes
1 Reply
conradc2380
Level 4
Level 4
25 replies posted 10 questions asked 25 sign-ins

Hi

Resolved the character transfer issue ,

I would still like to know what the CMD_START_TRANSFER is referred to in the documentation. If anyone has some advise on this?

regards

C

0 Likes