|
lsm6dsl full registers access
#sensor
#sst26
At a high level, between the sensor driver you found in drivers/sensor/lsm6dsl and your program, Zephyr provides an interface layer that makes the calls to sensor_attr_set() reasonably independent of
At a high level, between the sensor driver you found in drivers/sensor/lsm6dsl and your program, Zephyr provides an interface layer that makes the calls to sensor_attr_set() reasonably independent of
|
By
Lawrence King
· #2605
·
|
|
partition in board overlay file (for nrf52840-dk)
Hi Nikos: Here is an example of changing the partition table in an overlay file you can see the old partitions deleted, then commented out, and the new partitions: /delete-node/ &slot0_partition; /del
Hi Nikos: Here is an example of changing the partition table in an overlay file you can see the old partitions deleted, then commented out, and the new partitions: /delete-node/ &slot0_partition; /del
|
By
Lawrence King
· #2584
·
|
|
custom board
#customboard
#dts
The Kconfig.defconfig doesn’t look right config BOARD default "fuse board" I think it should be “fuseboard” or maybe “fuse_board” but I didn’t test it. I looked at every other board name in the zephyr
The Kconfig.defconfig doesn’t look right config BOARD default "fuse board" I think it should be “fuseboard” or maybe “fuse_board” but I didn’t test it. I looked at every other board name in the zephyr
|
By
Lawrence King
· #2548
·
|
|
console_getline vs 0ms char delay in UART comms
I wasn’t suspecting your FT232R HW, just how the various terminal programs set up the HW may be different. When all other debugging fails, nothing beats the certainty of capturing the waveforms with a
I wasn’t suspecting your FT232R HW, just how the various terminal programs set up the HW may be different. When all other debugging fails, nothing beats the certainty of capturing the waveforms with a
|
By
Lawrence King
· #2510
·
|
|
console_getline vs 0ms char delay in UART comms
Hi Piotr There are may be pieces of equipment along the path between cutecom and the serial input on your micro-controller. Usually there is a USB to Serial chip. The programs inside screen and cuteco
Hi Piotr There are may be pieces of equipment along the path between cutecom and the serial input on your micro-controller. Usually there is a USB to Serial chip. The programs inside screen and cuteco
|
By
Lawrence King
· #2508
·
|
|
Drift through k_sleep or k_msleep
#api
When I need work to operate on a regular basis and not drift I create a work queue and a timer that is setup to submit the work to the queue on a regular basis. This way it doesn’t matter how long it
When I need work to operate on a regular basis and not drift I create a work queue and a timer that is setup to submit the work to the queue on a regular basis. This way it doesn’t matter how long it
|
By
Lawrence King
· #2436
·
|
|
Private: Re: [Zephyr-users] Same I2C bus on different pins
#driver
#i2c
I just looked at the wiring for the Thunderboard Sense 2. It is crazy…. Normally all of the I2C devices on a board are wired to a single I2C Bus. But the designers of the Thunderboard decided to conne
I just looked at the wiring for the Thunderboard Sense 2. It is crazy…. Normally all of the I2C devices on a board are wired to a single I2C Bus. But the designers of the Thunderboard decided to conne
|
By
Lawrence King
· #2349
·
|
|
Private: Re: [Zephyr-users] Same I2C bus on different pins
#driver
#i2c
Hi Nikolaus I have yet to see a SOC that allows connecting one internal I2C controller to two sets of external pins at one time. Although theoretically possible it would be an unusual feature, and of
Hi Nikolaus I have yet to see a SOC that allows connecting one internal I2C controller to two sets of external pins at one time. Although theoretically possible it would be an unusual feature, and of
|
By
Lawrence King
· #2347
·
|
|
Adding an out of tree driver
Adding an out of tree board is easy, I just set the variable BOARD_ROOT and the build system happily finds my_custom_board. This is nicely described by following the links from here: https://docs.zeph
Adding an out of tree board is easy, I just set the variable BOARD_ROOT and the build system happily finds my_custom_board. This is nicely described by following the links from here: https://docs.zeph
|
By
Lawrence King
· #2304
·
|
|
ESP32 Dual core - getting started
Dear All: I have started a new project based on ESP32. To start I wrote boards files for the ESP32-CAM board and defined a single LED as a peripheral. I was able to compile the blinky sample, flash it
Dear All: I have started a new project based on ESP32. To start I wrote boards files for the ESP32-CAM board and defined a single LED as a peripheral. I was able to compile the blinky sample, flash it
|
By
Lawrence King
· #2281
·
|
|
STM32: Ethernet Driver not working on F7 and H7 with 2.4.0
#networking
#driver
#ethernet
#stm32
Dejavu, I think I have seen this question before. I don’t have a H7 or F7, but I remember a similar question was posted in April. Here is what it said, unfortunately there was no follow up to say if t
Dejavu, I think I have seen this question before. I don’t have a H7 or F7, but I remember a similar question was posted in April. Here is what it said, unfortunately there was no follow up to say if t
|
By
Lawrence King
· #2252
·
|
|
How to use "Serial CAN Bus Module"
#driver
#uart
#can
I have used the Longan module with Zephyr on nrf52840. I connected it to a Serial, then modified the Longan library to compile and work under Zephyr. This isn’t everything you need (missing the .h inc
I have used the Longan module with Zephyr on nrf52840. I connected it to a Serial, then modified the Longan library to compile and work under Zephyr. This isn’t everything you need (missing the .h inc
|
By
Lawrence King
· #2166
·
|
|
[solved] Re: SMP Server Sample: Fails to upload over BLE
Hi George: I had no end of trouble with the built-in bluetooth adapter on my laptop. It was an Intel adapter and would only work if I moved the target Zephyr box about 15ft away from the laptop. I cha
Hi George: I had no end of trouble with the built-in bluetooth adapter on my laptop. It was an Intel adapter and would only work if I moved the target Zephyr box about 15ft away from the laptop. I cha
|
By
Lawrence King
· #2148
·
|
|
Sending data to .csv file
You didn’t check the return code from fs_open(). I am pretty sure the open failed, I think the correct file path is “/SD:/plink.csv”. You then tried to write to a file with an invalid handle which cau
You didn’t check the return code from fs_open(). I am pretty sure the open failed, I think the correct file path is “/SD:/plink.csv”. You then tried to write to a file with an invalid handle which cau
|
By
Lawrence King
· #2139
·
|
|
Reading data from LSM6DS33 , I2C
Did you power up the Accelerometer? You should read the full datasheet, here is what is says about power: Operating modes The LSM6DS33 has three operating modes available: only accelerometer active
Did you power up the Accelerometer? You should read the full datasheet, here is what is says about power: Operating modes The LSM6DS33 has three operating modes available: only accelerometer active
|
By
Lawrence King
· #2133
·
|
|
Reading data from LSM6DS33 , I2C
Hi Edyta Your code doesn’t show what value you used for I2C_ADDR. You will not get an ACK on the I2C bus if you have the wrong I2C addr for the LSM3DS33. Without an ACK, you get a bus error. I think y
Hi Edyta Your code doesn’t show what value you used for I2C_ADDR. You will not get an ACK on the I2C bus if you have the wrong I2C addr for the LSM3DS33. Without an ACK, you get a bus error. I think y
|
By
Lawrence King
· #2130
·
|
|
Zephyr - read I2C sample, nrf52840
Hi Edyta: There are two ways to read sensors. If your sensor has a driver and you have set it up in the device tree correctly you can simply use the sensor examples. If your sensor is really simple, y
Hi Edyta: There are two ways to read sensors. If your sensor has a driver and you have set it up in the device tree correctly you can simply use the sensor examples. If your sensor is really simple, y
|
By
Lawrence King
· #2127
·
|
|
MCUMGR - sends responses to wrong port
Thanks Charles. Bug #26939 filed…. Let me know if there is any other info I can provide. https://github.com/zephyrproject-rtos/zephyr/issues/26939 Lawrence King Principal Developer +1(416)627-7302
Thanks Charles. Bug #26939 filed…. Let me know if there is any other info I can provide. https://github.com/zephyrproject-rtos/zephyr/issues/26939 Lawrence King Principal Developer +1(416)627-7302
|
By
Lawrence King
· #2119
·
|
|
MCUMGR - sends responses to wrong port
Hi Charles, I tried your suggestion, unfortunately it doesn’t help. Every dts that uses mcumgr, also has the console on the same port, there is no existing board that routes the mcumgr to a different
Hi Charles, I tried your suggestion, unfortunately it doesn’t help. Every dts that uses mcumgr, also has the console on the same port, there is no existing board that routes the mcumgr to a different
|
By
Lawrence King
· #2115
·
|
|
MCUMGR - sends responses to wrong port
Dear All: I am trying to setup mcumgr to allow code download over a serial port and use the shell. In this case I have 2 serial ports in play. The first serial port is where printk() sends messages. I
Dear All: I am trying to setup mcumgr to allow code download over a serial port and use the shell. In this case I have 2 serial ports in play. The first serial port is where printk() sends messages. I
|
By
Lawrence King
· #2112
·
|