FRDMK64F_dev_cdc_vcom_bm question

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

FRDMK64F_dev_cdc_vcom_bm question

Jump to solution
1,382 Views
neilporven
Senior Contributor I

Hi everyone,

I was able to run the project sample FRDMK64F_dev_cdc_vcom_bm successfully.  I am wondering if there

is documentation that explain how can I now port just what I need for my custom board?

Example: There several folders CMSIS, board, component, device, drivers, osa, etc....

Thanks,

Neil

Labels (1)
0 Kudos
Reply
1 Solution
1,199 Views
nxf51211
NXP Employee
NXP Employee

Hi,

The main difference with the lite project is that it does not introduce CDC-ACM class, so users have to use a low level function to send and receive. The lite project uses USB_DeviceSendRequest to send data while the other uses  USB_DeviceCdcAcmSend.

If you want to modify the project for your own needs and board, I recommend you keep using the dev_cdc_vcom_bm  project.

Best Regards,

Ricardo Delsordo

View solution in original post

7 Replies
1,199 Views
mjbcswitzerland
Specialist V

With respect to USB on any K64 based board you need to ensure that the clock is set correctly for USB operation:
- that is, ensure that it is configured to deliver 48Mhz to the USB controller (based on the available clock source and clock configuration)
- or, in case of crystal-less operation you may need to configure this mode if it is supported as an option in the example or add the configuration, including the erratas (reference: http://www.utasker.com/kinetis/MCG.html - including IRC48M workaround reference).

Regards

Mark

0 Kudos
Reply
1,199 Views
neilporven
Senior Contributor I

Thanks Mark, I will make sure my clock settings and configured accordingly.  As I told Ricardo, I will then dig through the

available folders and see which are required and which I can omit.  I am still trying to adjust to MCUXpresso, since I worked

with Kinetis Design Studio in the past.

0 Kudos
Reply
1,199 Views
nxf51211
NXP Employee
NXP Employee

Hi,

You can use the same SDK project you used with the FRDMK64F for your own custom board. However, as both boards are designed differently, you will have to modify the "board" folder from the SDK project according to your custom board.

Unfortunately, there are no guides for doing this (as every customer has a different design for their custom boards) but I can assist you with any doubts you could have.

Best Regards,

Ricardo Delsordo

0 Kudos
Reply
1,199 Views
neilporven
Senior Contributor I

Hi Ricardo,

Do you happen to know what is the difference between dev_cdc_vcom_bm and dev_cdc_vcom_lite_bm?

Thanks,

Neil

0 Kudos
Reply
1,200 Views
nxf51211
NXP Employee
NXP Employee

Hi,

The main difference with the lite project is that it does not introduce CDC-ACM class, so users have to use a low level function to send and receive. The lite project uses USB_DeviceSendRequest to send data while the other uses  USB_DeviceCdcAcmSend.

If you want to modify the project for your own needs and board, I recommend you keep using the dev_cdc_vcom_bm  project.

Best Regards,

Ricardo Delsordo

1,199 Views
neilporven
Senior Contributor I

Thank you Ricardo.  That made it simple to understand the difference between the two.  I would definitely use the 

the dev_cdc_vcom_bm.

Neil

0 Kudos
Reply
1,199 Views
neilporven
Senior Contributor I

Thank you Ricardo, I will then dig through the folders and see was revalent to my custom board and what I can omit. 

0 Kudos
Reply