RCpwmgen
- Project_Hopeless
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 200
- Thank you received: 10
20 Jul 2024 01:19 #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 or Create an account to join the conversation.
- Project_Hopeless
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 200
- Thank you received: 10
21 Jul 2024 00:09 - 21 Jul 2024 00:16 #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.
Attachments:
Last edit: 21 Jul 2024 00:16 by Project_Hopeless.
Please Log in or Create an account to join the conversation.
- Project_Hopeless
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 200
- Thank you received: 10
21 Jul 2024 14:58 - 21 Jul 2024 15:00 #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.
Last edit: 21 Jul 2024 15:00 by Project_Hopeless.
Please Log in or Create an account to join the conversation.
21 Jul 2024 15:38 - 21 Jul 2024 15:50 #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
Last edit: 21 Jul 2024 15:50 by PCW.
Please Log in or Create an account to join the conversation.
- Project_Hopeless
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 200
- Thank you received: 10
21 Jul 2024 16:29 #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 or Create an account to join the conversation.
21 Jul 2024 16:34 - 21 Jul 2024 16:58 #305799
by PCW
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
In the mean time, this should work:
freeby.mesanet.com/software/parallel/7i96s.zip
Last edit: 21 Jul 2024 16:58 by PCW.
The following user(s) said Thank You: Project_Hopeless, my1987toyota
Please Log in or Create an account to join the conversation.
- my1987toyota
- Offline
- Platinum Member
Less
More
- Posts: 814
- Thank you received: 331
21 Jul 2024 20:15 #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 or Create an account to join the conversation.
21 Jul 2024 20:18 #305815
by PCW
The following user(s) said Thank You: my1987toyota
Please Log in or Create an account to join the conversation.
Time to create page: 0.093 seconds