USB Serial on frdm-k82f with Android

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

USB Serial on frdm-k82f with Android

1,492 次查看
ajayan_e
Contributor I

Hello,

I am working on the frdm-k82f:to have a serial communication between board and Android device.

But all the sample programs from the SDK I have tried was a failure.

The android device is able to detect the serial device.

but read and write is a failure as in it does not throw any error but no response from the board.

I am new to the firmware programming. Appreciate the help.

0 项奖励
回复
5 回复数

1,389 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi,

Although FRDM-K82F has Arduino hardware interface, the SDK example doesn't support Arduino protocol. You have to port Arduino bootloader to it.

Regards,

Jing

0 项奖励
回复

1,389 次查看
ajayan_e
Contributor I

So only with an Arduino protocol I can communicate to the board from an android device through serial port?

0 项奖励
回复

1,389 次查看
jingpan
NXP TechSupport
NXP TechSupport

Yes, otherwise how can MCU know what those command mean.

The arduino bootloader prototype is in arduino-1.8\hardware\arduino\avr\bootloaders. Of course you can search other one.

Regards,

Jing

0 项奖励
回复

1,389 次查看
ajayan_e
Contributor I

I tried to do the boot loader and now the board is not at all recognized with windows. I did a drag and drop. I think i am lost

0 项奖励
回复

1,388 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi,

You should migrate Atmega8 source code to K82, not just copy its bin file to K82. There is a lot of software work to do.

Regards,

Jing

0 项奖励
回复