Re: stm32f7 CAN driver

2020-07-22 Thread Disruptive Solutions
Oleg do you mean the SPI version (mcp) or native with a say tja1050? The
SPI version I use on different platforms. The stm32f7 I have to try
though...

Ben

Op di 21 jul. 2020 23:06 schreef Oleg Evseev :

> Hi all,
>
> Did anybody use the NuttX CAN driver with stm32f7 mcu? Does it work ok?
>
> ---
> With regards, Oleg.
>


Re: stm32f7 CAN driver

2020-07-22 Thread Oleg Evseev
Hi Ben,

Yes, I mean native internal stm32f7 CAN controller RX, TX connected to CAN
phy chip (SN65HVD230 in our case).
We have no problems with stm32f4, but can't get it working with stm32f7 yet
- mcu sends something to TX, but CAN analyzers do not see any messages on
CAN bus.

ср, 22 июл. 2020 г. в 10:54, Disruptive Solutions <
disruptivesolution...@gmail.com>:

> Oleg do you mean the SPI version (mcp) or native with a say tja1050? The
> SPI version I use on different platforms. The stm32f7 I have to try
> though...
>
> Ben
>
> Op di 21 jul. 2020 23:06 schreef Oleg Evseev :
>
> > Hi all,
> >
> > Did anybody use the NuttX CAN driver with stm32f7 mcu? Does it work ok?
> >
> > ---
> > With regards, Oleg.
> >
>


Re: Markdown READMEs?

2020-07-22 Thread Maciej Wójcik
This PR changes all READMEs in `apps` repository into Markdown

https://github.com/apache/incubator-nuttx-apps/pull/337

More in the description.

Am Di., 21. Juli 2020 um 20:37 Uhr schrieb Adam Feuer :

> Matias,
>
> Yes, I have the NuttX.html file partially converted. I'll see if I can get
> that a little close today and submit a PR to your branch.
>
> -adam
>
> On Tue, Jul 21, 2020 at 11:23 AM Matias N.  wrote:
>
> > Ok, got it sooner than expected. The docs are published to:
> > https://v01d.github.io/incubator-nuttx/ <
> > https://v01d.github.io/incubator-nuttx/docs/index.html>
> > Right now as we're working on a "docs" branch in this fork, you can see
> it
> > generated here:
> > https://v01d.github.io/incubator-nuttx/docs/index.html
> > On pull-requests it only does the build and not the publish (not tested
> > this yet). Would be cool to have PRs viewable somewhere but that is more
> > complex.
> >
> > Now we could work a bit on the content. I would iterate on a proposed
> > structure and put some placeholders.
> > Adam, you mentioned you wanted to convert on HTML file for demonstration
> > purposes. Do you want to do that?
> >
> > Best,
> > Matias
> >
> > On Tue, Jul 21, 2020, at 15:11, Matias N. wrote:
> > > Hi,
> > > yes, we have CI building sphinx already. I'm now trying to get this be
> > published via GitHub pages using a subdirectory per version (version
> would
> > be "master" or the tip of each release or the tag name). Anyways, this is
> > not how it would work exactly in the end since the website repo would
> take
> > care of this. But probably some components of the CI system would be
> > similar. Also, this allows to have something to show when by put a bit of
> > content there for demonstration purposes.
> > >
> > > Will let you know when I get something to show.
> > >
> > > Best,
> > > Matias
> > >
> > > On Tue, Jul 21, 2020, at 15:02, Adam Feuer wrote:
> > >> Brennan,
> > >>
> > >> Cool, that's awesome. I didn't know that discussion was going on in
> the
> > PR.
> > >> :)
> > >>
> > >> -adam
> > >>
> > >> On Tue, Jul 21, 2020 at 10:55 AM Brennan Ashton <
> > bash...@brennanashton.com>
> > >> wrote:
> > >>
> > >> > On Tue, Jul 21, 2020, 10:51 AM Adam Feuer  wrote:
> > >> >
> > >> > > Matias, Maciej,
> > >> > >
> > >> > > Ok, I looked into doing a Sphinx build of RST and Markdown via
> > Github and
> > >> > > publishing to Github pages automatically. People have done it, but
> > it's a
> > >> > > bit more complicated than I thought. I'll see if I can get it
> > worked out
> > >> > in
> > >> > > my repo first and then we can go from there. It will take me a few
> > days
> > >> > > because I have other stuff going on too.
> > >> > >
> > >> > > -adam
> > >> > >
> > >> >
> > >> > Hey Adam yesterday I submitted the PR for doing the build via GitHub
> > >> > Actions and it generates the artifacts.  I would not worry too much
> > about
> > >> > GitHub pages since we need to get it attached to the Apache system.
> > >> >
> > >> > You can see some of the discussion here
> > >> >
> https://github.com/v01d/incubator-nuttx/pull/1#issuecomment-661952429
> > >> >
> > >> > --Brennan
> > >> >
> > >>
> > >>
> > >> --
> > >> Adam Feuer 
> > >>
> > >
> >
>
>
> --
> Adam Feuer 
>


Re: stm32f7 CAN driver

2020-07-22 Thread Oleg Evseev
Found out that our issues were caused just by bad timings. Default ones
fitted stm32f4 168 MHz, but were not good for stm32f7 216 MHz.

For some reason I wrongly thought that NuttX CAN driver calculate best
Phase_Seg1 and Phase_Seg2 itself, like for example it is done in libuavcan
https://github.com/PX4/libuavcan/blob/52e7ce09907bcec8a0b93e7a15d5fbd121c686dc/libuavcan_drivers/stm32/driver/src/uc_stm32_can.cpp#L195

ср, 22 июл. 2020 г. в 11:29, Oleg Evseev :

> Hi Ben,
>
> Yes, I mean native internal stm32f7 CAN controller RX, TX connected to CAN
> phy chip (SN65HVD230 in our case).
> We have no problems with stm32f4, but can't get it working with stm32f7
> yet - mcu sends something to TX, but CAN analyzers do not see any messages
> on CAN bus.
>
> ср, 22 июл. 2020 г. в 10:54, Disruptive Solutions <
> disruptivesolution...@gmail.com>:
>
>> Oleg do you mean the SPI version (mcp) or native with a say tja1050? The
>> SPI version I use on different platforms. The stm32f7 I have to try
>> though...
>>
>> Ben
>>
>> Op di 21 jul. 2020 23:06 schreef Oleg Evseev :
>>
>> > Hi all,
>> >
>> > Did anybody use the NuttX CAN driver with stm32f7 mcu? Does it work ok?
>> >
>> > ---
>> > With regards, Oleg.
>> >
>>
>