I'm using the FRDM-K22F board with KDS IDE to control a Analogic-Digital Converter (Write/Read Registers and get converted data) by a SPI communication. The FRDM-K22F is controlled by a PC software (Interface), in a USB communication. When I use the SPI and USB in different projects, it works but if I try to use SPI and USB together, at the same Kinetis Project, it's not work. I'm thinking the problem could be in the master clock, because SPI and USB have different standard clocks..
Does someone know how to solve this problem?
It's my first request, sorry if I didn't explain correctly