07-15-2022 09:24 PM
I am using the latest C Development tools for the myRIO 1900 with the default FPGA personality. I'm able to write a basic PWM-generating script based on the myRIO PWM example, and it works for Connector A. However, it does throw the following errors
```
ERROR: -52010
Could not read from the PWM configure registers!ERROR: -52010
Could not write to the PWM clock select register!ERROR: -52010
Could not write to the PWM maximum register!ERROR: -52010
Could not write to the PWM maximum register!ERROR: -52010
Could not read from the register for the PWM!ERROR: -52010
```
Despite the errors, it does produce the proper PWM signal on Connector A. However, if I change to Connector C (changing the register and configuration struct), I get the same errors but no PWM output. I have attached my Eclipse project, archived. The program's pretty short. I did write an auxiliary `pwm_set` function that seems to work fine (I checked without the function and got the same result).
Thanks for any help!
07-29-2022 01:30 AM
I would still appreciate any input on this issue!