This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335X & processor usage/limit ?

Other Parts Discussed in Thread: ADC128D818, TPS65217

Hi,

I would like to know about IIO and the AM335X.

I know that there is this documentation : processors.wiki.ti.com/.../AM335x_ADC_Driver's_Guide


But I would like to know what happen when you declare a ADC component connected by I2C.

If the driver use the INDIO DIRECT MODE , I would like to know who is polling the component to get the input ? One of the kernel/linux process ? Or a layer of the processor ?

I'm asking this question because I wonder if it takes a lot of cpu to poll an ADC component in continuous mode.


I'm asking this question, because I need to put on I2C : two UART ( MAX3107 ) , one ADC Converter ADC128D818 . And I'm worried about the CPU load and the limit of the bandwidth on the I2C.


I have 3 I2C avaible,

I2C0 : I would like to use it for the ADC converter. And I'm going to use the pru to bitbang this component. This will remove a lot of CPU load because depending of the values on each channel, I need to detect 4 states.

I2C1: this I2C will be used for two UART ( 2x MAx3107 )

I2C2: eeprom, rtc, audio control ( tlv320aic3x ), hdmi, tps65217 :
I think that the tps65217 + RTC + eeprom + tlv320aic3x and the hdmi don't use a lot of bandwidth so it should work.


In the worst case scenario, the ADC + UART 1+ UART 4 + the two uart on I2C will be used .

Is that two much for the AM335X processor ? and what about HDMI with all that ?

Micka,