<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>UART between NRF52 dev board and STM32F429ZI6 Discovery</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17479/uart-between-nrf52-dev-board-and-stm32f429zi6-discovery</link><description>Hello, 
 I am trying to make a basic uart communication between my nordic NRF52 dev board (PCA10040, s132) and my STM32f429ZIT6 discovery board. 
 NRF52 : I used the example from sdk 11.0.0 for the fifo uart
STM32 : I used the example from STM32Cube_FW_F4_V1</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 04 Nov 2016 16:01:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17479/uart-between-nrf52-dev-board-and-stm32f429zi6-discovery" /><item><title>RE: UART between NRF52 dev board and STM32F429ZI6 Discovery</title><link>https://devzone.nordicsemi.com/thread/67184?ContentTypeID=1</link><pubDate>Fri, 04 Nov 2016 16:01:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:010798e8-05ce-47a2-bdc6-a07b3cf41fbe</guid><dc:creator>StanB</dc:creator><description>&lt;p&gt;I find out what it is, I tried on different uart on the stm32 and it works ! I tried usart1 and uart4 and it was not working, I suppose that the associated pins were used elsewhere on the discovery board and that it was interfering with the communication. usart2 works fine&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART between NRF52 dev board and STM32F429ZI6 Discovery</title><link>https://devzone.nordicsemi.com/thread/67183?ContentTypeID=1</link><pubDate>Fri, 04 Nov 2016 13:34:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e2d9432-7ff3-4902-8d66-a486576c8ff8</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;The STM should not drive the RX pin. Otherwise it won&amp;#39;t be able to receive anything. You can test by connecting the TX pin of the 52 to smth else and see if it&amp;#39;s toggle.&lt;/p&gt;
&lt;p&gt;I haven&amp;#39;t used the STM32, but it should have similar architecture with the NRF5 that the TX and RX interrupt has the same interrupt handler but different interrupt flag. You can check the flag and see which event is arrived. Same level interrupt won&amp;#39;t preempt the other.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART between NRF52 dev board and STM32F429ZI6 Discovery</title><link>https://devzone.nordicsemi.com/thread/67182?ContentTypeID=1</link><pubDate>Thu, 03 Nov 2016 12:33:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8b1169c9-32df-4834-9225-11b7aef7db89</guid><dc:creator>StanB</dc:creator><description>&lt;p&gt;Hi HungBui,&lt;/p&gt;
&lt;p&gt;the tx and rx use the same interruption handler so I don&amp;#39;t think it can do a loopback, no ? I mean is it possible that the transmission interupt is interupt by the same interupt routine but for the reception ? The exemple for the STM is made for two boards.
I test the STM uart connection only with my computer through usb and it worked perfectly fine so that lead me to think that the problem is on the pin configuration.
I don&amp;#39;t have an analyzer yet (I will order one) but I tried to set the nRF52 tx pin to low after the communication to see with a voltmetre if it&amp;#39;s what happen but the state is high. It seems that the rx pin on the STM side force its state to high and the nRF is not able to change it... I don&amp;#39;t know if what I am saying is clear&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART between NRF52 dev board and STM32F429ZI6 Discovery</title><link>https://devzone.nordicsemi.com/thread/67181?ContentTypeID=1</link><pubDate>Thu, 03 Nov 2016 11:26:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1d71378-6be6-4b74-8a17-00ce62df0a8a</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi StanB,&lt;/p&gt;
&lt;p&gt;Have you tried to do loopback test with the STM ? Just to check if the configuration was correct and you can receive RX interrupt ?&lt;/p&gt;
&lt;p&gt;Have you tried to hook up a logic analyzer and check if the nRF52 sending something back to your STM ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>