AnsweredAssumed Answered

BF537 - uart emulated on sport

Question asked by emanuele.cardani on Feb 12, 2015
Latest reply on Mar 11, 2015 by jobo23

I'm using a emulated uart on SPORT1. Every thing used to work fine until I added the following line:

 

*pPORTGIO &= ~PG10;

  ssync();

  *pPORTG_FER &= ~PG10;

  ssync();

  *pPORTGIO_DIR |= PG10;

  ssync();

 

Basically I tried to use the PG10 as GPIO. PG10 happens to be multiplexed with RSCLK1 (receive clock sport).

Since the SPORT1 is using internal generated clock I thought it would not be an issue to free PIN from the peripheral.

 

Can you please tell if there is anyway I can preserve the SPORT rx functionality and use the PG10 as GPIO?

Does the RSCLK1 pin must be really enabled even if the clock is internally generated?

 

Regards,

Emanuele

Outcomes