You are here

uart full duplex mode | Cypress Semiconductor

uart full duplex mode

Summary: 2 Replies, Latest post by danaaknight on 23 Aug 2015 03:29 AM PDT
Verified Answers: 0
Last post
Log in to post new comments.
user_396878425's picture
23 posts

i am working on application which requires psocs to be connected in daisy chain. meaning if some command comes to psoc no 1 from uart , it checks it if its for it it is stored in array otherwise it sends it to next psoc via uart trans. do i need to use isr? or should i simply write in main.c?

can anyone suggest how should be the code structure?



user_342122993's picture
530 posts


you don't need to daisy chain PSoCs for that. Send your external UART command with ID to all PSoCs simultaneously by connecting all PSoCs UART Rx to same bus line, and let each PSoC to identify if this correct id or not. This way you need to implement only one same standard Rx protocol on each PSoC.


user_14586677's picture
7646 posts

If you need to daisy chain because of wiring considerations that does not

really change solution approach. ISR would be preferred due to latency

considerations, but polling also an acceptable method depending on what

other CPU activity is required.


Of course daisy chain approach does not lend itself to a robust network

approach, given that one node goes down it takes out all nodes downstream.


If distances not too great a wireless net might be more appropriate, star, mesh....


Regards, Dana.

Log in to post new comments.