i.mx28 HSADC driver can't work.
Original Attachment has been moved to: 421-dma_hsadc_driver.zip
Our IC designer suggestion:
1. Please make sure bit 0 of register HW_HSADC_CTRL0 be set to 1;2. Bit 29:28 of register HW_HSADC_CTRL0 is used to set the trigger_source. When set to 2'b00,the ADC is triggered by the software, When set to 2'b01, the ADC is triggered by the PWM trigger signal, When set to 2'b10,the ADC is triggered by the input signal from outside the chip. Only when the corresponding source triggered, hsadc take a sample data from ADC. Please make sure you selected source is really work.3. Check bit 5 of register HW_HSADC_CTRL1. If this bit is always 0, that means HSADC didn't get data from ADC.
no /dev/***-hsadc node found.
it's not work.
when I built it as a module, it does have the node,
but when I run the app,it not work, the buffer length is always 0.
Retrieving data ...