Quantcast
Channel: Forum - Recent Threads
Viewing all articles
Browse latest Browse all 5781

RE: UART for PE_HMI1

$
0
0

Thank you GiPa for your response.

So, after changing the configuration of PB6, this is how mi application remains:

   ReturnVal = g_sf_comms0.p_api->open(g_sf_comms0.p_ctrl, g_sf_comms0.p_cfg);

   g_ioport.p_api->pinWrite(IOPORT_PORT_11_PIN_06, IOPORT_LEVEL_HIGH);

   /* TODO: add your own code here */

   while (1)

   {

       tx_thread_sleep (1);

       ReturnVal = g_sf_comms0.p_api->write(g_sf_comms0.p_ctrl, Message, sizeof(Message), TX_WAIT_FOREVER);

   }

But I still don't manage to see anything in the terminal. I've tried setting high the level of IOPORT_PORT_05_PIN_08 too (looking at the schematics it seems that this signal activates the module), but I don't manage to read anything in the terminal.

Regards,

Itxaso.


Viewing all articles
Browse latest Browse all 5781

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>