Priyanka: Well, that is an interesting question. That is a very constrained platform so not sure if everything would fit. I do not see any reason why the Mynewt OS could not be ported to the Atmega MCU (they are great MCUs; have used them before).
The amount of flash on the device is certainly enough for the host; the main issue would be RAM usage. I suspect you would be able to port the host but you might have to leave out some features. I certainly think it would be a worthwhile exercise, not only for the community but for your own edification. PS The SPI HCI interface is non-standard so I would not suggest using that one. > On Feb 7, 2018, at 5:38 AM, Priyanka Rajendran > <priyankavelrajend...@gmail.com> wrote: > > Hello , > > I am a student and I am new to BLE. I would like to know if the Mynewt OS > and nimBLE host stack (protocol stack part only) can be ported to Atmega > microcontroller with 256 kb flash and 32kb RAM.It is a 8-bit mcu and > advanced RISC architecture Can I modify the host stack to access any > controller of a BLE module.Ealier the HCI was in UART now,in the github I > found there is also SPI for HCI. Could the porting be achieved? > > Thanks in advance