|
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
·
|
|
[Zephyr-devel] Post 2.3.0 PR merging
Hi Charles: This just my personal opinion on the subject. Two approvals is the right thing to do and what the TSC approved earlier this year. BUT, if the second +1 is just a rubber stamp approval of t
Hi Charles: This just my personal opinion on the subject. Two approvals is the right thing to do and what the TSC approved earlier this year. BUT, if the second +1 is just a rubber stamp approval of t
|
By
Lawrence King
· #2086
·
|
|
samples/basic/blinky
Hi Patrice: Your statement that the behavior of the LED is ‘inverted’ is completely correct. Your statement about the current is at best confusing. It is true that the GPIO doesn’t need to ‘source’ th
Hi Patrice: Your statement that the behavior of the LED is ‘inverted’ is completely correct. Your statement about the current is at best confusing. It is true that the GPIO doesn’t need to ‘source’ th
|
By
Lawrence King
· #1983
·
|
|
Changing partitions in a DTS overlay
Hi Martin: Excellent, thank you. The bit I missed was the correct syntax for /delete-node/ I put the following 3 lines just before &flash0 /delete-node/ &slot0_partition; /delete-node/ &slot1_partitio
Hi Martin: Excellent, thank you. The bit I missed was the correct syntax for /delete-node/ I put the following 3 lines just before &flash0 /delete-node/ &slot0_partition; /delete-node/ &slot1_partitio
|
By
Lawrence King
· #1945
·
|
|
Changing partitions in a DTS overlay
Dear all: I am trying to change the partition table from the default as defined in the board file inside Zephyr to a slightly different configuration. Obviously I could do this by editing the file in
Dear all: I am trying to change the partition table from the default as defined in the board file inside Zephyr to a slightly different configuration. Obviously I could do this by editing the file in
|
By
Lawrence King
· #1941
·
|
|
Removing an item from the Device tree
Excellent solution. Thank you. Lawrence King Principal Developer +1(416)627-7302
Excellent solution. Thank you. Lawrence King Principal Developer +1(416)627-7302
|
By
Lawrence King
· #1856
·
|
|
Removing an item from the Device tree
I have a little problem with the device tree In zephyrproject/zephyr/boards/arm/nrf52840_mdk/nrf52840_mdk.dts the uart is defined as: &uart0 { compatible = "nordic,nrf-uart"; current-speed = <115200>;
I have a little problem with the device tree In zephyrproject/zephyr/boards/arm/nrf52840_mdk/nrf52840_mdk.dts the uart is defined as: &uart0 { compatible = "nordic,nrf-uart"; current-speed = <115200>;
|
By
Lawrence King
· #1854
·
|