Hello everybody,

I would like to share some info about SAME70
work in progress and material to share.

Due to the chip crisis Elektroline has switched
in a hurry to SAME7x by start of this year
and we provide some consultations and help
with NuttX in general and for this target
as well.

The most of the NuttX changes are available
in their public repo

  https://gitlab.com/elektroline-predator/nuttx

As for the SAME, there has been need to update
CAN controller support, because revision B
switched to newer version of BOSCH M-CAN IP
core. There are some patches on the next and related
branches

  https://gitlab.com/elektroline-predator/nuttx/-/commits/same70_revb

Milos Pokorny from Elektroline updated CAN header
files and driver

  
https://gitlab.com/elektroline-predator/nuttx/-/commit/1306a0e739cc8a97e4b3c28e7fa35731343830e5
  
https://gitlab.com/elektroline-predator/nuttx/-/commit/5aec4cedb641ebe504dabf08e3bd48a83486454d

it would be perfect to get this to mainline, but changes
break compatability with A revision and we are not sure,
if there are some project which require it.
When I or somebody else finds time and we get some
feedback what is preferred solution (dynamic switch
according to the found M-CAN revision, Kconfig option...)
then we try to push that into mainline.

Jaroslav Beran from Elektroline bushed changes making
character /dev/can interface usable for CAN FD into
mainline already.

There is header file for SAME70 AFE prepared by Milos Pokorny

  
https://gitlab.com/elektroline-predator/nuttx/-/commit/3fa4e624a28c9a6836895119e7dd41afec7eae88
  
https://gitlab.com/elektroline-predator/nuttx/-/commit/617015e84910a95ed2faf9b198b34059e6a947d7

Due to the lack of time during raid switch to available
chip and minimal requirement, the proper ADC driver has not
been implemented. But I have that task on my queue from Elektroline
and thanks to generic ADC enhancements from Michal Lenc GSoC,
I think that it would be good match with prepared Elektroline
application. If there is interrest I can try to ask colleagues
and extract some working "user space" examles how to manipulate
with AFE in the polling mode. 

I would be happy if I get information on SAME70 work
and if we can coordinate effort to lower duplication
and find as good as possible solutions.

My another task is to implent bootloader which allows
updates of the application remotely over CAN bus.
I have provided that for STM32L476RE with sysless project
based on CUBE which can load sysless and NuttX applications.

In the case of SAME70, I would like to avoid to learn
and fight with producer provided sysless support
and use minimal NuttX as the bootloader to chain
boot into full NuttX system with application which
can be rebootted back into loader and allows remote
updates. I expect that all my work will be public,
but it is possible that some safety and specific
board tweaks stay in private repo. Elektroline system
HW design with another safety microcontroller,
where SAME70 ad NuttX is only non-critical
communication bridge for diagnostics and monitoring,
applications for both etc... are not intended
for public... But all my generic NuttX work is.

Yours sincerely
                Pavel Pisa

==================================================
 PiKRON s.r.o.       Phone/Fax: +420 284684676
 Kankovskeho 1235    Phone:     +420 234697622
 182 00 Praha 8      WWW:   http://www.pikron.com/
 Czech Republic      e-mail:  pik...@pikron.com
==================================================


On Tuesday 03 of August 2021 21:20:28 Alan Carvalho de Assis wrote:
> > Alan Carvalho de Assis <acas...@gmail.com> schrieb am Di., 3. Aug. 2021,
> >
> > 17:27:
> >> Hi Simon,
> >>
> >> I didn't look the SAME70 datasheet/reference manual, but probably the
> >> ADC is similar to SAMA5, normally the manufacturer reuse their IP
> >> around many chips families.
> >>
> >> Please use the arch/arm/src/sama5/sam_adc.c as reference to implement
> >> the same70 ADC driver.
> >>
> >> BR,
> >>
> >> Alan
> >>
> >> On 8/3/21, Simon Filgis <si...@ingenieurbuero-filgis.de> wrote:
> >> > Dear all,
> >> >
> >> > has anybody implemented adc for same70? That would be nice!
> >> >
> >> > Regards,
> >> >
> >> > Simon


Reply via email to