Re: nuttx user question

2024-04-30 Thread Alan C. Assis
Hi David, I think we can start creating the missing functions, like eMBMasterASCIIStart(), I think we could use eMBMasterRTUStart() as reference. Probably we will need to modify some timing values, since ASCII delays more time to transmit data. Best Regards, Alan On Tue, Apr 30, 2024 at

Re: Multiple zerocross pins

2024-04-30 Thread Alan C. Assis
Hi David, The pin is defined as BOARD_ZEROCROSS_GPIO, please look at nuttx/boards/arm/stm32/stm32f103-minimum/include/board.h nuttx/boards/arm/stm32/stm32f4discovery/include/board.h The board initialization code is here: nuttx/boards/arm/stm32/common/src/stm32_zerocross.c And the example is

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 Tuesday, April 23, 2024, David Welshon