Re: [riot-devel] How to properly use cortexm_sleep

2019-05-28 Thread Oleg Artamonov
timers with 1 ms resolution and 1 week max period (https://github.com/unwireddevices/RIOT/tree/loralan-public/sys/rtctimers-millis; on STM32L, we use regular HW RTC with SSR register, on nRF52 — "software" RTC implemented on top of HW RTT unit). -- Sincerely yours,Oleg Artamonov+7 (9

Re: [riot-devel] How to properly use cortexm_sleep

2019-05-27 Thread Oleg Artamonov
Hi We do. On STM32L0, STM32L1, nRF52, etc. Checking for interrupt flags is absolutely useless here - 1) WFI checks for any relevant interrupt flags, 2) interrupt still can happen between check and WFI. -- Sincerely yours,Oleg Artamonov+7 (916) 631-34-90www.unwds.com   26.05.2019, 18:40, "

Re: [riot-devel] SAM Flash Read-While-Write

2019-01-25 Thread Oleg Artamonov
urs,Oleg Artamonov+7 (916) 631-34-90www.unwds.com   25.01.2019, 11:46, "Oleg Artamonov" :The only difference between RWWEE and regular flash is that they implemented separate NVM controller for the RWWEE, so you can access it without blocking the main flash (and without blocking prog

Re: [riot-devel] SAM Flash Read-While-Write

2019-01-25 Thread Oleg Artamonov
/resource/technical/document/application_note/group0/ab/6a/0f/b7/1a/84/40/c3/DM00230416/files/DM00230416.pdf/jcr:content/translations/en.DM00230416.pdf-- Sincerely yours,Oleg Artamonov+7 (916) 631-34-90www.unwds.com   25.01.2019, 11:21, "Dylan Laduranty" :Hello Federico, IIRC, this flash

Re: [riot-devel] size_t vs int usage

2018-06-27 Thread Oleg Artamonov
"and how come no one else is getting this error ?" Probably you are the first to build it with GCC 7.x :) It has stricter rules regarding variable types. -- Sincerely yours,Oleg Artamonov+7 (916) 631-34-90www.unwds.com   27.06.2018, 16:03, "Neil Jones" :I'm getting seve

Re: [riot-devel] AES crypto optimizations, speed and size

2018-01-02 Thread Oleg Artamonov
or less, 8-bit and 16-bit architectures) in-flash T-tables should be faster, but most such MCUs have a very limited amount of flash as well, so wasting 7 KB on T-tables is not an option anyway. --  Sincerely yours, Oleg Artamonov +7 (916) 631-34-90 www.unwds.com 02.01.2018, 19:27, "Ludwig Kn

Re: [riot-devel] AES crypto optimizations, speed and size

2018-01-02 Thread Oleg Artamonov
* oops, sorry, here is the plain text version, no HTML * Hello all, Recently we did some AES encoding/decoding optimizations and experiments, and here I want to share results. System: STM32L151CCU6 @ 32 MHz, arm-none-eabi-gcc 6.3.1, -O2 What we tried: * existing option: FULL_UNROLL to unroll

[riot-devel] AES crypto optimizations, speed and size

2018-01-02 Thread Oleg Artamonov
Hello all, Recently we did some AES encoding/decoding optimizations and experiments, and here I want to share results. System: STM32L151CCU6 @ 32 MHz, arm-none-eabi-gcc 6.3.1, -O2 What we tried:* existing option: FULL_UNROLL to unroll loops in aes.c* new option: AES_CALCULATE_TABLES to calculate

Re: [riot-devel] GNRC with sleepy nodes

2017-11-21 Thread Oleg Artamonov
not run from 32 kHz clock in stop or standby mode, as all TIMx timers need APB1 clocking. Switching xtimer to RTC clock will degrade its resolution. -- Sincerely yours,Oleg Artamonov+7 (916) 631-34-90www.unwds.com   21.11.2017, 19:27, "Daniel Evans" <photonthun...@gmail.com>:First, I s

Re: [riot-devel] Minimal MCU clock speed for using it as a border-router.

2017-06-13 Thread Oleg Artamonov
similar or lower hardware requirements, so a border router on STM32L4 should be fine. -- Oleg Artamonov +7 (916) 631-34-90 <http://www.unwireddevices.com/> Unwired Devices LLC From: devel [mailto:devel-boun...@riot-os.org] On Behalf Of Martine Lenders Sent: Monday, June 12, 2017 3

[riot-devel] periph_clk_en on STM32L with -Os optimization may result in Hard Fault

2017-02-20 Thread Oleg Artamonov
iph_clk_en(bus_t bus, uint32_t mask) +void __attribute__((optimize("O3"))) periph_clk_en(bus_t bus, uint32_t mask) fixes it. -- Oleg Artamonov +7 (916) 631-34-90 www.unwds.com ___ devel mailing list devel@riot-os.org https://lists

[riot-devel] LPM, ADC, RTC etc. on STM32L1

2017-01-04 Thread Oleg Artamonov
on it. -- Oleg Artamonov +7 (916) 631-34-90 www.unwds.com ___ devel mailing list devel@riot-os.org https://lists.riot-os.org/mailman/listinfo/devel

Re: [riot-devel] STM32l1xx Internal ADC Channels

2016-12-21 Thread Oleg Artamonov
it. -- Oleg Artamonov +7 (916) 631-34-90 www.unwds.com ___ devel mailing list devel@riot-os.org https://lists.riot-os.org/mailman/listinfo/devel