Hi all,
I'm trying to use I2C.
I configured below in menuconfig.
- System Type > STM32 Peripheral Support > [*] I2C1
- Device Drivers > [*] I2C Driver Support
then compilation was done successfully.
But no I2C device( like /dev/i2c1 ) showed up when I tried ls /dev
Do I forget something to do?
I'
Hi Yuta,
Yes, you forgot to select the I2C Character driver support.
Please try to follow this tutorial:
https://www.youtube.com/watch?v=RzrDa4Sm1rU
BR,
Alan
On 4/30/21, yuta wrote:
> Hi all,
> I'm trying to use I2C.
> I configured below in menuconfig.
> - System Type > STM32 Peripheral Supp
If you want to use the I2C tool, you'll also have to register the i2c
driver from your board logic.
See:
https://github.com/apache/incubator-nuttx/blob/master/boards/arm/stm32f0l0g0/nucleo-g070rb/src/stm32_bringup.c#L89-L111
https://github.com/apache/incubator-nuttx/blob/master/boards/risc-v/esp32
Hi Alan,
Thank you for the link. I watched it!
Sorry I forgot to say that I've configured ` I2C Character driver
support ` as well.
However, /dev/i2c1 (or something like this) did not show up.
I'm going to try to register i2c driver.
Yuta Ide
On 2021/04/30 21:47, Alan Carvalho de Assis w
On 4/30/2021 6:34 AM, yuta wrote:
Hi all,
I'm trying to use I2C.
I configured below in menuconfig.
- System Type > STM32 Peripheral Support > [*] I2C1
- Device Drivers > [*] I2C Driver Support
then compilation was done successfully.
But no I2C device( like /dev/i2c1 ) showed up when I tried ls /d
Am 30.04.2021 um 15:06 schrieb Gregory Nutt:
... The main reason is that the AT24XX MTD driver only can handle
one type of devices on a single bus. ..
The is a deficiency in the driver and should be pretty easy to fix by
passing the I2C address during driver initialization. Other drivers
do
And FYI, not exactly related to this topic but correlated:
Console will always be at ttyS0, even if the UART peripheral is not 0.
Em qua., 28 de abr. de 2021 às 18:19, Gregory Nutt
escreveu:
>
> > I am sorting out flexcom support for the SAMA5D2 as there are issues
> with the arch files as wel
And FYI, not exactly related to this topic but correlated:
Console will always be at ttyS0, even if the UART peripheral is not 0.
That is true for all architectures except for the STM32 families (all of
them). For the STM32's, that is true by default. For example, if the
console is on US
Hello all,
Apache NuttX (Incubating) 10.1.0 RC1 has been staged under [1] and it's
time to vote on accepting it for release. If approved we will seek
final release approval from the IPMC. Voting will be open for 72hr.
A minimum of 3 binding +1 votes and more binding +1 than binding -1 are
required