Is there an example driver, that I should/could look at to add pins to the
zerocrossdriver?
What would be the steps involved if I wanted to add pins to an stm32f401re?
I am currently using the stm32_zerocross in the stm32/common/src folder.
but it looks like this lower half is hardcoded for 1 pin.
Ok,
I have the device setup. I can help test whenever needed.
David
On Wed, Apr 24, 2024 at 7:17 AM Alan C. Assis wrote:
> Hi David,
>
> I'm glad to help!
>
> More people could want this feature, so it is important to fix.
>
> Best Regards,
>
> Alan
>
> On
Thank you btw!
On Tue, Apr 23, 2024 at 9:22 PM David Welshon
wrote:
> I can help test. I'll have to get a device tomorrow from work first. I'll
> let you know when I have it setup.
>
> On Tue, Apr 23, 2024 at 8:09 PM Alan C. Assis wrote:
>
>> David,
>>
..
> make[1]: *** [Makefile:51: /home/alan/nuttxspace/apps/modbus_all] Error 2
> make: *** [tools/LibTargets.mk:232: /home/alan/nuttxspace/apps/libapps.a]
> Error 2
>
> I think those functions should be copied from the original project and
> added.
>
> I don't have a dev
ndif
>
> ifeq ($(CONFIG_MODBUS_MASTER),y)
> CSRCS += mb_m.c
> endif
>
> Please test with this modification and let us know.
>
> BR,
>
> Alan
>
> On Tue, Apr 23, 2024 at 6:24 PM David Welshon
> wrote:
>
> > HI Alan.
> >
> > The pr
ide apps/modbus/ you will see
> it just calls the ASCII related functions.
> The config for RTU will call the binary (RTU) related functions.
>
> Try to disable ASCII master and enable RTU master to confirm.
>
> BR,
>
> Alan
>
> On Tue, Apr 23, 2024 at 4:46 PM David Welsh
.
>
> Best Regards,
>
> Alan
>
> On Tue, Apr 23, 2024 at 2:23 PM David Welshon
> wrote:
>
> > Thanks for the help and great videos and articles Alan!
> > I just went through the video tutorial again. Unfortunately, modifying my
> > own config as well as
wrote:
> Hi David,
>
> These functions are there (see apps/modbus/mb.c for instance).
>
> Did you follow this video tutorial:
> https://www.youtube.com/watch?v=FmJLrG4Ldow
>
> Best Regards,
>
> Alan
>
> On Tue, Apr 23, 2024 at 12:41 PM David Welshon
> wrote:
>
I am trying to get modbus mastermode rs485 example working on nucleo-f4x1re
following the example on the youtube channel. I am getting undefined
reference errors during linking and am not sure if I need to modify source
or am missing a configuration option. The device I am interacting with is
set