Re: USB on Kinetis k64f - FRDM-K64F board

2021-02-14 Thread Brennan Ashton
Stewart, I had been looking for an excuse to test NuttX on this chip, so I took a look and added the missing support you can see it here: https://github.com/apache/incubator-nuttx/pull/2847 The main issue was the clock was not being configured correctly. The k28 has a different default PLL frequen

Using nsh application return code in a script

2021-02-14 Thread Bob Feretich
I have tried to write a nsh script that... * Runs an application. * Examines the application's return code. * Then runs one of several applications based upon the value of the return code. The application return code seems to have an effect on $?, if I set the return code to 0 or 1, but if I set

USB on Kinetis k64f - FRDM-K64F board

2021-02-14 Thread nuttx
Hello, Should have said this is the FRDM-K64F board, freedom-k64f configuration. Kind regards Stewart On 14/02/2021 09:37, nu...@charnell.plus.com wrote: Hello, I would like to setup a Kinetis k64f as a USB host to communicate with a USB serial device. As there is not a configuration for US

Board-level Ethernet PHY operations in STM32.

2021-02-14 Thread Fotis Panagiotopoulos
Hi everybody, I am trying to perform some reads/writes to my Ethernet PHY (LAN8720A) in board-level. I am pretty confused on what is the correct interface to use for this purpose. As far as I can tell, it is only possible to perform MII read/writes through ioctl's in application code. How can the

USB on Kinetis k64f

2021-02-14 Thread nuttx
Hello, I would like to setup a Kinetis k64f as a USB host to communicate with a USB serial device. As there is not a configuration for USB host with the k64f I thought I would start by configuring the k64f as a USB device, but have not been able to produce a working (visible USB device on K64