Bluetooth support adafruit feather sense
Dimitrios Kosyvas <kosyvas14828@...>
Hello I am trying to communicate via Bluetooth using the adafruit feather sense board but i only manage to connect with the device and i am not able to send or receive any data with the nrfconnect application . Could you give me some advice or if there is an working example i would appreciate it Dimitris Kosyvas
|
|
Re: LTS schedule and scope meeting on Tuesday, 23rd February
Carles Cufi
Hi all,
toggle quoted messageShow quoted text
This meeting will be continued today. When: Tuesday, 2nd March, 17:00 UTC (18:00 CET, 12PM EST, 11AM CST, 9AM PST) Where: https://teams.microsoft.com/l/meetup-join/19%3ameeting_NWU2MjZlYWEtZDcwMi00MWQzLTgwMjEtNDdkYjQwMjBjMmFj%40thread.v2/0?context=%7b%22Tid%22%3a%22af0096d9-700c-411a-b795-b3dd7122bad2%22%2c%22Oid%22%3a%22841a7c92-7816-4faf-9887-5e334e88f6d8%22%7d Carles
-----Original Message-----
|
|
Network forum agenda
Jukka Rissanen
Hi all,
There is a network forum meeting tomorrow Tue 2 Mar at 8AM PST / 17.00 CET. Currently the agenda has one item: * WiFi management supporting both offloaded and native driver If there are any other network related topics you want to discuss, please let me know. Live Agenda/Minutes: https://docs.google.com/document/d/1qFsOpvbyLzhflJbbv4Vl__497pKHDoUCy9hjAveyCX0/edit?usp=sharing Shared Folder: https://drive.google.com/drive/folders/1j6d0FLeOjiMil1Ellb59AsfHdzuWdAAc?usp=sharing ___________________________________________________________ Join Microsoft Teams Meeting ( https://teams.microsoft.com/l/meetup-join/19%3ameeting_NDU5ODRkNzktZDBmNC00MDg5LWI2OWEtNzM0MGZjMDU0Yjgw%40thread.v2/0?context=%7b%22Tid%22%3a%22af0096d9-700c-411a-b795-b3dd7122bad2%22%2c%22Oid%22%3a%22841a7c92-7816-4faf-9887-5e334e88f6d8%22%7d ) +1 321-558-6518 ( tel:+1 321-558-6518,,458216365# ) United States, Orlando (Toll) Conference ID: 458 216 365# Local numbers ( https://dialin.teams.microsoft.com/325d775d-c910-441e-90d0-353ebaa56cdd?id=458216365 ) | Reset PIN ( https://mysettings.lync.com/pstnconferencing ) | Learn more about Teams ( https://aka.ms/JoinTeamsMeeting ) | Meeting options ( https://teams.microsoft.com/meetingOptions/?organizerId=841a7c92-7816-4faf-9887-5e334e88f6d8&tenantId=af0096d9-700c-411a-b795-b3dd7122bad2&threadId=19_meeting_NDU5ODRkNzktZDBmNC00MDg5LWI2OWEtNzM0MGZjMDU0Yjgw@thread.v2&messageId=0&language=en-US ) Cheers, Jukka
|
|
Re: Using the Cortex M4 on IMX7D
Michael Graichen
Am 26.02.21 um 18:06 schrieb Arnaud POULIQUEN:
Hi,-----Original Message-----The Linux remoteproc framework allows you to load a firmware without a resource table. Hey Arnaud, Thanks for your reply. I've seen that stm32_rproc driver has additionally functions within static const struct rproc_ops st_rproc_ops https://elixir.bootlin.com/linux/v5.11.2/source/drivers/remoteproc/stm32_rproc.c#L544 especially .parse_fw = stm32_rproc_parse_fw, within the plain rproc driver rproc->ops->parse_fw = rproc_elf_load_rsc_table is registerd within "static int rproc_alloc_ops()" https://elixir.bootlin.com/linux/v5.11.2/source/drivers/remoteproc/remoteproc_core.c#L2202 and is called by doing the "echo start" command. https://elixir.bootlin.com/linux/v5.11.2/source/drivers/remoteproc/remoteproc_elf_loader.c#L359 but fails after the find_table() function. so if i just skip that for a test in https://elixir.bootlin.com/linux/v5.11.2/source/drivers/remoteproc/remoteproc_core.c#L1464, does that take me over the point? I can not see the code where rproc actually "loads" the firmware to the M4? best regards and a great weekend Michael
|
|
Re: Using the Cortex M4 on IMX7D
Michael Graichen
Am 27.02.21 um 09:32 schrieb Marco Cavallini:
Hi, Thanks you you reply. guess I will test that next week. What Memory addresses did you use when you tested the "out of the Box" example? Have a great weekend Michael
|
|
Re: Using the Cortex M4 on IMX7D
Michael Graichen
Am 26.02.21 um 17:27 schrieb Kumar Gala:
Thanks for your reply.On Feb 26, 2021, at 3:43 AM, Michael Graichen <michael.graichen@...> wrote:I don’t believe the remoteproc loading was ever supported for the imx family with zephyr. This is something you’d need to add support for. I think it might be supported on the STM32 MP1 as an example. (I added Arnaud on CC as he added the STM32 MP1 support). This link was the reason why I thought to give it a try. But I'm using barebox as a bootloader right now, so I thought to test "the Linux way" first. I guess I will test u-boot next week. I have looked over the boot instruction from the link. u-boot is using the plain .bin file for loading the M4 while remoteproc is using the .elf file. Is it right that all those environment variables, especially 'setenv m4addr 0x007f800' that are set in u-boot before booting the M4 should come out of the resource table when using remoteproc? Do you have more information about how a resource table for the IMX7-M4 should look like? Have a great weekend. Michael
|
|
Re: Using the Cortex M4 on IMX7D
Marco Cavallini
Hi,
I tested Zephyr with a Colibri i.MX7 and it works our of the box. west build -p auto -b colibri_imx7d_m4 samples/philosophers afterwards I loaded and run the binary using u-boot -- Marco Cavallini - KOAN - Italy
|
|
Re: Using the Cortex M4 on IMX7D
Arnaud POULIQUEN
Hi,
toggle quoted messageShow quoted text
-----Original Message-----The Linux remoteproc framework allows you to load a firmware without a resource table. The resource table is useful only if you want to use the RPMsg protocol or a trace buffer. So this should work, except if the IMX platform driver doesn't allow this.... Right, I think today only the stm32mp1 support the resource table in zephyr, but this should be enough generic to be supported by another platform. Anyway if you don't want to use RPMsg, probably better as a first step to understand why you can not load a firmware without resource table. Regards Arnaud
|
|
Re: Using the Cortex M4 on IMX7D
Kumar Gala
On Feb 26, 2021, at 3:43 AM, Michael Graichen <michael.graichen@...> wrote: I don’t believe the remoteproc loading was ever supported for the imx family with zephyr. This is something you’d need to add support for. I think it might be supported on the STM32 MP1 as an example. (I added Arnaud on CC as he added the STM32 MP1 support). For the i.mx I think you can load via u-boot and there’s a section in the zephyr board docs here about it: https://docs.zephyrproject.org/latest/boards/arm/colibri_imx7d_m4/doc/index.html - k
|
|
Using the Cortex M4 on IMX7D
Michael Graichen
Hey,
I have just started working on a IMX7D (https://www.kontron.de/products/boards-and-standard-form-factors/smarc/smarc-samx7.html) together with Zephyr I noticed that the Colibri iMX7 Board has support for the Cortex M4. So I've build an example by using: cmake -GNinja -DBOARD=colibri_imx7d_m4 ../samples/basic/blinky and tried to load that on the Cortex M4 echo -n zephyr.elf > /sys/class/remoteproc/remoteproc0/firmware and echo -n start > /sys/class/remoteproc/remoteproc0/state Unfortunatly the start fails because the elf-file has no resource table. I can select TOP ---> Additional libraries ---> [*] coprocessor resource table within menuconfig but the resulting elf-file is still missing the resource table. What am i missing? How can a add a resource table to the elf-file? best regards Michael
|
|
Re: openocd.conf default
Bolivar, Marti
Hi there,
toggle quoted messageShow quoted text
You can read through the 'west flash -H -r openocd' output to see what options you have for overriding the default behavior, but the short answer is no, most of this is determined by the board.cmake file. If a particular board.cmake file is not correct, please file a bug. You are of course free to ignore the default openocd runner entirely and just run openocd yourself if you have settings you prefer. HTH, Martí Gunnar Bråding via lists.zephyrproject.org <gunnar=astrogator.se@...> writes:
Hi!
|
|
STM32L4 Low Power Management - Simple example?
New to Zephyr am trying to get a simple example working, leveraging the Zephyr low power architecture on a Nucleo STM32L433 development board.
This is very critical to our requirement. There are functions in power.h / power.c in the STML4 soc directory to support entering low power states. But it's unclear what other code is needed and whether that has been implemented. I enable power management in prj.conf and make such calls as the following taken from an example elsewhere for a different board/mcu: printk("Busy-wait %u s with UART off\n", BUSY_WAIT_S);
status = device_set_power_state(cons, DEVICE_PM_LOW_POWER_STATE, NULL,
NULL);
k_busy_wait(BUSY_WAIT_S * USEC_PER_SEC);
status = device_set_power_state(cons, DEVICE_PM_ACTIVE_STATE, NULL,
NULL); However this doesn't work as the mcu doesn't enter low power mode when sleeping. Perhaps something fundamental/critical that I've omitted. Note that there is no problem using STM HAL commands directly to get into stop modes but that bypasses Zephyr's power management capability (https://docs.zephyrproject.org/latest/reference/power_management/index.html). Suggestions would be very much appreciated.
|
|
openocd.conf default
Gunnar Bråding
Hi!
I might have missed something, but is there a way to set a default openocd.conf in the local application directory, or set some other file as the default? The board-specific ones are not necessarily correct. I even wonder if the debug settings are board specific, rather than user-specific? Actually I personally would consider it nice to just use my general configuration when selecting probe and such. Cheers, — Gunnar Brading
|
|
How can I set the content type and content encoding of the MQTT message
#mqtt
petrus.vanderwalt@...
Hi, I am sending messages to my Azure IoT hub. I am also storing my messages in Azure blob storage. My message gets sent in JSON format. The IoT hub receives my message correctly but when stored to the blob my messages are converted to 64-base. This is the default setting of the blob storage for the message. I have to specify the content type as "application/json" and content encoding as "utf_8" when sending my messages from the device. I can not seem to find a place in the Zephyr mqtt library to set these message settings. Does anyone have an idea how I can include these settings with my messages? I will share a snippet from C# code that I use to simulate devices to show how they achieve this.
Any help or suggestions would be highly appreciated. Regards, Jurgens
|
|
petrus.vanderwalt@...
Hi Jukka,
Thank you for your assistance. My MQTT client using GSM modem is now working. Regards, Jurgens
|
|
Re: Problem with LPTIM on Zephyr
Raz <raziebe@...>
Will i be able to run interrupt routine in an app ? בתאריך יום ד׳, 17 בפבר׳ 2021, 13:13, מאת Erwan Gouriou <erwan.gouriou@...>:
|
|
SDK 0.12.3 Release
Kumar Gala
Hi,
Latest version of the SDK can be found here: https://github.com/zephyrproject-rtos/sdk-ng/releases/tag/v0.12.3 Please download and try things out and report any issues. * Backport GCC 10.2+ (ie, changes that would be in GCC 10.3) for Arm for fixes associated with Cortex-M55 - k
|
|
Timer with high Frequency
tobias.roehmel@...
Hi all,
I am using an STM32F4 discovery board which runs at 100Mhz. I want to fade an LED with PWM and need to change the PWM duty-cycle very quickly (every us). I tried using a k_timer but it's not updating the duty-cycle fast enough. I tried to increase the tick-rate (with CONFIG_SYS_CLOCK_TICKS_PER_SEC) but this didn't help. What would be the correct way to do this? Kind regards, Tobias Röhmel
|
|
LTS schedule and scope meeting on Tuesday, 23rd February
Carles Cufi
Hi all,
As you probably know, on Tuesdays we have two regularly scheduled meetings: - API meeting (17:00 UTC) - Bug triage and Release Readiness meeting (18:00 UTC) This week however, we will hold a special one-off meeting to discuss the schedule and scope of the next LTS release. The meeting will be open to everyone and will last two hours. When: Tuesday, 23rd February, 17:00 UTC (18:00 CET, 12PM EST, 11AM CST, 9AM PST) Where: https://teams.microsoft.com/l/meetup-join/19%3ameeting_NWU2MjZlYWEtZDcwMi00MWQzLTgwMjEtNDdkYjQwMjBjMmFj%40thread.v2/0?context=%7b%22Tid%22%3a%22af0096d9-700c-411a-b795-b3dd7122bad2%22%2c%22Oid%22%3a%22841a7c92-7816-4faf-9887-5e334e88f6d8%22%7d Thanks, Carles
|
|
Re: Problem with LPTIM on Zephyr
Erwan Gouriou
First it depends what you intend to do with LPTIM. There is a LPTIM driver which is meant to be used as a low power kernel ticker instead of the Cortex systick. You can enable it in any sample using CONFIG_STM32_LPTIM_TIMER=y By default it will use LSE as clock source.
On Tue, 16 Feb 2021 at 16:25, Raz <raziebe@...> wrote:
|
|