Multiple zerocross pins

2024-04-30 Thread David Welshon
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

Re: nuttx user question

2024-04-30 Thread David Welshon
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 Tuesd

Re: nuttx user question

2024-04-23 Thread David Welshon
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, >> >>

Re: nuttx user question

2024-04-23 Thread David Welshon
libapps.a] > Error 2 > > I think those functions should be copied from the original project and > added. > > I don't have a device with Modbus ASCII to test, but if you want to help > testing I can implement it. > > Best Regards, > > Alan > > On Tue, Apr 23, 20

Re: nuttx user question

2024-04-23 Thread David Welshon
BUS_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 problem is my hardware is using the A

Re: nuttx user question

2024-04-23 Thread David Welshon
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

Re: nuttx user question

2024-04-23 Thread David Welshon
VE. > > 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 the

Re: nuttx user question

2024-04-23 Thread David Welshon
: > 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: > >

nuttx user question

2024-04-23 Thread David Welshon
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