USB Serial on frdm-k82f with Android

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

USB Serial on frdm-k82f with Android

2,245 Views
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 Kudos
Reply
5 Replies

2,142 Views
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 Kudos
Reply

2,142 Views
ajayan_e
Contributor I

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

0 Kudos
Reply

2,142 Views
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 Kudos
Reply

2,142 Views
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 Kudos
Reply

2,141 Views
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 Kudos
Reply