Part Number:MSP430FR6989
Hello,
I want to output the clock MCLK on pin PJ.1 but it doesn't work. I use IAR with driverlib on MSP-EXP430FR6989.
In my code, I wrote :
// Set PJ.0, PJ.1 and PJ.2 as Primary Module Function Input, SMCLK, MCLK and ACLK.
GPIO_setAsPeripheralModuleFunctionInputPin(GPIO_PORT_PJ,GPIO_PIN0 + GPIO_PIN1 + GPIO_PIN2,GPIO_PRIMARY_MODULE_FUNCTION);
GPIO_setAsOutputPin(GPIO_PORT_PJ,GPIO_PIN0);
GPIO_setAsOutputPin(GPIO_PORT_PJ,GPIO_PIN1);
GPIO_setAsOutputPin(GPIO_PORT_PJ,GPIO_PIN2);
The device runs but I have nothing on these pins. Did I make a mistake ?
Thanks for your reply.