Activity
From 07/01/2017 to 07/30/2017
07/27/2017
- VP 06:26 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: SPI interface for ADC5560 (MityDSP L138F)
- Thanks for your response. As mentioned before I am trying to get data on DAC output same as ADC input. But I am not getting proper output signal as Input. From the code I can see uPP is using 75MHz for clock and in FPGA code it seems it ...
07/24/2017
- JC 05:21 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: SPI interface for ADC5560 (MityDSP L138F)
- Vivek Ponnani wrote:
> Thanks for your guidance. I am able to run analog expansion suite examples for ADS 5560 and DAC 5672 individually. Now I am trying to give analog input to ADS 5560 and want to generate the same analog output usin... - VP 03:41 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: SPI interface for ADC5560 (MityDSP L138F)
- Thanks for your guidance. I am able to run analog expansion suite examples for ADS 5560 and DAC 5672 individually. Now I am trying to give analog input to ADS 5560 and want to generate the same analog output using DAC 5672. For that I p...
- JC 05:11 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Using Sodium crypto library and not enough entropy?
- Edwin McKay wrote:
> I am trying to use the "Sodium crypto library" (https://download.libsodium.org/doc/) on the MityDSP. I had earlier ask with help compiling it and that was answered.
> ...
I'm no expert on crypto so I can't say if t... - I am trying to use the "Sodium crypto library" (https://download.libsodium.org/doc/) on the MityDSP. I had earlier ask with help compiling it and that was answered.
When I run the example code I receive the following message:
_This...
07/20/2017
- MW 06:09 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: I2C Slave Communication Hanging
- So I didn't respond right away as you are using verilog and I am more of a VHDL guy, but there is an open drain primitive called OPNDRN.
You can see an example of it inferred in VHDL here (bottom of file) for I2C routing like you are ... - JP 05:43 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: I2C Slave Communication Hanging
- We appear to have finally discovered the root cause of our issue. We actually had a self-inflicted bug where the SCL line on this one port was defined as "output" rather than "inout". Thus, we didn't really have the "open drain" we thoug...
07/19/2017
- JK 07:39 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: I2C Slave Communication Hanging
- Dan,
I've attached 2 scope shots between the Aardvark as master and the ST1633 as slave:
1. A single byte write with a value of 0x01
2. A subsequent single byte read, which we expect to return 0x04 (and does, in this trace)
This ... - JK 03:42 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: I2C Slave Communication Hanging
- Dan,
We'll be conducting investigations this afternoon with both the Linux I2C kernel driver and a bit-bang I2C user-space module we just finished writing. As a part of those investigations, we'll send along a read request capture bet... - DV 03:45 AM MitySOM-5CSX Altera Cyclone V Software Development: RE: I2C Slave Communication Hanging
- Jared,
To me it looks like the scope capture you've shown should be correct and as you've said there shouldn't be a stop condition between the first and second byte, which is why the clock stays low. Though the second byte isn't ack'e...
07/18/2017
- GG 10:08 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Syslink configuration for 256Mb memory
- Hi Andri,
We have not currently released an MDK that supports SysLink. Please follow instead the DSP Link Configuration steps: https://support.criticallink.com/redmine/projects/arm9-platforms/wiki/DSP_Link_Configuration
Sorry for ... - JK 07:56 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: I2C Slave Communication Hanging
- Some additional context / correction:
I2C2 and I2C3 are both configured the same way. If you replace "3" with "2" in the above example, and replace "DVI" with "TFT" (related to our ST1633 touch controller), the result is the I2C2 setu... - CS 07:33 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: I2C Slave Communication Hanging
- All,
This is the open drain primitive we are using for the I2C interfaces:
wire w_i2c3_scl_oe, w_i2c3_scl, w_i2c3_sda_oe, w_i2c3_sda;
assign DVI_SCL = (w_i2c3_scl_oe) ? 1'b0 : 1'bz;
assign DVI_SDA = (w_i2c3_sda_oe) ? 1'b0 : 1'b... - MW 05:09 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: I2C Slave Communication Hanging
- Are you using the open drain primitive in the top level of the FPGA project?
-Mike
- JK 05:00 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: I2C Slave Communication Hanging
- I've attached the driver source/header. I'm waiting to hear from the touch controller vendor whether I can share the protocol description.
- JK 04:50 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: I2C Slave Communication Hanging
- We are using I2C2 routed through the FPGA fabric (see image "I2C2_Connector.PNG"). It does have pullups to the best of my knowledge (see image "I2C2_Pullups.PNG").
Though we initially tried to communicate via user space, the vendor in... - MW 04:32 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: I2C Slave Communication Hanging
- Also, Can you share a snippet of the user space code you are using to issue the read request?
Thanks.
-Mike
- MW 04:15 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: I2C Slave Communication Hanging
- Which I2C bus are you using? An HPS peripheral connected directly to HPS pins or routed via FPGA fabric?
This almost looks like there is no pull-up on the bus...
-Mike
- We're experiencing a problem with I2C communications with a slave on address 0x55 on a MitySOM-5CSX, shown in the attached image (scope_3.png).
In the image, *a read is attempted, with the first byte NACK'd by the slave, and an invali... - VP 12:02 PM MityDSP-L138 (ARM9 Based Platforms) FPGA Development: RE: FPGA coding and programming for customized board using Mity DSP L138F
- we are using ADS5560 of the analog expansion board through FPGA. We are using CLK and Data through FPGA to connect to uPP interface of the OMAP-L138.
We are using example program from the analog expansion suite.
How can we debug/check ...
07/15/2017
- Hello,
can you give an example on the following step from wiki link?
https://support.criticallink.com/redmine/projects/arm9-platforms/wiki/SysLink_Configuration
> U-Boot > editenv bootargs
> ...
I am using 256MB DDR memory and ...
07/14/2017
- DG 08:27 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Big memory leak
- Hi Ahmed,
Interesting. I don't believe there is a guarantee by the C standard as far as placement of memory. Each implementation may vary in the mechanics as long as the end result is a block of memory of at least the size requested. ... - Hi all,
I have a series problem with memory on ompl138, that the program.
#include <stdio.h>
#include <stdlib.h>
int main()
{
FILE *file;
int *var1,*var2,*var3;
int *data=(int *)malloc(1*sizeof(int));
*data=5;
file=fopen(... - JC 01:52 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: SPI interface for ADC5560 (MityDSP L138F)
- > Thanks for your explanation Jonathan.
> ...
I would create the SD card first. Then update the uImage in the boot folder.
> 2) As I followed
> ...
The kernel_modules directory should have the full path for the modules. So
you can copy ... - VP 09:09 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: SPI interface for ADC5560 (MityDSP L138F)
- Thanks for your explanation Jonathan.
Please guide for below queries.
1) As we are preparing SD card for Linux kernel and its file system from the \MDK_2014-01-13\fs\mityomap-full. As per my understanding I have to overwrite gene...
07/13/2017
- HB 03:29 PM MitySOM-5CSX Altera Cyclone V FPGA Development: RE: I2C Controller
- Thank you, this was resolved, turned out to be a problem with our build scripts.
- JC 02:11 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: SPI interface for ADC5560 (MityDSP L138F)
- Vivek Ponnani wrote:
> Hello,
> ...
Here we see the kernel you are building is located at ~/projects/linux-davinci.
>
> ...
But here you are referencing a different kernel. You need to use the same kernel as above.
make -C ~/projec... - VP 11:01 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: SPI interface for ADC5560 (MityDSP L138F)
- Vivek Ponnani wrote:
> Hi,
> ...
Hello,
As I have a problem to set up the ADC with SPI interface through ARM, I found that I have to recompile kernel to support analog expansion suite from the page
https://support.criticallink.co...
07/12/2017
- TI 12:06 PM MitySOM-5CSX Altera Cyclone V FPGA Development: RE: I2C Controller
- Harrison
Whenever you change anything to do with HPS pin assignments, you will need to rebuild the preloader and update it on the boot media (SD card or ROM)
https://support.criticallink.com/redmine/projects/mityarm-5cs/wiki/Building...
07/11/2017
- Hello,
Unsure whether to post this under the software or FPGA topic.
We are transitioning from a mostly working system developed on the Mitysom5CSX Devkit to a custom carrier board design (Cyclone V, 5CSX-H6-4YA-RC). In the previou...
07/04/2017
- TI 03:13 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Accessing NOR flash from Linux on 5CSX
- We have a wiki page relating to using the quad spi NOR [primarily centered around booting from NOR]
(https://support.criticallink.com/redmine/projects/mityarm-5cs/wiki/Utilizing_QSPI_NOR_Memory).
The bulk of it is standard linux mtd s... - BK 08:10 AM MitySOM-5CSX Altera Cyclone V Software Development: RE: Accessing NOR flash from Linux on 5CSX
- Thanks Tim, that's good news.
Is there any specific doc. for the 5CSZ build? e.g. driver name, build instructions, code location, etc. Any examples kicking about? Do you know if anybody has tried this on the 5CSX?
Kind regards...
07/03/2017
- AH 07:36 PM MityDSP-L138 (ARM9 Based Platforms) PCB Development: RE: Analog input and outpur
- Thank you for your answer Alex,
We will try to use Analog Expansion Kit provided by Critical Link.
btw do you have the 3D step file for the carrier kit (The Industrial IO Development Kit)?
we need that to design our enclosure.
... - TI 05:22 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Accessing NOR flash from Linux on 5CSX
- Bruce
Linux has excellent support for NOR flash devices using the mtd subsytem
http://www.linux-mtd.infradead.org/
You can read/write the device (or partition on the device) as a block or install a filesystem (such as jffs or ubifs) o... - Our project is currently in the design phase and we are considering using a small amount of NOR flash to read and write some information.
The question is whether there are built in Linux drivers to do this?
We only have a small amo...