This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

bluetopia SPPDemo: change BTslowCLK from ACLK to SMCLK - help!

Other Parts Discussed in Thread: MSP430F5438A

Hi,

i am currently building a simple pcb with MSP430F5438A+PAN1326 and using the bluetopia SPPDemo with little adoptions.

on my eval-board it works fine, but now i found out, that on the PCB i made a mistake and connected the SMCLK (P4.7) instead of ACLK (11.0) to the Bluetooth-Slow-CLK-Line.

i think it should be possible to change this in code, so i can save the money for new pcb´s!?

i already changed the port+pin in the HRDWCFG.h, but this was not enough?! not working so far, because i measure 8Mhz on the Pin..

i am using the internal dco , and added also:
UCSCTL4 |= SELS_2;
now i can measure the 32khz on the smclk-pin, but the init-stack still fails (-4).

i suppose SMCLK is used anywhere else, but i cannot find where?!
before i destroy more than i repair i wanted to ask here for help!

thanks.