[DEV] ADuCM36x support

This forum is dedicated to feedback, discussions about ongoing or future developments, ideas and suggestions regarding the ChibiOS projects are welcome. This forum is NOT for support.
User avatar
RoccoMarco
Posts: 632
Joined: Wed Apr 24, 2013 4:11 pm
Location: Salerno (Italy)
Has thanked: 76 times
Been thanked: 60 times
Contact:

[DEV] ADuCM36x support

Postby RoccoMarco » Thu Oct 17, 2019 7:50 am

Hey there,
I've started to port ChibiOS\RT on the Analog Devices ADICUP36x. This device is basically an 24-bit delta-sigma ADC + an ARM Cortex M3.

I started with the ADICUP360, a devkit equipped with a debug probe CMSIS-DAP. Unfortunately, there is no official support on OpenOCD for this device. Instead Analog prepared a forked OpenOCD supporting many ADI chips. Thus, I had to set up a custom ChibiStudio with two separate OpenOCD (ugly but it's all I have).

I've been able to:
  • port RT (startup files, ld, and CMSIS header)
  • develop the Clock initialization (hal_lld and mcuconf)
  • develop ST lld (supporting only the periodic mode at the moment)
  • develop PAL lld and board file (still missing external interrupt management and board file generators)
  • develop SERIAL lld
  • create a default demo which launches the test suite on button press

At the moment I am having some problems with the startup after a power cycle but I am definitely on it.

All the code is on the trunk now.
Ciao,
RM

User avatar
RoccoMarco
Posts: 632
Joined: Wed Apr 24, 2013 4:11 pm
Location: Salerno (Italy)
Has thanked: 76 times
Been thanked: 60 times
Contact:

Re: [DEV] ADuCM36x support

Postby RoccoMarco » Thu Oct 24, 2019 2:45 pm

Hi,
some progress in here. I've implemented an IRQ based SPI driver and I plan to add more support for this MCU in the future.

Anyway, I will start to support other ADI's MCUses in the meanwhile.
Ciao,
RM


Return to “Development and Feedback”

Who is online

Users browsing this forum: No registered users and 3 guests