|
How to integrate the Zephr build process into a custom image?
Hey, I like to build an Zephyr based application and integrate it into a existing ecosystem. So I build my Zephyr application compiled and tested it(@stm32f412 (1MByte flash)). Everything fine. Zephyr
Hey, I like to build an Zephyr based application and integrate it into a existing ecosystem. So I build my Zephyr application compiled and tested it(@stm32f412 (1MByte flash)). Everything fine. Zephyr
|
By
Stefan Jaritz
· #1605
·
|
|
How to set the system date time?
Hey, I have a question about date and time generation in ZephyrOS. Current I am building a demo in which I am receiving samples. Now I like to add a timestamp to them. How can I do this in ZephyrOS? a
Hey, I have a question about date and time generation in ZephyrOS. Current I am building a demo in which I am receiving samples. Now I like to add a timestamp to them. How can I do this in ZephyrOS? a
|
By
Stefan Jaritz
· #1354
·
|
|
How to do a wait for multiple events?
Thanks for the hint Carles, I can poll for "k_queue" but not for a "k_msgq". So it is not working in my case. I like to use the "k_msgq" for storing ADC samples (it has the ringbuffer feature). Using
Thanks for the hint Carles, I can poll for "k_queue" but not for a "k_msgq". So it is not working in my case. I like to use the "k_msgq" for storing ADC samples (it has the ringbuffer feature). Using
|
By
Stefan Jaritz
· #1320
·
|
|
How to do a wait for multiple events?
Hey ho, It's Friday time and so it means play time with Zephyr! :) Currently I am doing a demo, in which I generate different data streams(queues) and signals(semaphores). The streams and signal shoul
Hey ho, It's Friday time and so it means play time with Zephyr! :) Currently I am doing a demo, in which I generate different data streams(queues) and signals(semaphores). The streams and signal shoul
|
By
Stefan Jaritz
· #1318
·
|
|
Making a GPIO default high
Happy new year! You can create your "own board" and set the default pin behavior in the "pinmux.c" file. Check the board or the example folder. If you using an own 3rd party boot loader you need to do
Happy new year! You can create your "own board" and set the default pin behavior in the "pinmux.c" file. Check the board or the example folder. If you using an own 3rd party boot loader you need to do
|
By
Stefan Jaritz
· #1248
·
|
|
How to write a own I2C(slave) driver?
#i2s
#slave
#driver
Hej ho I like to do polish my stuff before I push it and for that I am asking for your help. So far I created a driver for an audio codec. This codec is controlled via I2C. Setting up like a common dr
Hej ho I like to do polish my stuff before I push it and for that I am asking for your help. So far I created a driver for an audio codec. This codec is controlled via I2C. Setting up like a common dr
|
By
Stefan Jaritz
· #1241
·
|
|
How to write a own I2C(slave) driver?
#i2s
#slave
#driver
Merci! I took the tlv320dac310x audio codec driver as template. Done a very specific driver for the tlv320aic3204 from TI. It is not streamlined with the zephyr audio api. I can send it to you or put
Merci! I took the tlv320dac310x audio codec driver as template. Done a very specific driver for the tlv320aic3204 from TI. It is not streamlined with the zephyr audio api. I can send it to you or put
|
By
Stefan Jaritz
· #1234
·
|
|
How to write a own I2C(slave) driver?
#i2s
#slave
#driver
Hey, I am currently checking the documentation for a "How to do an I2C slave driver" and I did not find some tutorial. Hopefully some guys can quickly tell me how to do it. My hardware setup: custom s
Hey, I am currently checking the documentation for a "How to do an I2C slave driver" and I did not find some tutorial. Hopefully some guys can quickly tell me how to do it. My hardware setup: custom s
|
By
Stefan Jaritz
· #1228
·
|
|
Example of how use UART to communicate with a LTE modem
#uart
#stm32
Hey Gustavo, I had the same problem some moths ago. Some help to get into it: 1.) check how uarts work in ZephyrOS(poll/interrupt driven) https://github.com/zephyrproject-rtos/zephyr/tree/master/tests
Hey Gustavo, I had the same problem some moths ago. Some help to get into it: 1.) check how uarts work in ZephyrOS(poll/interrupt driven) https://github.com/zephyrproject-rtos/zephyr/tree/master/tests
|
By
Stefan Jaritz
· #1211
·
|
|
How to setup the host system to debug via west gdbserver and Eclipse IDE?
#west
#gdb
#eclipse
Merci Port 3333 was the missing detail :D A small add: Debugging with the "C/C++ Remote Application" have problems resolving symbols and code. You get errors like that: """ Using runner: openocd Open
Merci Port 3333 was the missing detail :D A small add: Debugging with the "C/C++ Remote Application" have problems resolving symbols and code. You get errors like that: """ Using runner: openocd Open
|
By
Stefan Jaritz
· #1183
·
|
|
How to setup the host system to debug via west gdbserver and Eclipse IDE?
#west
#gdb
#eclipse
Hej, Currently I am trying to figure out how to setup the debugger by the use of west. I manage to start the west debug server but I failed to connect. Maybe I am missing something or anyone having th
Hej, Currently I am trying to figure out how to setup the debugger by the use of west. I manage to start the west debug server but I failed to connect. Maybe I am missing something or anyone having th
|
By
Stefan Jaritz
· #1180
·
|
|
How to integrate code tests into projects containing own boards and drivers?
#test
#ztest
Thanks for the information and feedback. In my eyes it would be perfect if, on the long run, a formalized test system is available. I think for the users it would be perfect to have the possibility to
Thanks for the information and feedback. In my eyes it would be perfect if, on the long run, a formalized test system is available. I think for the users it would be perfect to have the possibility to
|
By
Stefan Jaritz
· #1160
·
|
|
How to integrate code tests into projects containing own boards and drivers?
#test
#ztest
Hey, I like to do some code tests for parts of my firmware. I struggling to find out how to setup testing. There is some explanation at https://docs.zephyrproject.org/1.12.0/subsystems/test/ztest.html
Hey, I like to do some code tests for parts of my firmware. I struggling to find out how to setup testing. There is some explanation at https://docs.zephyrproject.org/1.12.0/subsystems/test/ztest.html
|
By
Stefan Jaritz
· #1157
·
|
|
How to setup a spi flash?
#spi
#flash
#sst26
Hey, I am playing a bit around with Zephyr and a custom board. This board is based on a stm32f4 arm and connects a Mircochip Flash(SST26) via spi1. I like to figure out how to setup this spi flash? Be
Hey, I am playing a bit around with Zephyr and a custom board. This board is based on a stm32f4 arm and connects a Mircochip Flash(SST26) via spi1. I like to figure out how to setup this spi flash? Be
|
By
Stefan Jaritz
· #1059
·
|
|
How to connect the LSM6DS0 sensor when using a custom board?
#sensor
#dts
#defconfig
Hej I am failing to get my LSM6DS3(almost LSM6DS0) sensor rightfully setup. Maybe someone can give me a hint. My system: LSM6DS3 <--> I2C1 @ stm32F412 <--> Zephyr OS I created an own board for that. I
Hej I am failing to get my LSM6DS3(almost LSM6DS0) sensor rightfully setup. Maybe someone can give me a hint. My system: LSM6DS3 <--> I2C1 @ stm32F412 <--> Zephyr OS I created an own board for that. I
|
By
Stefan Jaritz
· #1033
·
|
|
How to setup BCSP at runtime with manufacture specific commands
#bt
#protocol
#hc5
#bcsp
Hej, I like to implement an firmware upgrade via bcsp + manufacture specific commands. I give a quick setup of my system: BT device <---> UART3 @ MCU <---> Zephyr OS The update process works in follow
Hej, I like to implement an firmware upgrade via bcsp + manufacture specific commands. I give a quick setup of my system: BT device <---> UART3 @ MCU <---> Zephyr OS The update process works in follow
|
By
Stefan Jaritz
· #1028
·
|
|
STM32F412 problem with full speed usb driver #stm32 #usb - solved
#stm32
#usb
Hi guys, I have custom board. There was an error in my config with CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC parameter. I adjusted it to my PLL clock settings. Now everything works fine. Thanks for the feedb
Hi guys, I have custom board. There was an error in my config with CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC parameter. I adjusted it to my PLL clock settings. Now everything works fine. Thanks for the feedb
|
By
Stefan Jaritz
· #977
·
|
|
STM32F412 problem with full speed usb driver
#stm32
#usb
Hej In the last weeks there were some works on the USB driver regarding full speed and high speed. For me it seems, that some of these changes are breaking my code. Any one with the same problem? I am
Hej In the last weeks there were some works on the USB driver regarding full speed and high speed. For me it seems, that some of these changes are breaking my code. Any one with the same problem? I am
|
By
Stefan Jaritz
· #968
·
|
|
How to setup an UART with flow control (RTS&CTS )?
#uart
#flowcontrol
#stm32
Hey, I am playing around with Zephyr OS and a STM32F412 on my own board. Now I like to use uart3 to connect to a other SOC. As far as I have seen, is no simple uart example in the sample section. So i
Hey, I am playing around with Zephyr OS and a STM32F412 on my own board. Now I like to use uart3 to connect to a other SOC. As far as I have seen, is no simple uart example in the sample section. So i
|
By
Stefan Jaritz
· #942
·
|
|
Were to send patches & Looking for a example for ADC and DFSDM for the stm32f4
Hej I still playing a bit around with Zephyr OS. I manged so far to setup the UART1 using PA10 & PA15. This config is not included. I can submit a patch. Who is maintaining the stm32 dts? Now I want t
Hej I still playing a bit around with Zephyr OS. I manged so far to setup the UART1 using PA10 & PA15. This config is not included. I can submit a patch. Who is maintaining the stm32 dts? Now I want t
|
By
Stefan Jaritz
· #920
·
|