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.

MSP430FR6047: ERROR: The output frequency of the HSPLL is invalid

Part Number: MSP430FR6047
Other Parts Discussed in Thread: CC1310, , ENERGYTRACE, MSP-FET

What USS parameters help determine the HSPLL output frequency? Or which factors affect it.

I cannot share my code with you here - sorry for that. But maybe you can give some general advice about how to manage the HSPLL output frequency.

I have developed a, rather extensive, program on a CC1310 that communicates with the MSP via I2C including using the I2C_IRQ line.

When the parameters have been adjusted, the CC1310 receives the measurements from the MSP, basically mimicking what the USS Design Center GUI does - just automatically. So far so good. The first version of the program just poll's on the IRQ line with GPIO_read.

Next step, the one causing the issue, is implementing the POSIX semaphore instead of the GPIO_read, using sem_wait and sem_post. The actual setup of the semaphore seems to work as intended. A sem_wait halts the CC1310 program and wait for an interrupt on I2C_IRQ and a sem_post continues the program and it receives the I2C package(s) from the MSP. In the beginning I was able to run the program but it ran into some timing issues so the expected packages didn't match up.

But now the problem with the HSPLL has come along.

The problem is that when I try to set the parameters on the MSP now, it returns error 22 - The output frequency of the HSPLL is invalid. This is the exact same code that runs perfectly well with GPIO_read.

Im using:

CC1310, Code Composer Studio 9.3.0, SDK 3_20_00_23

Kind regards

Lasse

**Attention** This is a public forum