Questions tagged [zephyr-rtos]

The Zephyr Project is a scalable real-time operating system (RTOS) supporting multiple hardware architectures, optimized for resource constrained devices, and built with security in mind.

The Zephyr Project is an open source collaborative effort hosted by the Linux Foundation to build scalable real-time operating system optimised for resource constrained devices (e.g. embedded systems) across multiple architectures [1]. The project's goal is to establish a neutral project where anyone can contribute technology to reduce the cost and time to market for the billions of IoT devices [2].

  1. https://www.zephyrproject.org/what-is-zephyr/
  2. https://www.zephyrproject.org/what-is-zephyr/
138 questions
0
votes
0 answers

Zephyr BLE Server Read Request

I am trying to write BLE code for the server side of a connection and am having issues with dealing with read request from the client. Ideally what I want to do is when the client sends a read operation, my read cb function gets called within which…
ep888
  • 1
  • 1
0
votes
0 answers

zephyr pin control on device tree

I'm trying to create an overlay with for a pwm output for a pin in zephyr rtos , the overlay has pinctrl-1 and a pinctrl-name for pin configuration ,however a .dts file was already define with with pwm pinctrl-0 and pinctrl-name ,the…
j-leo7
  • 1
0
votes
1 answer

I need to initialize and start the PLLI2S for MCO2 output at 50Mz for eth ref clock at boot, is there a good way to do it?

Im new to Zephyr. Im using a STM32F429xx MCU where we want to use MCO2 to output a 50Mhz clock for eth reference clock. If i run the syslock at 150Mhz and use that for MCO2 with a div3 it works fine. The problem is we want to run the sysclk at…
Fredrik
  • 1
  • 2
0
votes
0 answers

Bluetooth Mesh provision between bluez and zepyhr failed

I am trying to open a bluetooth mesh network with my Raspberry Pi and a Qorov DWM3001CDK dev board where I run a Zepyhr RTOS. I like to work with Python to do that so I got the bluetooth-mesh package for that.…
0
votes
0 answers

Intellisense always "Loading" in VS Code on Zephyr project in MacOS

At some point in the last year (because it was working at some point), the Visual Studio Code setup I use to edit a firmware project based on Zephyr ( https://zephyrproject.org/ - the actual project is the ZMK keyboard firmware…
riz94107
  • 23
  • 4
0
votes
0 answers

Porting Zephyr to a new CPU/SOC/SOC series

I want to port Zephyr to my soc , which is based on ARM-M4 but customised and based on Zephyr's documentation, I have to port SOC Family, SOC Series , SOC , Board. So I have started off with a supported board (nucleo-f401re) and trying out board…
0
votes
0 answers

MAX9867 Not redirecting MICLP input to LOUTP

I'm having problems configuring max9867 as a direct output without going through I2C. I perform the settings of the following registers. I'm using zephyr as rtos. [00:00:01.709,625] max9867: codec_read_reg: RD | REG: 0x00 VAL: 0x00 -…
0
votes
0 answers

How can I run one task without finishing another in vscode?

i'm developing embedded firmware on zephyr RTOS. Zephyr env. works on WSL2. And "Vscode remote client" works in Win10 "Vscode Server" works on Ununtu 22.04. I use Jlink debbugger for flashing and debugging firmware. I have to use remote debugging…
0
votes
0 answers

Need to understand the ML model deployment through MicroMutableOpResolver

I am new to tensorflow lite, and I have noticed that many examples are using static tflite::MicroMutableOpResolver < > micro_op_resolver; So, my question is: how many layers can we add here when deploying the model? Or can the layers be exactly the…
0
votes
1 answer

Zephyr-RTOS logging with DMA on STM32L432KC

I'm trying to run Zephyr Logging by using DMA on UART on STM32L432KC. That's simple main loop: #include #include LOG_MODULE_REGISTER(example, LOG_LEVEL_DBG); int main(void) { while (1) { …
drewpol
  • 665
  • 1
  • 6
  • 26
0
votes
0 answers

Synchronized PWMs from two different Timers on ZephyrRTOS (STM32h7)

I'm working on a C Project for University where I need to measure a Laser with a TCD1304 CCD-Sensor. Therefore I am using Zephyr as OS on an STM32-H7(A3ZI-Q). Since the TCD1304 has to receive different PWM signals to drive it, I am trying to…
Omegon
  • 11
  • 2
0
votes
0 answers

Disable or Exclude Device Tree (DTS) in Zephyr OS Build

we are just using the West tool to build an application in Zephyr OS, it seems the build process is quite dependent on DTS. We would like to use only Zephyr Kernel Core, and we would like to use our native drivers, so we want to disable or exclude…
muratcakmak
  • 325
  • 2
  • 14
0
votes
1 answer

Zephyr Qspi flash mount file system

I am trying to initialize a file system on a qspi nor flash chip w25q128jvpio using zephyr os running on a stm32h753. I have already verified the hardware works and I can read and write to the flash using some bare metal applications. Now I am…
0
votes
0 answers

shared interrupt number in dts file

I have 3 instances of device sharing the same interrupt number. When I add these numbers in the interrupt property of the device node in dtsi file, I get build errors. Any idea how to resolve this ? rpc1: rpc@350a0000 { compatible =…
foo_l
  • 591
  • 2
  • 10
  • 28
0
votes
1 answer

Zephyr Project Event Handling

I am working on an event driven portion of a project utilizing the use of the Zephyr Project. I am relatively new to Zephyr so I apologize if I am going about this wrong. My goal is to have a forever thread responsible for determining if any events…