- Posts: 198
- Thank you received: 0
RCpwmgen
- Project_Hopeless
- Topic Author
- Offline
- Elite Member
-
Less
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?
Can anyone point me in the direction of a tutorial or example how to use rcpwmgen?
Please Log in to join the conversation.
- Project_Hopeless
- Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 198
- Thank you received: 0
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.
- Project_Hopeless
- Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 198
- Thank you received: 0
2 years 3 months ago #305789
by Project_Hopeless
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.
Replied by Project_Hopeless on topic RCpwmgen
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?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
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.
2 years 3 months ago #305790
by PCW
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
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.
- Project_Hopeless
- Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 198
- Thank you received: 0
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?
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.
- my1987toyota
- Offline
- Platinum Member
-
Less
More
- Posts: 1003
- Thank you received: 0
2 years 3 months ago #305814
by my1987toyota
Replied by my1987toyota on topic RCpwmgen
I was hoping it wasn't due to the crowd strike debacle.The store should be back online (had to update the DNS so make take a while to propagate)
Please Log in to join the conversation.
Time to create page: 0.059 seconds
