RCpwmgen

More
2 years 3 months ago #305676 by Project_Hopeless
RCpwmgen was created by Project_Hopeless
I tried following the RCServoTest tutorial that uses pwmgen, and I'm not having any luck.  More searching and I'm thinking I should be using rcpwmgen? 

Can anyone point me in the direction of a tutorial or example how to use rcpwmgen?

Please Log in to join the conversation.

More
2 years 3 months ago #305679 by PCW
Replied by PCW on topic RCpwmgen
There's this:


 

Please Log in to join the conversation.

More
2 years 3 months ago #305737 by Project_Hopeless
Replied by Project_Hopeless on topic RCpwmgen
 I reverted back to using PWMgen vs RCpwmgem, I just found more examples to reference.In my rservo_2.hal I commented the last line out as it kept posting an error.I'm close but I think I missing HAL pin assignments in the Main.HAL for the BOB PWM channel.  Or is it more than that?As always any guidance is appreciated. 

Attachment not found

Attachment not found

Attachment not found

Attachment not found

Please Log in to join the conversation.

More
2 years 3 months ago #305738 by PCW
Replied by PCW on topic RCpwmgen
The rcpwmgen should be much easier to setup
as it does not require adding external components
to set the offset. It addition it has higher resolution
 

Please Log in to join the conversation.

More
2 years 3 months ago #305789 by Project_Hopeless
Replied by Project_Hopeless on topic RCpwmgen

The rcpwmgen should be much easier to setup
as it does not require adding external components
to set the offset. It addition it has higher resolution
 
My 7i96s I/O map reports one pwm function and pin function.  In some examples I came across, I saw mapping with a rcpwm function associated with a pwm pin function.  Are the they one and the same?

Is there a rcpwm component to load...  loadrt rcpwmgen output_type=0  and/or do I just call it a rcpwm pin... setp rcpwmgen.0

One side note, MesaCT reports one pwm on my card but the HAL config shows two. Just curious why this is.

Please Log in to join the conversation.

More
2 years 3 months ago #305790 by PCW
Replied by PCW on topic RCpwmgen
There is no loadrt line for firmware modules.

loadrt is use to load software components (like the software pwmgen)

If the specific firmware contains a pwmgen or rcpwmgen, that module
is available without any loadrt or addf. 

To use the rcpwm, you would need firmware that includes the rcpwm
module, for example, 7i96s_5abobrcd.bin has 4 RCPWMgens on the 7I96S's
P1 connector.

The MesaCT inconsistency is probably because the on card PWMgen
on the 7I96S is "hidden" by being assigned as a "local" function.
This was done to maintain GPIO compatibility with the 7I96.

You can show local I/O pins with mesaflash's --printlio command


 

Please Log in to join the conversation.

More
2 years 3 months ago #305797 by Project_Hopeless
Replied by Project_Hopeless on topic RCpwmgen
Under MesaCT I don't see that particular firmware as an option, and none have rcpwm.

When I go to the Mesa site to download that firmware it comes up "account suspend"!

Is there another location to grab firmware files?

Please Log in to join the conversation.

More
2 years 3 months ago #305799 by PCW
Replied by PCW on topic RCpwmgen
The store should be back online (had to update the DNS so make take a while to propagate)

In the mean time, this should work:

freeby.mesanet.com/software/parallel/7i96s.zip
 

Please Log in to join the conversation.

More
2 years 3 months ago #305814 by my1987toyota
Replied by my1987toyota on topic RCpwmgen

The store should be back online (had to update the DNS so make take a while to propagate)


 
I was hoping it wasn't due to the crowd strike debacle.

Please Log in to join the conversation.

More
2 years 3 months ago #305815 by PCW
Replied by PCW on topic RCpwmgen
Nah, it was my late and careless editing of our DNS records
after our hosting provider moved servers around...

Please Log in to join the conversation.

Time to create page: 0.059 seconds
Powered by Kunena Forum